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

#include <east/blob/main/Core/include/eASTDetectorConstruction.hh>

+ Inheritance diagram for eASTDetectorConstruction:
+ Collaboration diagram for eASTDetectorConstruction:

Public Member Functions

 eASTDetectorConstruction ()
 
virtual ~eASTDetectorConstruction ()
 
virtual G4VPhysicalVolume * Construct () override
 
virtual void ConstructSDandField () override
 
void RegisterComponent (G4String, eASTVDetectorComponent *)
 
void ListSolids (G4int)
 
void ListLogVols (G4int)
 
void ListPhysVols (G4int)
 
void ListRegions (G4int)
 
G4bool CheckOverlap (G4String &, G4int, G4int, G4double)
 
void ListAllMaterial ()
 
G4bool ListMaterial (G4String &)
 
void DumpNistMaterials ()
 
G4bool CreateMaterial (G4String &)
 
G4bool GetMaterial (G4String &)
 
G4int SetMaterial (G4String &, G4String &)
 
void SetMagneticField (eASTMagneticField *field)
 

Static Public Member Functions

static eASTDetectorConstructionInstance ()
 

Private Attributes

eASTDetectorConstructionMessengermessenger
 
G4VPhysicalVolume * fWorld = nullptr
 
eASTMagneticFieldfField = nullptr
 
std::map< G4String,
eASTVDetectorComponent * > 
components
 

Static Private Attributes

static eASTDetectorConstructioninstance = nullptr
 

Detailed Description

Definition at line 24 of file eASTDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 24 of file eASTDetectorConstruction.hh

Constructor & Destructor Documentation

eASTDetectorConstruction::eASTDetectorConstruction ( )

Definition at line 39 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 39 of file eASTDetectorConstruction.cc

References instance, and messenger.

Referenced by Instance().

+ Here is the caller graph for this function:

eASTDetectorConstruction::~eASTDetectorConstruction ( )
virtual

Definition at line 51 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 51 of file eASTDetectorConstruction.cc

References components, instance, and messenger.

Member Function Documentation

G4bool eASTDetectorConstruction::CheckOverlap ( G4String &  physVolName,
G4int  nSpots,
G4int  maxErr,
G4double  tol 
)

Definition at line 259 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 259 of file eASTDetectorConstruction.cc

References G4PhysicalVolumeStore::GetInstance().

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VPhysicalVolume * eASTDetectorConstruction::Construct ( )
overridevirtual

Definition at line 66 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 66 of file eASTDetectorConstruction.cc

References components, eASTVDetectorComponent::Construct(), eASTVDetectorComponent::ConstructActionForMaster(), fWorld, and Acts::UnitConstants::m.

+ Here is the call graph for this function:

void eASTDetectorConstruction::ConstructSDandField ( )
overridevirtual

Definition at line 115 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 115 of file eASTDetectorConstruction.cc

References eASTMagneticField::Activate(), components, eASTVDetectorComponent::ConstructActions(), eASTVDetectorComponent::ConstructSD(), and fField.

+ Here is the call graph for this function:

G4bool eASTDetectorConstruction::CreateMaterial ( G4String &  matName)

Definition at line 362 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 362 of file eASTDetectorConstruction.cc

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void eASTDetectorConstruction::DumpNistMaterials ( )

Definition at line 349 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 349 of file eASTDetectorConstruction.cc

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4bool eASTDetectorConstruction::GetMaterial ( G4String &  logVol)

Definition at line 368 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 368 of file eASTDetectorConstruction.cc

References G4LogicalVolumeStore::GetInstance().

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

eASTDetectorConstruction * eASTDetectorConstruction::Instance ( )
static

Definition at line 32 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 32 of file eASTDetectorConstruction.cc

References eASTDetectorConstruction(), and instance.

Referenced by eASTVDetectorComponent::SetUpBase().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void eASTDetectorConstruction::ListAllMaterial ( )

Definition at line 319 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 319 of file eASTDetectorConstruction.cc

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void eASTDetectorConstruction::ListLogVols ( G4int  lvl)

Definition at line 162 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 162 of file eASTDetectorConstruction.cc

References G4LogicalVolumeStore::GetInstance().

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool eASTDetectorConstruction::ListMaterial ( G4String &  matName)

Definition at line 333 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 333 of file eASTDetectorConstruction.cc

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void eASTDetectorConstruction::ListPhysVols ( G4int  lvl)

Definition at line 212 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 212 of file eASTDetectorConstruction.cc

References G4PhysicalVolumeStore::GetInstance().

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void eASTDetectorConstruction::ListRegions ( G4int  lvl)

Definition at line 282 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 282 of file eASTDetectorConstruction.cc

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void eASTDetectorConstruction::ListSolids ( G4int  lvl)

Definition at line 133 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 133 of file eASTDetectorConstruction.cc

References G4SolidStore::GetInstance().

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void eASTDetectorConstruction::RegisterComponent ( G4String  compName,
eASTVDetectorComponent comp 
)

Definition at line 61 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 61 of file eASTDetectorConstruction.cc

Referenced by eASTVDetectorComponent::SetUpBase().

+ Here is the caller graph for this function:

void eASTDetectorConstruction::SetMagneticField ( eASTMagneticField field)
inline

Definition at line 63 of file eASTDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 63 of file eASTDetectorConstruction.hh

References fField.

Referenced by eASTInitialization::eASTInitialization().

+ Here is the caller graph for this function:

G4int eASTDetectorConstruction::SetMaterial ( G4String &  logVolName,
G4String &  matName 
)

Definition at line 384 of file eASTDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 384 of file eASTDetectorConstruction.cc

References G4LogicalVolumeStore::GetInstance().

Referenced by eASTDetectorConstructionMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map<G4String,eASTVDetectorComponent*> eASTDetectorConstruction::components
private

Definition at line 47 of file eASTDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 47 of file eASTDetectorConstruction.hh

Referenced by Construct(), ConstructSDandField(), and ~eASTDetectorConstruction().

eASTMagneticField* eASTDetectorConstruction::fField = nullptr
private

Definition at line 41 of file eASTDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 41 of file eASTDetectorConstruction.hh

Referenced by ConstructSDandField(), and SetMagneticField().

G4VPhysicalVolume* eASTDetectorConstruction::fWorld = nullptr
private

Definition at line 40 of file eASTDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 40 of file eASTDetectorConstruction.hh

Referenced by Construct().

eASTDetectorConstruction * eASTDetectorConstruction::instance = nullptr
staticprivate

Definition at line 36 of file eASTDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 36 of file eASTDetectorConstruction.hh

Referenced by eASTDetectorConstruction(), Instance(), and ~eASTDetectorConstruction().

eASTDetectorConstructionMessenger* eASTDetectorConstruction::messenger
private

Definition at line 39 of file eASTDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 39 of file eASTDetectorConstruction.hh

Referenced by eASTDetectorConstruction(), and ~eASTDetectorConstruction().


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