Analysis Software
Documentation for sPHENIX simulation software
|
#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 50 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 50 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 89 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 89 of file PHG4HcalDetector.cc
References _sciNum, _sciPhi0, _sciTilt, _sciWidth, KFPMath::a, A, active, PHG4CylinderGeomContainer::AddLayerGeom(), PHCompositeNode::addNode(), box_vol, C, Acts::UnitConstants::cm, cylinder_logic, cylinder_physi, deg, detector_type, PHNodeIterator::findFirst(), PHG4Detector::GetDetectorMaterial(), PHG4Utils::GetLengthForRapidityCoverage(), PHG4Detector::GetName(), i, layer, length, material, PHG4Detector::OverlapCheck(), ActsTests::PropagationDatasets::phi, r1, r2, radius, PHG4Utils::SetColour(), superdetector, PHG4Detector::topNode(), TrackerMaterial, TrackerThickness, twopi, physmon_ckf_tracking::u, v1, v2, v3, v4, xpos, ypos, KFPMath::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().
Definition at line 259 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 259 of file PHG4HcalDetector.cc
References KFPMath::a, alpha, KFPMath::b, Acts::PhysicalConstants::c, ActsTests::PropagationDatasets::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.
int PHG4HcalDetector::IsInCylinderActive | ( | const G4VPhysicalVolume * | volume | ) |
Definition at line 74 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 74 of file PHG4HcalDetector.cc
References absorberactive, active, box_vol, cylinder_physi, and INACTIVE.
Referenced by PHG4HcalSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 270 of file PHG4HcalDetector.cc.
View newest version in sPHENIX GitHub at line 270 of file PHG4HcalDetector.cc
References radius.
Referenced by PHG4HcalSubsystem::Print().
|
inline |
Definition at line 53 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4HcalDetector.h
References absorberactive, and i.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 52 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4HcalDetector.h
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.
|
inline |
Definition at line 37 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4HcalDetector.h
References Acts::UnitConstants::cm, and length.
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
References material.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 47 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4HcalDetector.h
References _sciNum.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 38 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4HcalDetector.h
References Acts::UnitConstants::cm, xpos, ypos, and zpos.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 36 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4HcalDetector.h
References Acts::UnitConstants::cm, and radius.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
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
References _sciWidth, and Acts::UnitConstants::cm.
Referenced by PHG4HcalSubsystem::InitRun().
|
inline |
Definition at line 50 of file PHG4HcalDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4HcalDetector.h
References Acts::UnitConstants::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 perf_headwind::name, and 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 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().