File indexing completed on 2025-08-05 08:13:34
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 using namespace std;
0012
0013
0014
0015 void
0016 RICHInit()
0017 {
0018 }
0019
0020
0021
0022
0023
0024 void
0025 RICHSetup(PHG4Reco* g4Reco,
0026 const int N_RICH_Sector = 8,
0027 const double min_eta = 1.45,
0028 const double R_mirror_ref = 195,
0029 const double z_shift = 75,
0030 const double R_shift = 18.5
0031 )
0032 {
0033
0034
0035 PHG4RICHSubsystem *rich = new PHG4RICHSubsystem("RICH");
0036 rich->get_RICH_geometry().set_N_RICH_Sector(N_RICH_Sector);
0037 rich->get_RICH_geometry().set_min_eta(min_eta);
0038
0039
0040
0041 rich->get_RICH_geometry().set_R_mirror_ref(R_mirror_ref * ePHENIXRICH::RICH_Geometry::Unit_cm());
0042
0043 rich->get_RICH_geometry().set_z_shift(z_shift * ePHENIXRICH::RICH_Geometry::Unit_cm());
0044 rich->get_RICH_geometry().set_R_shift(R_shift * ePHENIXRICH::RICH_Geometry::Unit_cm());
0045
0046
0047 rich->OverlapCheck( overlapcheck );
0048
0049 g4Reco->registerSubsystem( rich );
0050
0051 }