ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4HcalDetector.h>
Public Member Functions | |
PHG4HcalDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam, const int layer=0) | |
constructor | |
~PHG4HcalDetector (void) override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | SetRadius (const G4double dbl) |
void | SetLength (const G4double dbl) |
void | SetPosition (const G4double x, const G4double y, const G4double z) |
void | SetTilt (const double tilt) |
void | SetScintWidth (const double wid) |
void | SetNumScint (const int num) |
void | SetScintPhi0 (const G4double phi0) |
void | SetThickness (const G4double dbl) |
void | SetMaterial (const std::string &mat) |
void | SetActive (const int i=1) |
void | SetAbsorberActive (const int i=1) |
void | SetDetectorType (const std::string &typ) |
int | IsInCylinderActive (const G4VPhysicalVolume *) |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
int | get_Layer () const |
G4UserSteppingAction * | GetSteppingAction () override |
void | Print (const std::string &what="ALL") const override |
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 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 () |
Static Public Attributes | |
static int | INACTIVE = -100 |
Private Member Functions | |
double | GetLength (const double phi) const |
Private Attributes | |
G4Material * | TrackerMaterial |
G4double | TrackerThickness |
G4LogicalVolume * | cylinder_logic |
G4VPhysicalVolume * | cylinder_physi |
std::map< const G4VPhysicalVolume *, int > | box_vol |
G4double | radius |
G4double | length |
G4double | xpos |
G4double | ypos |
G4double | zpos |
G4double | _sciTilt |
G4double | _sciWidth |
G4int | _sciNum |
G4double | _sciPhi0 |
G4Region * | _region |
std::string | material |
int | active |
int | absorberactive |
int | layer |
std::string | detector_type |
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 22 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4HcalDetector.h
PHG4HcalDetector::PHG4HcalDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
const std::string & | dnam, | ||
const int | layer = 0 |
||
) |
constructor
Definition at line 52 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 52 of file PHG4HcalDetector.cc
|
inlineoverride |
destructor
Definition at line 29 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4HcalDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 91 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 91 of file PHG4HcalDetector.cc
References _sciNum, _sciPhi0, _sciTilt, _sciWidth, a, A(), active, PHG4CylinderGeomContainer::AddLayerGeom(), PHCompositeNode::addNode(), B(), box_vol, C(), cm, cylinder_logic, cylinder_physi, D(), deg, detector_type, PHNodeIterator::findFirst(), PHG4Detector::GetDetectorMaterial(), PHG4Utils::GetLengthForRapidityCoverage(), PHG4Detector::GetName(), G4Colour::Grey(), layer, length, M_PI, material, PHG4Detector::OverlapCheck(), phi, r1, r2, radius, CLHEP::HepRotation::rotateZ(), PHG4Utils::SetColour(), G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), superdetector, PHG4Detector::topNode(), TrackerMaterial, TrackerThickness, twopi, Acts::UnitConstants::u, v1, v2, v3, v4, x1, x2, x3, x4, xpos, y1, y2, y3, y4, ypos, zero, and zpos.
|
inline |
Definition at line 58 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4HcalDetector.h
References layer.
Referenced by PHG4HcalSteppingAction::UserSteppingAction().
|
private |
Definition at line 261 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 261 of file PHG4HcalDetector.cc
References a, alpha, b, c, M_PI, phi, radius, and TrackerThickness.
|
inlineoverridevirtual |
Reimplemented from PHG4Detector.
Definition at line 59 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4HcalDetector.h
References _region, and G4Region::GetRegionalSteppingAction().
int PHG4HcalDetector::IsInCylinderActive | ( | const G4VPhysicalVolume * | volume | ) |
Definition at line 76 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 76 of file PHG4HcalDetector.cc
References absorberactive, active, box_vol, cylinder_physi, and INACTIVE.
Referenced by PHG4HcalSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 272 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 272 of file PHG4HcalDetector.cc
References radius.
Referenced by PHG4HcalSubsystem::Print().
Definition at line 53 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4HcalDetector.h
References absorberactive.
Referenced by PHG4HcalSubsystem::InitRun().
Definition at line 52 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4HcalDetector.h
References active.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 54 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4HcalDetector.h
References detector_type, and pyG4ProcessManager::typ.
Definition at line 37 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4HcalDetector.h
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 51 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4HcalDetector.h
Referenced by PHG4HcalSubsystem::InitRun().
Definition at line 47 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4HcalDetector.h
Referenced by PHG4HcalSubsystem::InitRun().
Definition at line 38 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4HcalDetector.h
References cm, xpos, ypos, and zpos.
Referenced by PHG4HcalSubsystem::InitRun().
Definition at line 36 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4HcalDetector.h
Referenced by PHG4HcalSubsystem::InitRun().
Definition at line 48 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4HcalDetector.h
References _sciPhi0.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 46 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4HcalDetector.h
Referenced by PHG4HcalSubsystem::InitRun().
Definition at line 50 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4HcalDetector.h
References cm, and TrackerThickness.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 45 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4HcalDetector.h
References _sciTilt.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 56 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4HcalDetector.h
References superdetector.
Referenced by PHG4HcalSubsystem::InitRun(), and PHG4HcalSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 57 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4HcalDetector.h
References superdetector.
|
private |
Definition at line 87 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4HcalDetector.h
Referenced by GetSteppingAction().
|
private |
Definition at line 85 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SetNumScint().
|
private |
Definition at line 86 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 86 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SetScintPhi0().
|
private |
Definition at line 83 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SetTilt().
|
private |
Definition at line 84 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SetScintWidth().
|
private |
Definition at line 90 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4HcalDetector.h
Referenced by IsInCylinderActive(), and SetAbsorberActive().
|
private |
Definition at line 89 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4HcalDetector.h
Referenced by ConstructMe(), IsInCylinderActive(), and SetActive().
|
private |
Definition at line 78 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and IsInCylinderActive().
|
private |
Definition at line 76 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4HcalDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 77 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and IsInCylinderActive().
|
private |
Definition at line 92 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 92 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SetDetectorType().
|
static |
Definition at line 69 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 69 of file PHG4HcalDetector.h
Referenced by IsInCylinderActive(), and PHG4HcalSteppingAction::UserSteppingAction().
|
private |
Definition at line 91 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 91 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and get_Layer().
|
private |
Definition at line 81 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 81 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SetLength().
|
private |
Definition at line 88 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 88 of file PHG4HcalDetector.h
Referenced by emcalc_gui.MainWindow::cb_select_material(), emcalc_gui.MainWindow::cb_show_plot(), ConstructMe(), and SetMaterial().
|
private |
Definition at line 80 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 80 of file PHG4HcalDetector.h
Referenced by ConstructMe(), GetLength(), Print(), and SetRadius().
|
private |
Definition at line 93 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 93 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SuperDetector().
|
private |
Definition at line 73 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 73 of file PHG4HcalDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 74 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4HcalDetector.h
Referenced by ConstructMe(), GetLength(), and SetThickness().
|
private |
Definition at line 82 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SetPosition().
|
private |
Definition at line 82 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SetPosition().
|
private |
Definition at line 82 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4HcalDetector.h
Referenced by ConstructMe(), and SetPosition().