ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4EnvelopeDetector Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4EnvelopeDetector.h>

+ Inheritance diagram for PHG4EnvelopeDetector:
+ Collaboration diagram for PHG4EnvelopeDetector:

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 G4UserSteppingActionGetSteppingAction ()
 
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 PHCompositeNodetopNode ()
 
virtual PHG4SubsystemGetMySubsystem ()
 

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 G4MaterialGetDetectorMaterial (const std::string &name, const bool quit=true)
 
static G4ElementGetDetectorElement (const std::string &name, const bool quit=true)
 

Detailed Description

Definition at line 18 of file PHG4EnvelopeDetector.h.

View newest version in sPHENIX GitHub at line 18 of file PHG4EnvelopeDetector.h

Constructor & Destructor Documentation

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

PHG4EnvelopeDetector::~PHG4EnvelopeDetector ( )
inlineoverride

Definition at line 25 of file PHG4EnvelopeDetector.h.

View newest version in sPHENIX GitHub at line 25 of file PHG4EnvelopeDetector.h

Member Function Documentation

void PHG4EnvelopeDetector::ConstructMe ( G4LogicalVolume world)
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().

+ Here is the call graph for this function:

int PHG4EnvelopeDetector::get_Layer ( ) const
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().

+ Here is the caller graph for this function:

int PHG4EnvelopeDetector::IsActive ( ) const
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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4EnvelopeDetector::SetActive ( const int  i = 1)
inline

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().

+ Here is the caller graph for this function:

void PHG4EnvelopeDetector::SetCylinderLength ( G4double  length)
inline

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.

void PHG4EnvelopeDetector::SetInnerRadius ( G4double  radius)
inline

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.

void PHG4EnvelopeDetector::SetOuterRadius ( G4double  radius)
inline

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.

void PHG4EnvelopeDetector::SetPlace ( G4double  place_in_x,
G4double  place_in_y,
G4double  place_in_z 
)
inline

Definition at line 33 of file PHG4EnvelopeDetector.h.

View newest version in sPHENIX GitHub at line 33 of file PHG4EnvelopeDetector.h

References _placeInX, _placeInY, and _placeInZ.

void PHG4EnvelopeDetector::SuperDetector ( const std::string &  name)
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().

+ Here is the caller graph for this function:

const std::string PHG4EnvelopeDetector::SuperDetector ( ) const
inline

Definition at line 48 of file PHG4EnvelopeDetector.h.

View newest version in sPHENIX GitHub at line 48 of file PHG4EnvelopeDetector.h

References _superdetector.

Member Data Documentation

int PHG4EnvelopeDetector::_active
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().

G4double PHG4EnvelopeDetector::_dPhi
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().

G4double PHG4EnvelopeDetector::_dZ
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().

G4double PHG4EnvelopeDetector::_dZ_cyl
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().

G4double PHG4EnvelopeDetector::_innerRadius
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().

int PHG4EnvelopeDetector::_layer
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().

G4String PHG4EnvelopeDetector::_materialCrystal
private

Definition at line 63 of file PHG4EnvelopeDetector.h.

View newest version in sPHENIX GitHub at line 63 of file PHG4EnvelopeDetector.h

G4double PHG4EnvelopeDetector::_outerRadius
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().

G4double PHG4EnvelopeDetector::_placeInX
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().

G4double PHG4EnvelopeDetector::_placeInY
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().

G4double PHG4EnvelopeDetector::_placeInZ
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().

G4double PHG4EnvelopeDetector::_sPhi
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().

std::string PHG4EnvelopeDetector::_superdetector
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().


The documentation for this class was generated from the following files: