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

#include <EicToyModel/blob/master/include/EtmVacuumChamber.h>

+ Inheritance diagram for EtmVacuumChamber:
+ Collaboration diagram for EtmVacuumChamber:

Public Member Functions

 EtmVacuumChamber (void)
 
 ~EtmVacuumChamber ()
 
void DrawMe (void)
 
void SetHadronBeamPipeOpening (double value)
 
double GetHadronBeamPipeOpening (void) const
 
double GetRadialSize (double z, double phi)
 
TGeoManager * GetWorld (void) const
 
void CheckGeometry (bool force=false)
 
void Export (const char *fname)
 
virtual bool ConfigurableCrossingAngle (void) const =0
 
virtual double FixedCrossingAngle (void) const
 
bool CrossingAngleResetPossible (double value) const
 
G4VSolid * CutThisSolid (G4VSolid *solid, double dz)
 
void StoreGDMLdump (void)
 *, const std::vector<TVector2> &polygon*/);
 

Protected Member Functions

virtual void CreateGeometry (void)=0
 

Protected Attributes

TGeoManager * mTGeoModel
 
double mHadronBeamPipeOpening
 
double mActualCrossingAngle
 

Private Member Functions

void CreateWorld (void)
 
void CreateMedium (const char *name, double A, double Z, double density)
 

Private Attributes

bool mStandaloneMode
 
void * g4Factory
 

Detailed Description

Definition at line 17 of file EtmVacuumChamber.h.

View newest version in sPHENIX GitHub at line 17 of file EtmVacuumChamber.h

Constructor & Destructor Documentation

EtmVacuumChamber::EtmVacuumChamber ( void  )

Definition at line 28 of file EtmVacuumChamber.cc.

View newest version in sPHENIX GitHub at line 28 of file EtmVacuumChamber.cc

EtmVacuumChamber::~EtmVacuumChamber ( )
inline

Definition at line 20 of file EtmVacuumChamber.h.

View newest version in sPHENIX GitHub at line 20 of file EtmVacuumChamber.h

Member Function Documentation

void EtmVacuumChamber::CheckGeometry ( bool  force = false)

Definition at line 103 of file EtmVacuumChamber.cc.

View newest version in sPHENIX GitHub at line 103 of file EtmVacuumChamber.cc

References CreateGeometry(), CreateWorld(), EicToyModel::GetCrossingAngle(), EicToyModel::Instance(), and mActualCrossingAngle.

Referenced by EicToyModel::BuildVacuumChamber(), CutThisSolid(), DrawMe(), Export(), GetRadialSize(), EicToyModel::ip(), EicToyModel::RebuildEverything(), and StoreGDMLdump().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual bool EtmVacuumChamber::ConfigurableCrossingAngle ( void  ) const
pure virtual

Implemented in vc2020_03_20.

Referenced by CrossingAngleResetPossible().

+ Here is the caller graph for this function:

virtual void EtmVacuumChamber::CreateGeometry ( void  )
protectedpure virtual

Implemented in vc2020_03_20.

Referenced by CheckGeometry().

+ Here is the caller graph for this function:

void EtmVacuumChamber::CreateMedium ( const char *  name,
double  A,
double  Z,
double  density 
)
private

Definition at line 37 of file EtmVacuumChamber.cc.

View newest version in sPHENIX GitHub at line 37 of file EtmVacuumChamber.cc

Referenced by CreateWorld().

+ Here is the caller graph for this function:

void EtmVacuumChamber::CreateWorld ( void  )
private

Definition at line 47 of file EtmVacuumChamber.cc.

View newest version in sPHENIX GitHub at line 47 of file EtmVacuumChamber.cc

References _ACCELERATOR_VACUUM_, _UNIVERSE_VACUUM_, CreateMedium(), eic, EicToyModel::Instance(), mStandaloneMode, mTGeoModel, and Acts::Test::world.

Referenced by CheckGeometry().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool EtmVacuumChamber::CrossingAngleResetPossible ( double  value) const

Definition at line 90 of file EtmVacuumChamber.cc.

View newest version in sPHENIX GitHub at line 90 of file EtmVacuumChamber.cc

References ConfigurableCrossingAngle(), FixedCrossingAngle(), mStandaloneMode, and mTGeoModel.

Referenced by EicToyModel::DefineVacuumChamber(), and EicToyModel::SetCrossingAngle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VSolid * EtmVacuumChamber::CutThisSolid ( G4VSolid *  solid,
double  dz 
)

Definition at line 238 of file EtmVacuumChamber.cc.

View newest version in sPHENIX GitHub at line 238 of file EtmVacuumChamber.cc

References CheckGeometry(), g4Factory, and etm::solid.

+ Here is the call graph for this function:

void EtmVacuumChamber::DrawMe ( void  )

Definition at line 167 of file EtmVacuumChamber.cc.

View newest version in sPHENIX GitHub at line 167 of file EtmVacuumChamber.cc

References CheckGeometry(), etm::cm, eic, GetRadialSize(), EicToyModel::Instance(), EicToyModel::kHorizontal, M_PI, and Acts::Test::step().

Referenced by EicToyModel::DrawMe().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EtmVacuumChamber::Export ( const char *  fname)

Definition at line 120 of file EtmVacuumChamber.cc.

View newest version in sPHENIX GitHub at line 120 of file EtmVacuumChamber.cc

References CheckGeometry(), mStandaloneMode, and mTGeoModel.

Referenced by EicToyModel::ExportVacuumChamber().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual double EtmVacuumChamber::FixedCrossingAngle ( void  ) const
inlinevirtual

Definition at line 37 of file EtmVacuumChamber.h.

View newest version in sPHENIX GitHub at line 37 of file EtmVacuumChamber.h

Referenced by CrossingAngleResetPossible().

+ Here is the caller graph for this function:

double EtmVacuumChamber::GetHadronBeamPipeOpening ( void  ) const
inline

Definition at line 25 of file EtmVacuumChamber.h.

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

References mHadronBeamPipeOpening.

double EtmVacuumChamber::GetRadialSize ( double  z,
double  phi 
)

Definition at line 199 of file EtmVacuumChamber.cc.

View newest version in sPHENIX GitHub at line 199 of file EtmVacuumChamber.cc

References _ACCELERATOR_VACUUM_, _UNIVERSE_VACUUM_, CheckGeometry(), cos(), material(), and mTGeoModel.

Referenced by DrawMe().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TGeoManager* EtmVacuumChamber::GetWorld ( void  ) const
inline

Definition at line 29 of file EtmVacuumChamber.h.

View newest version in sPHENIX GitHub at line 29 of file EtmVacuumChamber.h

References mTGeoModel.

Referenced by vc2020_03_20::CreateGeometry(), and EicToyModel::Export().

+ Here is the caller graph for this function:

void EtmVacuumChamber::SetHadronBeamPipeOpening ( double  value)
inline

Definition at line 24 of file EtmVacuumChamber.h.

View newest version in sPHENIX GitHub at line 24 of file EtmVacuumChamber.h

References mHadronBeamPipeOpening, and value.

void EtmVacuumChamber::StoreGDMLdump ( void  )

*, const std::vector<TVector2> &polygon*/);

Definition at line 133 of file EtmVacuumChamber.cc.

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

References CheckGeometry(), mStandaloneMode, and mTGeoModel.

Referenced by EicToyModel::Export().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

void* EtmVacuumChamber::g4Factory
private

Definition at line 67 of file EtmVacuumChamber.h.

View newest version in sPHENIX GitHub at line 67 of file EtmVacuumChamber.h

Referenced by CutThisSolid().

double EtmVacuumChamber::mActualCrossingAngle
protected

Definition at line 55 of file EtmVacuumChamber.h.

View newest version in sPHENIX GitHub at line 55 of file EtmVacuumChamber.h

Referenced by CheckGeometry().

double EtmVacuumChamber::mHadronBeamPipeOpening
protected

Definition at line 53 of file EtmVacuumChamber.h.

View newest version in sPHENIX GitHub at line 53 of file EtmVacuumChamber.h

Referenced by vc2020_03_20::CreateGeometry(), GetHadronBeamPipeOpening(), SetHadronBeamPipeOpening(), and vc2020_03_20::vc2020_03_20().

bool EtmVacuumChamber::mStandaloneMode
private

Definition at line 63 of file EtmVacuumChamber.h.

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

Referenced by CreateWorld(), CrossingAngleResetPossible(), Export(), and StoreGDMLdump().

TGeoManager* EtmVacuumChamber::mTGeoModel
protected

Definition at line 50 of file EtmVacuumChamber.h.

View newest version in sPHENIX GitHub at line 50 of file EtmVacuumChamber.h

Referenced by CreateWorld(), CrossingAngleResetPossible(), Export(), GetRadialSize(), GetWorld(), and StoreGDMLdump().


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