Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4CEmcTestBeamSubsystem.h>
Public Member Functions | |
PHG4CEmcTestBeamSubsystem (const std::string &name="BLOCK", const int layer=0) | |
constructor | |
~PHG4CEmcTestBeamSubsystem (void) override | |
destructor | |
int | Init (PHCompositeNode *) override |
init | |
int | process_event (PHCompositeNode *) override |
event processing | |
PHG4Detector * | GetDetector (void) const override |
accessors (reimplemented) | |
PHG4SteppingAction * | GetSteppingAction (void) const override |
return pointer to this subsystem stepping action | |
void | SetSize (const G4double sizex, const G4double sizey, const G4double sizez) |
void | SetPlaceZ (const G4double dbl) |
void | SetPlace (const G4double place_x, const G4double place_y, const G4double place_z) |
void | SetXRot (const G4double dbl) |
void | SetYRot (const G4double dbl) |
void | SetZRot (const G4double dbl) |
PHG4EventAction * | GetEventAction () const override |
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 | |
PHG4CEmcTestBeamDetector * | detector_ |
detector geometry | |
PHG4CEmcTestBeamSteppingAction * | steppingAction_ |
particle tracking "stepping" action | |
PHG4EventAction * | eventAction_ |
G4double | dimension [3] |
G4double | place_in_x |
G4double | place_in_y |
G4double | place_in_z |
G4double | rot_in_x |
G4double | rot_in_y |
G4double | rot_in_z |
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 19 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 19 of file PHG4CEmcTestBeamSubsystem.h
PHG4CEmcTestBeamSubsystem::PHG4CEmcTestBeamSubsystem | ( | const std::string & | name = "BLOCK" , |
const int | layer = 0 |
||
) |
constructor
Definition at line 28 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 28 of file PHG4CEmcTestBeamSubsystem.cc
References Acts::UnitConstants::cm, dimension, i, and Fun4AllBase::Name().
|
inlineoverride |
destructor
Definition at line 26 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4CEmcTestBeamSubsystem.h
|
inline |
Definition at line 66 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4CEmcTestBeamSubsystem.h
|
overridevirtual |
accessors (reimplemented)
Reimplemented from PHG4Subsystem.
Definition at line 133 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 133 of file PHG4CEmcTestBeamSubsystem.cc
References detector_.
|
inlineoverridevirtual |
return pointer to this subsystem event action
Reimplemented from PHG4Subsystem.
Definition at line 60 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 60 of file PHG4CEmcTestBeamSubsystem.h
References eventAction_.
|
overridevirtual |
return pointer to this subsystem stepping action
Reimplemented from PHG4Subsystem.
Definition at line 139 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 139 of file PHG4CEmcTestBeamSubsystem.cc
References steppingAction_.
|
overridevirtual |
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 58 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 58 of file PHG4CEmcTestBeamSubsystem.cc
References absorberactive, active, PHCompositeNode::addNode(), PHG4CEmcTestBeamDetector::BlackHole(), blackhole, PHG4Subsystem::CheckOverlap(), detector_, detector_type, eventAction_, PHNodeIterator::findFirst(), layer, Fun4AllBase::Name(), PHG4Detector::OverlapCheck(), place_in_x, place_in_y, place_in_z, rot_in_x, rot_in_y, rot_in_z, PHG4CEmcTestBeamDetector::SetAbsorberActive(), PHG4CEmcTestBeamDetector::SetActive(), PHG4CEmcTestBeamDetector::SetPlace(), PHG4CEmcTestBeamDetector::SetXRot(), PHG4CEmcTestBeamDetector::SetYRot(), PHG4CEmcTestBeamDetector::SetZRot(), steppingAction_, PHG4CEmcTestBeamDetector::SuperDetector(), and superdetector.
|
overridevirtual |
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 121 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 121 of file PHG4CEmcTestBeamSubsystem.cc
References PHG4CEmcTestBeamSteppingAction::SetInterfacePointers(), and steppingAction_.
|
inline |
Definition at line 62 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4CEmcTestBeamSubsystem.h
References absorberactive, and i.
|
inline |
Definition at line 61 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 61 of file PHG4CEmcTestBeamSubsystem.h
void PHG4CEmcTestBeamSubsystem::SetPlace | ( | const G4double | place_x, |
const G4double | place_y, | ||
const G4double | place_z | ||
) |
Definition at line 144 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 144 of file PHG4CEmcTestBeamSubsystem.cc
References Acts::UnitConstants::cm, place_in_x, place_in_y, and place_in_z.
void PHG4CEmcTestBeamSubsystem::SetPlaceZ | ( | const G4double | dbl | ) |
Definition at line 151 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 151 of file PHG4CEmcTestBeamSubsystem.cc
References Acts::UnitConstants::cm, and place_in_z.
|
inline |
Definition at line 49 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4CEmcTestBeamSubsystem.h
References dimension.
void PHG4CEmcTestBeamSubsystem::SetXRot | ( | const G4double | dbl | ) |
Definition at line 156 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 156 of file PHG4CEmcTestBeamSubsystem.cc
void PHG4CEmcTestBeamSubsystem::SetYRot | ( | const G4double | dbl | ) |
Definition at line 161 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 161 of file PHG4CEmcTestBeamSubsystem.cc
void PHG4CEmcTestBeamSubsystem::SetZRot | ( | const G4double | dbl | ) |
Definition at line 166 of file PHG4CEmcTestBeamSubsystem.cc.
View newest version in sPHENIX GitHub at line 166 of file PHG4CEmcTestBeamSubsystem.cc
|
inline |
Definition at line 63 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 63 of file PHG4CEmcTestBeamSubsystem.h
References perf_headwind::name, and superdetector.
|
inline |
Definition at line 64 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4CEmcTestBeamSubsystem.h
References superdetector.
|
private |
Definition at line 86 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 86 of file PHG4CEmcTestBeamSubsystem.h
Referenced by Init(), and SetAbsorberActive().
|
private |
Definition at line 85 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4CEmcTestBeamSubsystem.h
Referenced by Init(), and SetActive().
|
private |
Definition at line 88 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 88 of file PHG4CEmcTestBeamSubsystem.h
Referenced by BlackHole(), and Init().
|
private |
detector geometry
defives from PHG4Detector
Definition at line 71 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4CEmcTestBeamSubsystem.h
Referenced by GetDetector(), and Init().
|
private |
Definition at line 89 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4CEmcTestBeamSubsystem.h
Referenced by Init().
|
private |
Definition at line 77 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4CEmcTestBeamSubsystem.h
Referenced by PHG4CEmcTestBeamSubsystem(), and SetSize().
|
private |
Definition at line 76 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4CEmcTestBeamSubsystem.h
Referenced by GetEventAction(), and Init().
|
private |
Definition at line 87 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4CEmcTestBeamSubsystem.h
Referenced by Init().
|
private |
Definition at line 78 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4CEmcTestBeamSubsystem.h
Referenced by Init(), and SetPlace().
|
private |
Definition at line 79 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4CEmcTestBeamSubsystem.h
Referenced by Init(), and SetPlace().
|
private |
Definition at line 80 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 80 of file PHG4CEmcTestBeamSubsystem.h
Referenced by Init(), SetPlace(), and SetPlaceZ().
|
private |
Definition at line 81 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 81 of file PHG4CEmcTestBeamSubsystem.h
|
private |
Definition at line 82 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4CEmcTestBeamSubsystem.h
|
private |
Definition at line 83 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4CEmcTestBeamSubsystem.h
|
private |
particle tracking "stepping" action
derives from PHG4SteppingActions
Definition at line 75 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4CEmcTestBeamSubsystem.h
Referenced by GetSteppingAction(), Init(), and process_event().
|
private |
Definition at line 90 of file PHG4CEmcTestBeamSubsystem.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4CEmcTestBeamSubsystem.h
Referenced by Init(), and SuperDetector().