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

#include <EicRoot/blob/master/eic/detectors/mumegas/MuMegasGeoParData.h>

+ Inheritance diagram for MuMegasGeoParData:
+ Collaboration diagram for MuMegasGeoParData:

Public Member Functions

 MuMegasGeoParData (const char *detName=0, int version=-1, int subVersion=0)
 
 ~MuMegasGeoParData ()
 
void AddBarrel (MuMegasLayer *layer, double length, unsigned beamLineSectionNum, double radius, unsigned sectorNum, double beamLineOffset=0.0, double beamLineRotation=0.0)
 
void AddBarrel (MuMegasLayer *layer, double length, unsigned beamLineSectionNum, double radius, unsigned sectorNum, TGeoMatrix *transformation)
 
int ConstructGeometry (bool root=true, bool gdml=false, bool check=false)
 
void PlaceMaterialLayer (const char *detName, const char *namePrefix, unsigned barrelID, TGeoVolume *sectorContainer, const char *material, double length, double angle, double thickness, double *yOffset)
 
 ClassDef (MuMegasGeoParData, 2)
 
 MuMegasGeoParData (const char *detName=0, int version=-1, int subVersion=0)
 
 ~MuMegasGeoParData ()
 
void AddBarrel (MuMegasLayer *layer, double length, unsigned beamLineSectionNum, double radius, unsigned sectorNum, double beamLineOffset=0.0, double beamLineRotation=0.0)
 
void AddBarrel (MuMegasLayer *layer, double length, unsigned beamLineSectionNum, double radius, unsigned sectorNum, TGeoMatrix *transformation)
 
int ConstructGeometry (bool root=true, bool gdml=false, bool check=false)
 
- Public Member Functions inherited from EicGeoParData
 EicGeoParData (const char *detName=0, int version=-1, int subVersion=0)
 
 ~EicGeoParData ()
 
void ResetVars ()
 
void SetGeometryType (GeometryType gType)
 
GeometryType GetGeometryType () const
 
void SetTestGeometryFlag (bool flag=true)
 
bool IsTestGeometry () const
 
int GetVersion () const
 
int GetSubVersion () const
 
void SetFileName (const char *fileName)
 
void SetFileNameFormat (const char *fileNameFormat)
 
void SetComment (const char *comment)
 
int AttachSourceFile (const char *fileName)
 
void PrintAttachedSourceFile (const char *fileName)
 
EicGeoMapCreateNewMap ()
 
int SetCircularX (unsigned group=0)
 
int SetCircularY (unsigned group=0)
 
int SetCircularZ (unsigned group=0)
 
bool GetCircularX (unsigned group=0) const
 
bool GetCircularY (unsigned group=0) const
 
bool GetCircularZ (unsigned group=0) const
 
bool GetCircular (unsigned group, unsigned what) const
 
int SetMappingTableEntry (EicGeoMap *map, const unsigned geant[], unsigned group, unsigned logical[])
 
int AddLogicalVolumeGroup (unsigned dimX=0, unsigned dimY=0, unsigned dimZ=0)
 
void AddBlackHoleVolume (const char *vName)
 
void AddStepEnforcedVolume (const char *vName)
 
void AddStepEnforcedVolumeLookupEntry (int volumeID, double step)
 
const TGeoMedium * GetMedium (const char *medium)
 
void SetTopVolumeTransformation (TGeoMatrix *transformation)
 
const TGeoMatrix * GetTopVolumeTransformation () const
 
TString GetGeometryFileName (bool root=true) const
 
virtual void Print (const char *option=0) const
 
TGeoVolume * GetTopVolume () const
 
TGeoManager * GetRootGeoManager ()
 
void FinalizeOutput (bool root=true, bool gdml=false, bool check=false)
 
UInt_t GetMapNum () const
 
EicGeoMapGetMapPtrViaMapID (unsigned mapId) const
 
const EicGeoMapGetMapPtrViaHitMultiIndex (ULong64_t multi) const
 
int CalculateMappingTableSignatures ()
 
unsigned GetMaxVolumeLevelNum () const
 
ULogicalIndex_t GeantMultiToLogicalIndex (ULong64_t multi) const
 
unsigned GetDimX (unsigned group=0) const
 
unsigned GetDimY (unsigned group=0) const
 
unsigned GetDimZ (unsigned group=0) const
 
unsigned GetDim (unsigned group, unsigned what) const
 
unsigned GetGroup (ULogicalIndex_t logicalID) const
 
unsigned GetX (ULogicalIndex_t logicalID) const
 
unsigned GetY (ULogicalIndex_t logicalID) const
 
unsigned GetZ (ULogicalIndex_t logicalID) const
 
unsigned GetCoord (unsigned what, ULogicalIndex_t logicalID) const
 
bool IsBlackHoleVolume (const char *vName) const
 
const std::set< TString > & GetBlackHoleVolumes () const
 
double GetEnforcedStep (int volumeID)
 
const std::set< TString > & GetStepEnforcedVolumes () const
 
void InitializeLookupTables ()
 
LogicalVolumeLookupTableEntryGetLookupTableNode (ULogicalIndex_t xy) const
 
LogicalVolumeLookupTableEntryGetLookupTableNode (const TGeoNode *node) const
 
EicNamePatternHub< Color_t > * GetColorTable ()
 
EicNamePatternHub< Char_t > * GetTransparencyTable ()
 
virtual bool AreNeighbours (ULogicalIndex_t l1, ULogicalIndex_t l2, unsigned maxLinearDist=1, unsigned maxChebyshevDist=0) const
 
const EicDetNameGetDetName () const
 
void AddWantedParticle (const char *vName, int pdg)
 
bool IsWantedParticle (const char *vName, int pdg) const
 
 EicGeoParData (const char *detName=0, int version=-1, int subVersion=0)
 
 ~EicGeoParData ()
 
void ResetVars ()
 
void SetGeometryType (GeometryType gType)
 
GeometryType GetGeometryType () const
 
void SetTestGeometryFlag (bool flag=true)
 
bool IsTestGeometry () const
 
int GetVersion () const
 
int GetSubVersion () const
 
void SetFileName (const char *fileName)
 
void SetFileNameFormat (const char *fileNameFormat)
 
void SetTransparency (unsigned value)
 
void SetComment (const char *comment)
 
int AttachSourceFile (const char *fileName)
 
void PrintAttachedSourceFile (const char *fileName)
 
EicGeoMapCreateNewMap ()
 
int SetCircularX (unsigned group=0)
 
int SetCircularY (unsigned group=0)
 
int SetCircularZ (unsigned group=0)
 
bool GetCircularX (unsigned group=0) const
 
bool GetCircularY (unsigned group=0) const
 
bool GetCircularZ (unsigned group=0) const
 
bool GetCircular (unsigned group, unsigned what) const
 
int SetMappingTableEntry (EicGeoMap *map, const unsigned geant[], unsigned group, unsigned logical[])
 
int AddLogicalVolumeGroup (unsigned dimX=0, unsigned dimY=0, unsigned dimZ=0)
 
void AddBlackHoleVolume (const char *vName)
 
void AddStepEnforcedVolume (const char *vName)
 
void AddStepEnforcedVolumeLookupEntry (int volumeID, double step)
 
const TGeoMedium * GetMedium (const char *medium)
 
void SetTopVolumeTransformation (TGeoMatrix *transformation)
 
const TGeoMatrix * GetTopVolumeTransformation () const
 
TString GetGeometryFileName (bool root=true) const
 
virtual void Print (const char *option=0) const
 
TGeoVolume * GetTopVolume () const
 
TGeoManager * GetRootGeoManager ()
 
void FinalizeOutput (bool root=true, bool gdml=false, bool check=false)
 
UInt_t GetMapNum () const
 
EicGeoMapGetMapPtrViaMapID (unsigned mapId) const
 
const EicGeoMapGetMapPtrViaHitMultiIndex (ULong64_t multi) const
 
int CalculateMappingTableSignatures ()
 
unsigned GetMaxVolumeLevelNum () const
 
ULogicalIndex_t GeantMultiToLogicalIndex (ULong64_t multi) const
 
void PlaceG4Volume (G4LogicalVolume *mother, bool check=false, void *pRot=0, void *tlate=0)
 
unsigned GetDimX (unsigned group=0) const
 
unsigned GetDimY (unsigned group=0) const
 
unsigned GetDimZ (unsigned group=0) const
 
unsigned GetDim (unsigned group, unsigned what) const
 
unsigned GetGroup (ULogicalIndex_t logicalID) const
 
unsigned GetX (ULogicalIndex_t logicalID) const
 
unsigned GetY (ULogicalIndex_t logicalID) const
 
unsigned GetZ (ULogicalIndex_t logicalID) const
 
unsigned GetCoord (unsigned what, ULogicalIndex_t logicalID) const
 
bool IsBlackHoleVolume (const char *vName) const
 
const std::set< TString > & GetBlackHoleVolumes () const
 
double GetEnforcedStep (int volumeID)
 
const std::set< TString > & GetStepEnforcedVolumes () const
 
void InitializeLookupTables ()
 
LogicalVolumeLookupTableEntryGetLookupTableNode (ULogicalIndex_t xy) const
 
LogicalVolumeLookupTableEntryGetLookupTableNode (const TGeoNode *node) const
 
EicNamePatternHub< Color_t > * GetColorTable ()
 
EicNamePatternHub< Char_t > * GetTransparencyTable ()
 
virtual bool AreNeighbours (ULogicalIndex_t l1, ULogicalIndex_t l2, unsigned maxLinearDist=1, unsigned maxChebyshevDist=0) const
 
const EicDetNameGetDetName () const
 
void AddWantedParticle (const char *vName, int pdg)
 
bool IsWantedParticle (const char *vName, int pdg) const
 
void SetTGeoGeometryCheckPrecision (double value)
 
void TurnTGeoGeometryCheckOff (void)
 
const std::vector
< G4VPhysicalVolume * > & 
GetG4Volumes (void) const
 
const std::map
< G4VPhysicalVolume
*, unsigned > & 
GetG4SensitiveVolumes (void) const
 
 ClassDef (EicGeoParData, 51)
 

Public Attributes

std::vector< MuMegasBarrel * > mBarrels
 

Private Member Functions

void PlaceMaterialLayer (const char *detName, const char *namePrefix, unsigned barrelID, TGeoVolume *sectorContainer, const char *material, double length, double angle, double thickness, double *yOffset)
 
 ClassDef (MuMegasGeoParData, 2)
 

Additional Inherited Members

- Public Types inherited from EicGeoParData
enum  GeometryType {
  Undefined, NoStructure, SimpleStructure, FullStructure,
  Undefined, NoStructure, SimpleStructure, FullStructure
}
 
enum  IDXYZ {
  IDX =0, IDY, IDZ, IDX =0,
  IDY, IDZ
}
 
enum  GeometryType {
  Undefined, NoStructure, SimpleStructure, FullStructure,
  Undefined, NoStructure, SimpleStructure, FullStructure
}
 
enum  IDXYZ {
  IDX =0, IDY, IDZ, IDX =0,
  IDY, IDZ
}
 
- Static Public Member Functions inherited from EicGeoParData
static int ImportMediaFile (const char *fname)
 
- Protected Attributes inherited from EicGeoParData
GeometryType mGeometryType
 
Bool_t mTestGeometryFlag
 
EicDetNamemDetName
 respective lookup table (for efficiency)
 
unsigned char mTransparency
 

Detailed Description

Definition at line 111 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 111 of file MuMegasGeoParData.h

Constructor & Destructor Documentation

MuMegasGeoParData::MuMegasGeoParData ( const char *  detName = 0,
int  version = -1,
int  subVersion = 0 
)
inline

Definition at line 114 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 114 of file MuMegasGeoParData.h

MuMegasGeoParData::~MuMegasGeoParData ( )
inline

Definition at line 116 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 116 of file MuMegasGeoParData.h

MuMegasGeoParData::MuMegasGeoParData ( const char *  detName = 0,
int  version = -1,
int  subVersion = 0 
)
inline

Definition at line 108 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 108 of file MuMegasGeoParData.h

MuMegasGeoParData::~MuMegasGeoParData ( )
inline

Definition at line 110 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 110 of file MuMegasGeoParData.h

Member Function Documentation

void MuMegasGeoParData::AddBarrel ( MuMegasLayer layer,
double  length,
unsigned  beamLineSectionNum,
double  radius,
unsigned  sectorNum,
double  beamLineOffset = 0.0,
double  beamLineRotation = 0.0 
)
inline

Definition at line 119 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 119 of file MuMegasGeoParData.h

References beamLineOffset, and mBarrels.

void MuMegasGeoParData::AddBarrel ( MuMegasLayer layer,
double  length,
unsigned  beamLineSectionNum,
double  radius,
unsigned  sectorNum,
double  beamLineOffset = 0.0,
double  beamLineRotation = 0.0 
)
inline

Definition at line 125 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 125 of file MuMegasGeoParData.h

References beamLineOffset, and mBarrels.

Referenced by BasicDetectorConstruction::Construct(), and mumegas().

+ Here is the caller graph for this function:

void MuMegasGeoParData::AddBarrel ( MuMegasLayer layer,
double  length,
unsigned  beamLineSectionNum,
double  radius,
unsigned  sectorNum,
TGeoMatrix *  transformation 
)
inline

Definition at line 126 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 126 of file MuMegasGeoParData.h

References mBarrels.

void MuMegasGeoParData::AddBarrel ( MuMegasLayer layer,
double  length,
unsigned  beamLineSectionNum,
double  radius,
unsigned  sectorNum,
TGeoMatrix *  transformation 
)
inline

Definition at line 132 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 132 of file MuMegasGeoParData.h

References mBarrels.

MuMegasGeoParData::ClassDef ( MuMegasGeoParData  ,
 
)
private
MuMegasGeoParData::ClassDef ( MuMegasGeoParData  ,
 
)
int MuMegasGeoParData::ConstructGeometry ( bool  root = true,
bool  gdml = false,
bool  check = false 
)
virtual

Reimplemented from EicGeoParData.

int MuMegasGeoParData::ConstructGeometry ( bool  root = true,
bool  gdml = false,
bool  check = false 
)
virtual
void MuMegasGeoParData::PlaceMaterialLayer ( const char *  detName,
const char *  namePrefix,
unsigned  barrelID,
TGeoVolume *  sectorContainer,
const char *  material,
double  length,
double  angle,
double  thickness,
double *  yOffset 
)
private
void MuMegasGeoParData::PlaceMaterialLayer ( const char *  detName,
const char *  namePrefix,
unsigned  barrelID,
TGeoVolume *  sectorContainer,
const char *  material,
double  length,
double  angle,
double  thickness,
double *  yOffset 
)

Definition at line 239 of file MuMegasGeoParData-simple.cxx.

View newest version in sPHENIX GitHub at line 239 of file MuMegasGeoParData-simple.cxx

References GetMedium, and thickness.

Member Data Documentation

std::vector< MuMegasBarrel * > MuMegasGeoParData::mBarrels

Definition at line 145 of file MuMegasGeoParData.h.

View newest version in sPHENIX GitHub at line 145 of file MuMegasGeoParData.h

Referenced by AddBarrel().


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