Analysis Software
Documentation for sPHENIX simulation software
|
#include <prototype/blob/master/simulation/g4simulation/g4caloprototype/PHG4HcalPrototypeDetector.h>
Public Member Functions | |
PHG4HcalPrototypeDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam, const int lyr=0) | |
constructor | |
virtual | ~PHG4HcalPrototypeDetector (void) |
destructor | |
virtual void | ConstructMe (G4LogicalVolume *world) |
construct | |
void | SetYRot (const G4double angle) |
void | SetZRot (const G4double angle) |
void | SetActive (const int i=1) |
void | SetAbsorberActive (const int i=1) |
int | IsActive () const |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
int | get_Layer () const |
void | BlackHole (const int i=1) |
int | IsBlackHole () const |
void | SetMaterial (G4String) |
void | SetOuterHcalDPhi (G4double) |
void | SetInnerHcalDPhi (G4double) |
void | SetOuterPlateTiltAngle (G4double) |
void | SetInnerPlateTiltAngle (G4double) |
void | UpdateGeometry () |
volume accessors | |
int | IsInHcalPrototype (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 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 () |
Private Member Functions | |
void | CalculateGeometry () |
void | DefineMaterials () |
G4VPhysicalVolume * | ConstructDetector () |
void | SetTiltViaNcross (const int ncross) |
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 27 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4HcalPrototypeDetector.h
PHG4HcalPrototypeDetector::PHG4HcalPrototypeDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
const std::string & | dnam, | ||
const int | lyr = 0 |
||
) |
constructor
Definition at line 39 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 39 of file PHG4HcalPrototypeDetector.cc
References fDetectorMessenger.
|
inlinevirtual |
destructor
Definition at line 34 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4HcalPrototypeDetector.h
|
inline |
Definition at line 56 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4HcalPrototypeDetector.h
Referenced by PHG4HcalPrototypeSubsystem::Init().
|
private |
Definition at line 623 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 623 of file PHG4HcalPrototypeDetector.cc
|
private |
Definition at line 142 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 142 of file PHG4HcalPrototypeDetector.cc
References Acts::UnitConstants::cm, deg, hcal1Abs_dxa, hcal1Abs_dya, hcal1Abs_dyb, hcal1Abs_dz, hcal1DPhi, hcal1RadiusIn, hcal1ScintSizeX, hcal1ScintSizeY, hcal1ScintSizeZ, hcal1TiltAngle, hcal2Abs_dxa, hcal2Abs_dya, hcal2Abs_dyb, hcal2Abs_dz, hcal2DPhi, hcal2RadiusIn, hcal2ScintSizeX, hcal2ScintSizeY, hcal2ScintSizeZ, hcal2TiltAngle, hcalBoxRotationAngle_y, hcalBoxRotationAngle_z, hcalBoxSizeX, hcalBoxSizeY, hcalBoxSizeZ, hcalJunctionSizeX, hcalJunctionSizeY, hcalJunctionSizeZ, logicHcal1AbsLayer, logicHcal1ScintLayer, logicHcal2AbsLayer, logicHcal2ScintLayer, logicHcalBox, logicWorld, Acts::UnitConstants::mm, nHcal1Layers, nHcal2Layers, physiHcalBox, physiWorld, Acts::UnitConstants::rad, scint_mat, solidHcalBox, steel, ActsTests::PropagationDatasets::theta, Acts::Test::transform, and world_mat.
Referenced by ConstructMe(), and UpdateGeometry().
|
virtual |
construct
Implements PHG4Detector.
Definition at line 118 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 118 of file PHG4HcalPrototypeDetector.cc
References ConstructDetector(), DefineMaterials(), and logicWorld.
|
private |
Definition at line 127 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 127 of file PHG4HcalPrototypeDetector.cc
References scint_mat, steel, and world_mat.
Referenced by ConstructMe().
|
inline |
Definition at line 54 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4HcalPrototypeDetector.h
References layer.
|
inline |
Definition at line 51 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4HcalPrototypeDetector.h
References active.
Referenced by PHG4HcalPrototypeSteppingAction::UserSteppingAction().
|
inline |
Definition at line 57 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4HcalPrototypeDetector.h
References blackhole.
Referenced by PHG4HcalPrototypeSteppingAction::UserSteppingAction().
int PHG4HcalPrototypeDetector::IsInHcalPrototype | ( | G4VPhysicalVolume * | ) | const |
Definition at line 113 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 113 of file PHG4HcalPrototypeDetector.cc
|
inline |
Definition at line 50 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4HcalPrototypeDetector.h
References absorberactive, and i.
Referenced by PHG4HcalPrototypeSubsystem::Init().
|
inline |
Definition at line 49 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4HcalPrototypeDetector.h
Referenced by PHG4HcalPrototypeSubsystem::Init().
void PHG4HcalPrototypeDetector::SetInnerHcalDPhi | ( | G4double | dphi | ) |
Definition at line 702 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 702 of file PHG4HcalPrototypeDetector.cc
References INTTVtxZ::dphi, and hcal1DPhi.
Referenced by PHG4HcalPrototypeDetectorMessenger::SetNewValue().
void PHG4HcalPrototypeDetector::SetInnerPlateTiltAngle | ( | G4double | dtheta | ) |
Definition at line 708 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 708 of file PHG4HcalPrototypeDetector.cc
References hcal1TiltAngle.
Referenced by PHG4HcalPrototypeDetectorMessenger::SetNewValue().
void PHG4HcalPrototypeDetector::SetMaterial | ( | G4String | ) |
Definition at line 630 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 630 of file PHG4HcalPrototypeDetector.cc
Referenced by PHG4HcalPrototypeDetectorMessenger::SetNewValue().
void PHG4HcalPrototypeDetector::SetOuterHcalDPhi | ( | G4double | dphi | ) |
Definition at line 690 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 690 of file PHG4HcalPrototypeDetector.cc
References INTTVtxZ::dphi, and hcal2DPhi.
Referenced by PHG4HcalPrototypeDetectorMessenger::SetNewValue().
void PHG4HcalPrototypeDetector::SetOuterPlateTiltAngle | ( | G4double | dtheta | ) |
Definition at line 696 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 696 of file PHG4HcalPrototypeDetector.cc
References hcal2TiltAngle.
Referenced by PHG4HcalPrototypeDetectorMessenger::SetNewValue().
|
private |
Definition at line 643 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 643 of file PHG4HcalPrototypeDetector.cc
References alpha, hcal1RadiusIn, hcal1ScintSizeX, hcal1TiltAngle, hcal2RadiusIn, hcal2ScintSizeX, hcal2TiltAngle, nHcal2Layers, and sign().
|
inline |
Definition at line 47 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4HcalPrototypeDetector.h
References hcalBoxRotationAngle_z, and Acts::UnitConstants::rad.
Referenced by PHG4HcalPrototypeSubsystem::Init().
|
inline |
Definition at line 48 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4HcalPrototypeDetector.h
References hcalBoxRotationAngle_y, and Acts::UnitConstants::rad.
Referenced by PHG4HcalPrototypeSubsystem::Init().
|
inline |
Definition at line 52 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4HcalPrototypeDetector.h
References perf_headwind::name, and superdetector.
Referenced by PHG4HcalPrototypeSubsystem::Init(), and PHG4HcalPrototypeSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 53 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4HcalPrototypeDetector.h
References superdetector.
void PHG4HcalPrototypeDetector::UpdateGeometry | ( | ) |
Definition at line 636 of file PHG4HcalPrototypeDetector.cc.
View newest version in sPHENIX GitHub at line 636 of file PHG4HcalPrototypeDetector.cc
References ConstructDetector().
Referenced by PHG4HcalPrototypeDetectorMessenger::SetNewValue().
|
private |
Definition at line 115 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 115 of file PHG4HcalPrototypeDetector.h
Referenced by SetAbsorberActive().
|
private |
Definition at line 114 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 114 of file PHG4HcalPrototypeDetector.h
Referenced by IsActive(), and SetActive().
|
private |
Definition at line 117 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 117 of file PHG4HcalPrototypeDetector.h
Referenced by BlackHole(), and IsBlackHole().
|
private |
Definition at line 118 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 118 of file PHG4HcalPrototypeDetector.h
|
private |
Definition at line 112 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 112 of file PHG4HcalPrototypeDetector.h
Referenced by PHG4HcalPrototypeDetector().
|
private |
Definition at line 89 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 89 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4HcalPrototypeDetector.h
|
private |
Definition at line 90 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 90 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 91 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 91 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 78 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and SetInnerHcalDPhi().
|
private |
Definition at line 81 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 81 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and SetTiltViaNcross().
|
private |
Definition at line 75 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and SetTiltViaNcross().
|
private |
Definition at line 75 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 75 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 76 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), SetInnerPlateTiltAngle(), and SetTiltViaNcross().
|
private |
Definition at line 85 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 85 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4HcalPrototypeDetector.h
|
private |
Definition at line 86 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 86 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 86 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 86 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 87 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 79 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and SetOuterHcalDPhi().
|
private |
Definition at line 82 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and SetTiltViaNcross().
|
private |
Definition at line 74 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and SetTiltViaNcross().
|
private |
Definition at line 74 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 74 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 77 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), SetOuterPlateTiltAngle(), and SetTiltViaNcross().
|
private |
Definition at line 83 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and SetZRot().
|
private |
Definition at line 83 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and SetYRot().
|
private |
Definition at line 83 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 83 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 83 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 93 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 93 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 93 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 93 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 93 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 93 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 116 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 116 of file PHG4HcalPrototypeDetector.h
Referenced by get_Layer().
|
private |
Definition at line 103 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 103 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 102 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 102 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 103 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 103 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 102 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 102 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 98 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 98 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 96 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 96 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and ConstructMe().
|
private |
Definition at line 71 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 72 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 72 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and SetTiltViaNcross().
|
private |
Definition at line 70 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4HcalPrototypeDetector.h
|
private |
Definition at line 100 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 100 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 95 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 95 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 105 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 105 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and DefineMaterials().
|
private |
Definition at line 99 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 99 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector().
|
private |
Definition at line 105 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 105 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and DefineMaterials().
|
private |
Definition at line 119 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 119 of file PHG4HcalPrototypeDetector.h
Referenced by SuperDetector().
|
private |
Definition at line 105 of file PHG4HcalPrototypeDetector.h.
View newest version in sPHENIX GitHub at line 105 of file PHG4HcalPrototypeDetector.h
Referenced by ConstructDetector(), and DefineMaterials().