ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4EnvelopeDetector.h>
Public Member Functions | |
PHG4EnvelopeDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam) | |
~PHG4EnvelopeDetector () override | |
void | ConstructMe (G4LogicalVolume *world) override |
bool | IsInEnvelope (G4VPhysicalVolume *) const |
void | SetPlace (G4double place_in_x, G4double place_in_y, G4double place_in_z) |
void | SetInnerRadius (G4double radius) |
void | SetOuterRadius (G4double radius) |
void | SetCylinderLength (G4double length) |
void | SetActive (const int i=1) |
int | IsActive () 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 () |
Private Attributes | |
G4double | _placeInX |
G4double | _placeInY |
G4double | _placeInZ |
G4double | _innerRadius |
G4double | _outerRadius |
G4double | _dZ |
G4double | _dZ_cyl |
G4double | _sPhi |
G4double | _dPhi |
G4String | _materialCrystal |
int | _active |
int | _layer |
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 18 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4EnvelopeDetector.h
PHG4EnvelopeDetector::PHG4EnvelopeDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
const std::string & | dnam | ||
) |
Definition at line 29 of file PHG4EnvelopeDetector.cc.
View newest version in sPHENIX GitHub at line 29 of file PHG4EnvelopeDetector.cc
|
inlineoverride |
Definition at line 25 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4EnvelopeDetector.h
|
overridevirtual |
Implements PHG4Detector.
Definition at line 60 of file PHG4EnvelopeDetector.cc.
View newest version in sPHENIX GitHub at line 60 of file PHG4EnvelopeDetector.cc
References _dPhi, _dZ, _dZ_cyl, _innerRadius, _outerRadius, _placeInX, _placeInY, _placeInZ, _sPhi, PHG4Detector::GetDetectorMaterial(), G4Colour::Magenta(), mm, PHG4Detector::OverlapCheck(), CLHEP::HepRotation::rotateX(), CLHEP::HepRotation::rotateY(), CLHEP::HepRotation::rotateZ(), G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().
|
inline |
Definition at line 50 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4EnvelopeDetector.h
References _layer.
Referenced by PHG4EnvelopeSteppingAction::UserSteppingAction().
|
inline |
Definition at line 45 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4EnvelopeDetector.h
References _active.
Referenced by PHG4EnvelopeSteppingAction::UserSteppingAction().
bool PHG4EnvelopeDetector::IsInEnvelope | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 48 of file PHG4EnvelopeDetector.cc.
View newest version in sPHENIX GitHub at line 48 of file PHG4EnvelopeDetector.cc
References G4VPhysicalVolume::GetName().
Referenced by PHG4EnvelopeSteppingAction::UserSteppingAction().
Definition at line 44 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4EnvelopeDetector.h
References _active.
Referenced by PHG4EnvelopeSubsystem::Init().
Definition at line 42 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4EnvelopeDetector.h
References _dZ_cyl, and BTOF::length.
Definition at line 40 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 40 of file PHG4EnvelopeDetector.h
References _innerRadius, and radius.
Definition at line 41 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4EnvelopeDetector.h
References _outerRadius, and radius.
|
inline |
Definition at line 33 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4EnvelopeDetector.h
|
inline |
Definition at line 47 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4EnvelopeDetector.h
References _superdetector.
Referenced by PHG4EnvelopeSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 48 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4EnvelopeDetector.h
References _superdetector.
|
private |
Definition at line 65 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4EnvelopeDetector.h
Referenced by IsActive(), and SetActive().
|
private |
Definition at line 61 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 61 of file PHG4EnvelopeDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 58 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4EnvelopeDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 59 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4EnvelopeDetector.h
Referenced by ConstructMe(), and SetCylinderLength().
|
private |
Definition at line 56 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4EnvelopeDetector.h
Referenced by ConstructMe(), and SetInnerRadius().
|
private |
Definition at line 66 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4EnvelopeDetector.h
Referenced by get_Layer().
|
private |
Definition at line 63 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 63 of file PHG4EnvelopeDetector.h
|
private |
Definition at line 57 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4EnvelopeDetector.h
Referenced by ConstructMe(), and SetOuterRadius().
|
private |
Definition at line 53 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4EnvelopeDetector.h
Referenced by ConstructMe(), and SetPlace().
|
private |
Definition at line 54 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4EnvelopeDetector.h
Referenced by ConstructMe(), and SetPlace().
|
private |
Definition at line 55 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4EnvelopeDetector.h
Referenced by ConstructMe(), and SetPlace().
|
private |
Definition at line 60 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 60 of file PHG4EnvelopeDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 68 of file PHG4EnvelopeDetector.h.
View newest version in sPHENIX GitHub at line 68 of file PHG4EnvelopeDetector.h
Referenced by SuperDetector().