7 #include <phparameter/PHParameters.h>
14 #include <Geant4/globals.hh>
24 , _steppingAction(nullptr)
41 ostringstream nodename;
42 ostringstream geonode;
50 nodename <<
"G4HIT_" <<
Name();
51 geonode <<
"BLOCKGEOM_" <<
Name();
55 PHG4HitContainer *block_hits = findNode::getClass<PHG4HitContainer>(topNode, nodename.str().c_str());
63 geonode.str().c_str());
111 void PHG4CollimatorSubsystem::SetDefaultParameters()
int InitRunSubsystem(PHCompositeNode *)
InitRunSubsystem.
PHG4Detector * GetDetector(void) const
accessors (reimplemented)
virtual void OverlapCheck(const bool chk=true)
bool CheckOverlap() const
double get_double_param(const std::string &name) const
PHNode * findFirst(const std::string &, const std::string &)
void set_default_double_param(const std::string &name, const double dval)
PHBoolean addNode(PHNode *)
int process_event(PHCompositeNode *)
event processing
PHG4CollimatorSubsystem(const std::string &name="BLOCK", const int layer=0)
constructor
void AddLayer(const unsigned int ilayer)
virtual const std::string Name() const
Returns the name of this module.
void set_default_int_param(const std::string &name, const int ival)
virtual void SetInterfacePointers(PHCompositeNode *)
int AddLayerGeom(const int i, PHG4BlockGeom *mygeom)
int get_int_param(const std::string &name) const
base class for phenix detector creation
void SuperDetector(const std::string &name)
void InitializeParameters()
void set_default_string_param(const std::string &name, const std::string &sval)
PHParameters * GetParams() const
const std::string SuperDetector() const