ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4BbcDetector.h>
Public Member Functions | |
PHG4BbcDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *params, const std::string &dnam="BBC") | |
constructor | |
~PHG4BbcDetector () override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct BBC/MBD | |
void | Print (const std::string &what="ALL") const override |
int | IsInBbc (G4VPhysicalVolume *) const |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
PHG4BbcDisplayAction * | GetDisplayAction () |
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 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 () |
Protected Attributes | |
PHG4BbcDisplayAction * | m_DisplayAction = nullptr |
PHParameters * | m_Params = nullptr |
int | m_ActiveFlag = 0 |
int | m_SupportActiveFlag = 0 |
float | m_bbcz = NAN |
std::set< G4LogicalVolume * > | m_PhysLogicalVolSet |
std::set< G4LogicalVolume * > | m_SupportLogicalVolSet |
std::string | m_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 19 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 19 of file PHG4BbcDetector.h
PHG4BbcDetector::PHG4BbcDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | params, | ||
const std::string & | dnam = "BBC" |
||
) |
constructor
Definition at line 31 of file PHG4BbcDetector.cc.
View newest version in sPHENIX GitHub at line 31 of file PHG4BbcDetector.cc
|
inlineoverride |
destructor
Definition at line 26 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4BbcDetector.h
|
overridevirtual |
construct BBC/MBD
Implements PHG4Detector.
Definition at line 63 of file PHG4BbcDetector.cc.
View newest version in sPHENIX GitHub at line 63 of file PHG4BbcDetector.cc
References G4Material::AddElement(), PHG4BbcDisplayAction::AddVolume(), cm, cm3, deg, G4NistManager::FindOrBuildMaterial(), Acts::UnitConstants::g, PHFlag::get_StringFlag(), PHG4Detector::GetDetectorMaterial(), GetDisplayAction(), recoConsts::instance(), G4NistManager::Instance(), m_bbcz, m_PhysLogicalVolSet, M_PI, m_SupportLogicalVolSet, PHG4Detector::OverlapCheck(), G4DRCALO::SETTING::Quartz, CLHEP::HepRotation::rotateX(), CLHEP::HepRotation::rotateY(), G4WORLD::WorldMaterial, and BTOF::zpos.
|
inline |
Definition at line 40 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 40 of file PHG4BbcDetector.h
References m_DisplayAction.
Referenced by ConstructMe().
int PHG4BbcDetector::IsInBbc | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 42 of file PHG4BbcDetector.cc.
View newest version in sPHENIX GitHub at line 42 of file PHG4BbcDetector.cc
References G4VPhysicalVolume::GetLogicalVolume(), m_ActiveFlag, m_PhysLogicalVolSet, m_SupportActiveFlag, and m_SupportLogicalVolSet.
Referenced by PHG4BbcSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 426 of file PHG4BbcDetector.cc.
View newest version in sPHENIX GitHub at line 426 of file PHG4BbcDetector.cc
Referenced by PHG4BbcSubsystem::Print().
|
inline |
Definition at line 37 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4BbcDetector.h
References m_SuperDetector.
Referenced by PHG4BbcSubsystem::InitRunSubsystem().
|
inline |
Definition at line 38 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4BbcDetector.h
References m_SuperDetector.
|
protected |
Definition at line 47 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4BbcDetector.h
Referenced by IsInBbc().
|
protected |
Definition at line 50 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4BbcDetector.h
Referenced by ConstructMe().
|
protected |
Definition at line 43 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4BbcDetector.h
Referenced by GetDisplayAction().
|
protected |
Definition at line 45 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4BbcDetector.h
|
protected |
Definition at line 52 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4BbcDetector.h
Referenced by ConstructMe(), and IsInBbc().
|
protected |
Definition at line 55 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4BbcDetector.h
Referenced by SuperDetector().
|
protected |
Definition at line 48 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4BbcDetector.h
Referenced by IsInBbc().
|
protected |
Definition at line 53 of file PHG4BbcDetector.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4BbcDetector.h
Referenced by ConstructMe(), and IsInBbc().