ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4PSTOFDetector.h>
Public Member Functions | |
PHG4PSTOFDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParametersContainer *params_array, const std::string &dnam) | |
constructor | |
~PHG4PSTOFDetector () override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | Print (const std::string &what="ALL") const override |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
volume accessors | |
int | IsInPSTOF (G4VPhysicalVolume *) const |
Public Member Functions inherited from PHG4Detector | |
PHG4Detector ()=delete | |
constructor | |
PHG4Detector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &nam) | |
virtual | ~PHG4Detector (void) |
destructor | |
virtual void | Construct (G4LogicalVolume *world) final |
construct method | |
virtual void | PostConstruction () |
Optional PostConstruction call after all geometry is constructed. | |
virtual void | Verbosity (const int v) |
virtual int | Verbosity () const |
virtual G4UserSteppingAction * | GetSteppingAction () |
virtual std::string | GetName () const |
virtual void | OverlapCheck (const bool chk) |
virtual bool | OverlapCheck () const |
virtual int | DisplayVolume (G4VSolid *volume, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr) |
virtual int | DisplayVolume (G4LogicalVolume *checksolid, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr) |
virtual PHCompositeNode * | topNode () |
virtual PHG4Subsystem * | GetMySubsystem () |
Protected Attributes | |
int | IsActive |
int | IsAbsorberActive |
int | nmod |
int | nrows |
PHParametersContainer * | paramscontainer |
std::map< G4VPhysicalVolume *, int > | active_phys_vols |
std::string | superdetector |
Additional Inherited Members | |
Static Public Member Functions inherited from PHG4Detector | |
static G4Material * | GetDetectorMaterial (const std::string &name, const bool quit=true) |
static G4Element * | GetDetectorElement (const std::string &name, const bool quit=true) |
Definition at line 17 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4PSTOFDetector.h
PHG4PSTOFDetector::PHG4PSTOFDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParametersContainer * | params_array, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 27 of file PHG4PSTOFDetector.cc.
View newest version in sPHENIX GitHub at line 27 of file PHG4PSTOFDetector.cc
References PHParameters::get_int_param(), PHParametersContainer::GetParameters(), IsAbsorberActive, IsActive, nmod, nrows, and paramscontainer.
|
inlineoverride |
destructor
Definition at line 24 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4PSTOFDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 53 of file PHG4PSTOFDetector.cc.
View newest version in sPHENIX GitHub at line 53 of file PHG4PSTOFDetector.cc
References active_phys_vols, G4Colour::Blue(), cm, PHParameters::get_double_param(), PHG4Detector::GetDetectorMaterial(), PHParametersContainer::GetParameters(), IsActive, M_PI, nmod, nrows, PHG4Detector::OverlapCheck(), paramscontainer, phi, r, CLHEP::HepRotation::rotateY(), CLHEP::HepRotation::rotateZ(), G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), theta(), x, y, and z.
int PHG4PSTOFDetector::IsInPSTOF | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 40 of file PHG4PSTOFDetector.cc.
View newest version in sPHENIX GitHub at line 40 of file PHG4PSTOFDetector.cc
References active_phys_vols.
Referenced by PHG4PSTOFSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 110 of file PHG4PSTOFDetector.cc.
View newest version in sPHENIX GitHub at line 110 of file PHG4PSTOFDetector.cc
Referenced by PHG4PSTOFSubsystem::Print().
|
inline |
Definition at line 36 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4PSTOFDetector.h
References superdetector.
Referenced by PHG4PSTOFSubsystem::InitRunSubsystem(), and PHG4PSTOFSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 37 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4PSTOFDetector.h
References superdetector.
|
protected |
Definition at line 45 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4PSTOFDetector.h
Referenced by ConstructMe(), and IsInPSTOF().
|
protected |
Definition at line 41 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4PSTOFDetector.h
Referenced by PHG4PSTOFDetector().
|
protected |
Definition at line 40 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 40 of file PHG4PSTOFDetector.h
Referenced by ConstructMe(), and PHG4PSTOFDetector().
|
protected |
Definition at line 42 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4PSTOFDetector.h
Referenced by ConstructMe(), and PHG4PSTOFDetector().
|
protected |
Definition at line 43 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4PSTOFDetector.h
Referenced by ConstructMe(), and PHG4PSTOFDetector().
|
protected |
Definition at line 44 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4PSTOFDetector.h
Referenced by ConstructMe(), and PHG4PSTOFDetector().
|
protected |
Definition at line 47 of file PHG4PSTOFDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4PSTOFDetector.h
Referenced by SuperDetector().