Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4_Aerogel.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4_Aerogel.C
1 // $Id: G4_Aerogel.C,v 1.2 2013/10/09 01:08:17 jinhuang Exp $
2 
11 void
13 {
14 
15 }
16 
17 void
18 AerogelSetup(PHG4Reco* g4Reco, const int N_Sector = 8, //
19  const double min_eta = 1.1 // 1.45
20  )
21 {
22 
24  ag = new PHG4SectorSubsystem("Aerogel");
25 
29 // ag->get_geometry().set_normal_polar_angle(0);
38  ag->get_geometry().set_material("G4_AIR");
39  ag->get_geometry().set_N_Sector(N_Sector);
41 
42  // Aerogel dimensions ins cm
43  double radiator_length = 2.;
44  double expansion_length = 10.;
45 
47  expansion_length * PHG4Sector::Sector_Geometry::Unit_cm() );
48  g4Reco->registerSubsystem(ag);
49 
50 }
51