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 PHG4BlockSubsystem::SetDefaultParameters()
virtual const std::string Name() const
Returns the name of this module.
PHBoolean addNode(PHNode *)
void SuperDetector(const std::string &name)
int AddLayerGeom(const int i, PHG4BlockGeom *mygeom)
int process_event(PHCompositeNode *)
event processing
PHG4Detector * GetDetector(void) const
accessors (reimplemented)
PHG4BlockSubsystem(const std::string &name="BLOCK", const int layer=0)
constructor
int InitRunSubsystem(PHCompositeNode *)
InitRunSubsystem.
const std::string SuperDetector() const
void set_default_double_param(const std::string &name, const double dval)
void set_default_string_param(const std::string &name, const std::string &sval)
bool CheckOverlap() const
double get_double_param(const std::string &name) const
PHParameters * GetParams() const
int get_int_param(const std::string &name) const
void InitializeParameters()
void set_default_int_param(const std::string &name, const int ival)
base class for phenix detector creation
virtual void OverlapCheck(const bool chk=true)
void AddLayer(const unsigned int ilayer)
virtual void SetInterfacePointers(PHCompositeNode *)
PHNode * findFirst(const std::string &, const std::string &)