2 #if ROOT_VERSION_CODE >= ROOT_VERSION(6,00,0)
3 #include <g4detectors/PHG4E1039InsensSubsystem.h>
10 R__LOAD_LIBRARY(libg4detectors)
17 const bool do_collimator =
true,
18 const bool do_target =
true,
19 const bool do_e1039_shielding =
true,
20 const double target_coil_pos_z = -300,
21 const double target_l = 7.9,
22 const double target_z = 0.,
23 const int use_g4steps = 1
26 const double collimator_pos_z = target_coil_pos_z - 302.36;
87 if(do_e1039_shielding) {
88 const double inch = 2.54;
void set_int_param(const std::string &name, const int ival)
void SuperDetector(const std::string &name)
void set_double_param(const std::string &name, const double dval)
void SetupTarget(PHG4Reco *g4Reco, const double target_coil_pos_z=-300, const double target_l=7.9, const double target_z=0., const int use_g4steps=1, const int register_hits=0)
void set_string_param(const std::string &name, const std::string &sval)
void SetActive(const int i=1)
void registerSubsystem(PHG4Subsystem *subsystem)
register subsystem