ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4etof/PHG4ECAPToFDetector.h>
Public Member Functions | |
PHG4ECAPToFDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam="ETOF", const int lyr=0) | |
~PHG4ECAPToFDetector () override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
int | IsInToF (const G4VPhysicalVolume *) const |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
int | get_Layer () 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 void | Print (const std::string &="ALL") 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 () |
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 16 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4ECAPToFDetector.h
PHG4ECAPToFDetector::PHG4ECAPToFDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam = "ETOF" , |
||
const int | lyr = 0 |
||
) |
Definition at line 26 of file PHG4ECAPToFDetector.cc.
View newest version in sPHENIX GitHub at line 26 of file PHG4ECAPToFDetector.cc
|
inlineoverride |
destructor
Definition at line 22 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4ECAPToFDetector.h
|
overridevirtual |
Implements PHG4Detector.
Definition at line 71 of file PHG4ECAPToFDetector.cc.
View newest version in sPHENIX GitHub at line 71 of file PHG4ECAPToFDetector.cc
References G4Material::AddMaterial(), bcarbon_phys, bgas_phys, bglass_phys, bhc_phys, G4Colour::Black(), G4Colour::Blue(), bmylar_phys, bpcb_phys, bpcbcu_phys, ETOF::carbon_thick, cm, cm3, ETOF::cu_thick, deg, fcarbon_phys, fgas_phys, fglass_phys, fhc_phys, fmylar_phys, fpcb_phys, fpcbcu_phys, Acts::UnitConstants::g, ETOF::gas_gap, PHParameters::get_double_param(), PHParameters::get_int_param(), PHParameters::get_string_param(), PHG4Detector::GetDetectorMaterial(), G4Colour::Green(), ETOF::honeycomb_thick, kStateSolid, m_Params, G4Colour::Magenta(), mcarbon2_phys, mcarbon_phys, mmylar2_phys, mmylar_phys, mpcb_phys, mpcbcu2_phys, mpcbcu_phys, ETOF::mylar_thick, PHG4Detector::OverlapCheck(), ETOF::pcb_thick, Phys, G4VisAttributes::SetColor(), G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), nlohmann::to_string(), PHG4Detector::Verbosity(), G4Colour::White(), and G4Colour::Yellow().
|
inline |
Definition at line 32 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4ECAPToFDetector.h
References m_Layer.
Referenced by PHG4ECAPToFSteppingAction::UserSteppingAction().
int PHG4ECAPToFDetector::IsInToF | ( | const G4VPhysicalVolume * | volume | ) | const |
Definition at line 56 of file PHG4ECAPToFDetector.cc.
View newest version in sPHENIX GitHub at line 56 of file PHG4ECAPToFDetector.cc
References bgas_phys, fgas_phys, and m_Active.
Referenced by PHG4ECAPToFSteppingAction::UserSteppingAction().
|
inline |
Definition at line 30 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4ECAPToFDetector.h
References m_SuperDetector.
Referenced by PHG4ECAPToFSubsystem::InitRunSubsystem(), and PHG4ECAPToFSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 31 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4ECAPToFDetector.h
References m_SuperDetector.
|
private |
Definition at line 58 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 53 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe(), and IsInToF().
|
private |
Definition at line 52 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 54 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 57 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 55 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 56 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 42 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 44 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe(), and IsInToF().
|
private |
Definition at line 43 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 38 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 41 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 39 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 40 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 40 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 60 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 60 of file PHG4ECAPToFDetector.h
Referenced by IsInToF().
|
private |
Definition at line 61 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 61 of file PHG4ECAPToFDetector.h
Referenced by get_Layer().
|
private |
Definition at line 35 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 63 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 63 of file PHG4ECAPToFDetector.h
Referenced by SuperDetector().
|
private |
Definition at line 51 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 45 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 50 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 46 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 48 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 49 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 47 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 37 of file PHG4ECAPToFDetector.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4ECAPToFDetector.h
Referenced by ConstructMe().