Analysis Software
Documentation for sPHENIX simulation software
|
#include <prototype/blob/master/simulation/g4simulation/g4caloprototype/PHG4HcalPrototypeSubsystem.h>
Public Member Functions | |
PHG4HcalPrototypeSubsystem (const std::string &name="BLOCK", const int layer=0) | |
constructor | |
virtual | ~PHG4HcalPrototypeSubsystem (void) |
destructor | |
int | Init (PHCompositeNode *) |
init | |
int | process_event (PHCompositeNode *) |
event processing | |
virtual PHG4Detector * | GetDetector (void) const |
accessors (reimplemented) | |
virtual PHG4SteppingAction * | GetSteppingAction (void) const |
return pointer to this subsystem stepping action | |
void | SetYRot (const G4double dbl) |
void | SetZRot (const G4double dbl) |
void | SetMaterial (const std::string &mat) |
PHG4EventAction * | GetEventAction () const |
return pointer to this subsystem event action | |
void | SetActive (const int i=1) |
void | SetAbsorberActive (const int i=1) |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () |
void | BlackHole (const int i=1) |
Public Member Functions inherited from PHG4Subsystem | |
PHG4Subsystem (const std::string &name="Generic Subsystem") | |
constructor | |
~PHG4Subsystem (void) override | |
destructor | |
virtual int | process_after_geant (PHCompositeNode *) |
event processing | |
virtual PHG4TrackingAction * | GetTrackingAction (void) const |
return pointer to this subsystem stepping action | |
virtual PHG4DisplayAction * | GetDisplayAction () const |
return pointer to this subsystem display setting | |
virtual PHG4StackingAction * | GetStackingAction () const |
void | OverlapCheck (const bool chk=true) |
bool | CheckOverlap () const |
void | SetMotherSubsystem (PHG4Subsystem *subsys) |
PHG4Subsystem * | GetMotherSubsystem () const |
void | SetLogicalVolume (G4LogicalVolume *vol) |
G4LogicalVolume * | GetLogicalVolume () const |
virtual bool | CanBeMotherSubsystem () const |
virtual void | AddProcesses (G4ParticleDefinition *) |
virtual void | DefineMaterials () |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | InitRun (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Private Attributes | |
PHG4HcalPrototypeDetector * | detector_ |
detector geometry | |
PHG4HcalPrototypeSteppingAction * | steppingAction_ |
particle tracking "stepping" action | |
PHG4EventAction * | eventAction_ |
G4double | dimension [3] |
G4double | rot_in_y |
G4double | rot_in_z |
G4String | material |
int | active |
int | absorberactive |
int | layer |
int | blackhole |
std::string | detector_type |
std::string | superdetector |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 23 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4HcalPrototypeSubsystem.h
PHG4HcalPrototypeSubsystem::PHG4HcalPrototypeSubsystem | ( | const std::string & | name = "BLOCK" , |
const int | layer = 0 |
||
) |
constructor
Definition at line 28 of file PHG4HcalPrototypeSubsystem.cc.
View newest version in sPHENIX GitHub at line 28 of file PHG4HcalPrototypeSubsystem.cc
References Acts::UnitConstants::cm, dimension, i, and Fun4AllBase::Name().
|
inlinevirtual |
destructor
Definition at line 32 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4HcalPrototypeSubsystem.h
|
inline |
Definition at line 64 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4HcalPrototypeSubsystem.h
|
virtual |
accessors (reimplemented)
Reimplemented from PHG4Subsystem.
Definition at line 129 of file PHG4HcalPrototypeSubsystem.cc.
View newest version in sPHENIX GitHub at line 129 of file PHG4HcalPrototypeSubsystem.cc
References detector_.
|
inlinevirtual |
return pointer to this subsystem event action
Reimplemented from PHG4Subsystem.
Definition at line 58 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4HcalPrototypeSubsystem.h
References eventAction_.
|
virtual |
return pointer to this subsystem stepping action
Reimplemented from PHG4Subsystem.
Definition at line 135 of file PHG4HcalPrototypeSubsystem.cc.
View newest version in sPHENIX GitHub at line 135 of file PHG4HcalPrototypeSubsystem.cc
References steppingAction_.
|
virtual |
init
creates the detector_ object and place it on the node tree, under "DETECTORS" node (or whatever) reates the stepping action and place it on the node tree, under "ACTIONS" node creates relevant hit nodes that will be populated by the stepping action and stored in the output DST
Reimplemented from SubsysReco.
Definition at line 56 of file PHG4HcalPrototypeSubsystem.cc.
View newest version in sPHENIX GitHub at line 56 of file PHG4HcalPrototypeSubsystem.cc
References absorberactive, active, PHCompositeNode::addNode(), PHG4HcalPrototypeDetector::BlackHole(), blackhole, PHG4Subsystem::CheckOverlap(), detector_, detector_type, eventAction_, PHNodeIterator::findFirst(), layer, Fun4AllBase::Name(), PHG4Detector::OverlapCheck(), rot_in_y, rot_in_z, PHG4HcalPrototypeDetector::SetAbsorberActive(), PHG4HcalPrototypeDetector::SetActive(), PHG4HcalPrototypeDetector::SetYRot(), PHG4HcalPrototypeDetector::SetZRot(), steppingAction_, PHG4HcalPrototypeDetector::SuperDetector(), and superdetector.
|
virtual |
event processing
get all relevant nodes from top nodes (namely hit list) and pass that to the stepping action
Reimplemented from SubsysReco.
Definition at line 117 of file PHG4HcalPrototypeSubsystem.cc.
View newest version in sPHENIX GitHub at line 117 of file PHG4HcalPrototypeSubsystem.cc
References PHG4HcalPrototypeSteppingAction::SetInterfacePointers(), and steppingAction_.
|
inline |
Definition at line 60 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 60 of file PHG4HcalPrototypeSubsystem.h
References absorberactive, and i.
|
inline |
Definition at line 59 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4HcalPrototypeSubsystem.h
|
inline |
Definition at line 57 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4HcalPrototypeSubsystem.h
References material.
|
inline |
Definition at line 54 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4HcalPrototypeSubsystem.h
References rot_in_y.
|
inline |
Definition at line 55 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4HcalPrototypeSubsystem.h
References rot_in_z.
|
inline |
Definition at line 61 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 61 of file PHG4HcalPrototypeSubsystem.h
References perf_headwind::name, and superdetector.
|
inline |
Definition at line 62 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4HcalPrototypeSubsystem.h
References superdetector.
|
private |
Definition at line 82 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4HcalPrototypeSubsystem.h
Referenced by Init(), and SetAbsorberActive().
|
private |
Definition at line 81 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 81 of file PHG4HcalPrototypeSubsystem.h
Referenced by Init(), and SetActive().
|
private |
Definition at line 84 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4HcalPrototypeSubsystem.h
Referenced by BlackHole(), and Init().
|
private |
detector geometry
defives from PHG4Detector
Definition at line 70 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4HcalPrototypeSubsystem.h
Referenced by GetDetector(), and Init().
|
private |
Definition at line 85 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4HcalPrototypeSubsystem.h
Referenced by Init().
|
private |
Definition at line 76 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4HcalPrototypeSubsystem.h
Referenced by PHG4HcalPrototypeSubsystem().
|
private |
Definition at line 75 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4HcalPrototypeSubsystem.h
Referenced by GetEventAction(), and Init().
|
private |
Definition at line 83 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4HcalPrototypeSubsystem.h
Referenced by Init().
|
private |
Definition at line 80 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 80 of file PHG4HcalPrototypeSubsystem.h
Referenced by SetMaterial().
|
private |
Definition at line 77 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4HcalPrototypeSubsystem.h
|
private |
Definition at line 78 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4HcalPrototypeSubsystem.h
|
private |
particle tracking "stepping" action
derives from PHG4SteppingActions
Definition at line 74 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4HcalPrototypeSubsystem.h
Referenced by GetSteppingAction(), Init(), and process_event().
|
private |
Definition at line 86 of file PHG4HcalPrototypeSubsystem.h.
View newest version in sPHENIX GitHub at line 86 of file PHG4HcalPrototypeSubsystem.h
Referenced by Init(), and SuperDetector().