Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4BeamlineMagnetDetector.h>
Public Member Functions | |
PHG4BeamlineMagnetDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam, const int layer=0) | |
constructor | |
~PHG4BeamlineMagnetDetector (void) override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
bool | IsInBeamlineMagnet (const G4VPhysicalVolume *) 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 | |
PHParameters * | params |
G4VPhysicalVolume * | magnet_physi |
G4VPhysicalVolume * | cylinder_physi |
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 16 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4BeamlineMagnetDetector.h
PHG4BeamlineMagnetDetector::PHG4BeamlineMagnetDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam, | ||
const int | layer = 0 |
||
) |
constructor
Definition at line 42 of file PHG4BeamlineMagnetDetector.cc.
View newest version in sPHENIX GitHub at line 42 of file PHG4BeamlineMagnetDetector.cc
|
inlineoverride |
destructor
Definition at line 23 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4BeamlineMagnetDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 62 of file PHG4BeamlineMagnetDetector.cc.
View newest version in sPHENIX GitHub at line 62 of file PHG4BeamlineMagnetDetector.cc
References Acts::UnitConstants::cm, cylinder_physi, deg, PHParameters::get_double_param(), PHParameters::get_int_param(), PHParameters::get_string_param(), PHG4Detector::GetDetectorMaterial(), PHG4Detector::GetName(), magnet_physi, Acts::UnitConstants::mm, Acts::Test::origin(), PHG4Detector::OverlapCheck(), params, PHWHERE, PHG4Utils::SetColour(), thickness, twopi, and PHG4Detector::Verbosity().
|
inline |
Definition at line 33 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4BeamlineMagnetDetector.h
References layer.
bool PHG4BeamlineMagnetDetector::IsInBeamlineMagnet | ( | const G4VPhysicalVolume * | volume | ) | const |
Definition at line 52 of file PHG4BeamlineMagnetDetector.cc.
View newest version in sPHENIX GitHub at line 52 of file PHG4BeamlineMagnetDetector.cc
References magnet_physi.
|
inline |
Definition at line 31 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4BeamlineMagnetDetector.h
References perf_headwind::name, and superdetector.
|
inline |
Definition at line 32 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4BeamlineMagnetDetector.h
References superdetector.
|
private |
Definition at line 39 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4BeamlineMagnetDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 41 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4BeamlineMagnetDetector.h
Referenced by get_Layer().
|
private |
Definition at line 38 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4BeamlineMagnetDetector.h
Referenced by ConstructMe(), and IsInBeamlineMagnet().
|
private |
Definition at line 36 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4BeamlineMagnetDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 42 of file PHG4BeamlineMagnetDetector.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4BeamlineMagnetDetector.h
Referenced by SuperDetector().