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

#include <EicRoot/blob/master/eic/detectors/lqst/LqstGeoParData.h>

+ Inheritance diagram for LqstGeoParData:
+ Collaboration diagram for LqstGeoParData:

Public Member Functions

 LqstGeoParData (const char *detName=0, int version=-1, int subVersion=0)
 constructor
 
virtual ~LqstGeoParData ()
 destructor
 
void InitializeDetector (LqstGeoParData *det, int nlayers, int nX, int nY, double size, double width, double zoffset, double xoffset, double angle)
 
void constructTrackerLayers ()
 
void constructEcalLayers ()
 
void constructDetector ()
 
const double get_numCellsX ()
 
const double get_numCellsY ()
 
const double get_totalNumCells ()
 
const double get_detectorLength ()
 
const double get_detectorHeight ()
 
const double get_detectorWidth ()
 
const double get_cellFaceSize ()
 
const double get_cellFaceLength ()
 
const double get_nGroups ()
 
const double get_ecalTowerLength ()
 
void set_numCellsX (int nX)
 
void set_numCellsY (int nY)
 
void set_cellFaceSize (double size)
 
void set_cellFaceLength (double length)
 
void set_beamLineOffset (double offset)
 
void set_xOffset (double offset)
 
void set_angle (double angle)
 
void set_nGroups (double nlayers)
 
void set_ecalTowerLength (double length)
 
- 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
 
virtual int ConstructGeometry (bool root=true, bool gdml=false, bool check=false)
 
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
 
virtual int ConstructGeometry (bool root=true, bool gdml=false, bool check=false)
 
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)
 

Private Member Functions

 ClassDef (LqstGeoParData, 1)
 

Private Attributes

int nCellsX
 
int nCellsY
 
int nGroups
 
double cellFaceSize
 
double cellFaceLength
 
double ecalTowerLength
 
double xOffset
 
double beamLineOffset
 
double totalAngle
 
double totalLength
 
LqstCellmcell
 
TGeoBBox * holder
 
LqstGeoParDatalqs
 

Friends

class LqstCell
 

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 26 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 26 of file LqstGeoParData.h

Constructor & Destructor Documentation

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

constructor

Definition at line 36 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 36 of file LqstGeoParData.h

virtual LqstGeoParData::~LqstGeoParData ( )
inlinevirtual

destructor

Definition at line 57 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 57 of file LqstGeoParData.h

Member Function Documentation

LqstGeoParData::ClassDef ( LqstGeoParData  ,
 
)
private
void LqstGeoParData::constructDetector ( )

Definition at line 261 of file LqstGeoParData.cxx.

View newest version in sPHENIX GitHub at line 261 of file LqstGeoParData.cxx

References beamLineOffset.

Referenced by lowq2tagger().

+ Here is the caller graph for this function:

void LqstGeoParData::constructEcalLayers ( )

Definition at line 194 of file LqstGeoParData.cxx.

View newest version in sPHENIX GitHub at line 194 of file LqstGeoParData.cxx

References EicGeoMap::AddGeantVolumeLevel(), cellFaceSize, exit(), offset, and EicGeoMap::SetSingleSensorContainerVolume().

+ Here is the call graph for this function:

void LqstGeoParData::constructTrackerLayers ( )

Definition at line 139 of file LqstGeoParData.cxx.

View newest version in sPHENIX GitHub at line 139 of file LqstGeoParData.cxx

References EicGeoMap::AddGeantVolumeLevel(), cellFaceSize, exit(), offset, and EicGeoMap::SetSingleSensorContainerVolume().

+ Here is the call graph for this function:

const double LqstGeoParData::get_cellFaceLength ( )
inline

Definition at line 76 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 76 of file LqstGeoParData.h

References cellFaceLength.

Referenced by LqstCell::createCell().

+ Here is the caller graph for this function:

const double LqstGeoParData::get_cellFaceSize ( )
inline

Definition at line 75 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 75 of file LqstGeoParData.h

References cellFaceSize.

Referenced by LqstCell::createCell().

+ Here is the caller graph for this function:

const double LqstGeoParData::get_detectorHeight ( )
inline

Definition at line 72 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 72 of file LqstGeoParData.h

References cellFaceSize, and nCellsY.

const double LqstGeoParData::get_detectorLength ( )
inline

Definition at line 71 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 71 of file LqstGeoParData.h

References cellFaceSize, and nCellsX.

const double LqstGeoParData::get_detectorWidth ( )
inline

Definition at line 73 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 73 of file LqstGeoParData.h

References cellFaceLength.

const double LqstGeoParData::get_ecalTowerLength ( )
inline

Definition at line 79 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 79 of file LqstGeoParData.h

References ecalTowerLength.

const double LqstGeoParData::get_nGroups ( )
inline

Definition at line 78 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 78 of file LqstGeoParData.h

References nGroups.

const double LqstGeoParData::get_numCellsX ( )
inline

Definition at line 67 of file LqstGeoParData.h.

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

References nCellsX.

const double LqstGeoParData::get_numCellsY ( )
inline

Definition at line 68 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 68 of file LqstGeoParData.h

References nCellsY.

const double LqstGeoParData::get_totalNumCells ( )
inline

Definition at line 69 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 69 of file LqstGeoParData.h

References nCellsX, and nCellsY.

void LqstGeoParData::InitializeDetector ( LqstGeoParData det,
int  nlayers,
int  nX,
int  nY,
double  size,
double  width,
double  zoffset,
double  xoffset,
double  angle 
)

Definition at line 97 of file LqstGeoParData.cxx.

View newest version in sPHENIX GitHub at line 97 of file LqstGeoParData.cxx

References set_numCellsX().

Referenced by lowq2tagger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void LqstGeoParData::set_angle ( double  angle)
inline

Definition at line 90 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 90 of file LqstGeoParData.h

References LqstCell::angle, and totalAngle.

void LqstGeoParData::set_beamLineOffset ( double  offset)
inline

Definition at line 88 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 88 of file LqstGeoParData.h

References beamLineOffset, and offset.

void LqstGeoParData::set_cellFaceLength ( double  length)
inline

Definition at line 86 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 86 of file LqstGeoParData.h

References cellFaceLength, and G4BARRELHCAL::length.

void LqstGeoParData::set_cellFaceSize ( double  size)
inline

Definition at line 85 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 85 of file LqstGeoParData.h

References cellFaceSize.

void LqstGeoParData::set_ecalTowerLength ( double  length)
inline

Definition at line 94 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 94 of file LqstGeoParData.h

References ecalTowerLength, and G4BARRELHCAL::length.

Referenced by lowq2tagger().

+ Here is the caller graph for this function:

void LqstGeoParData::set_nGroups ( double  nlayers)
inline

Definition at line 92 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 92 of file LqstGeoParData.h

References nGroups.

void LqstGeoParData::set_numCellsX ( int  nX)
inline

Definition at line 82 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 82 of file LqstGeoParData.h

References nCellsX.

Referenced by InitializeDetector().

+ Here is the caller graph for this function:

void LqstGeoParData::set_numCellsY ( int  nY)
inline

Definition at line 83 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 83 of file LqstGeoParData.h

References nCellsY.

void LqstGeoParData::set_xOffset ( double  offset)
inline

Definition at line 89 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 89 of file LqstGeoParData.h

References offset, and xOffset.

Friends And Related Function Documentation

friend class LqstCell
friend

Definition at line 30 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 30 of file LqstGeoParData.h

Member Data Documentation

double LqstGeoParData::beamLineOffset
private

Definition at line 107 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 107 of file LqstGeoParData.h

Referenced by set_beamLineOffset().

double LqstGeoParData::cellFaceLength
private

Definition at line 102 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 102 of file LqstGeoParData.h

Referenced by get_cellFaceLength(), get_detectorWidth(), and set_cellFaceLength().

double LqstGeoParData::cellFaceSize
private

Definition at line 101 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 101 of file LqstGeoParData.h

Referenced by get_cellFaceSize(), get_detectorHeight(), get_detectorLength(), and set_cellFaceSize().

double LqstGeoParData::ecalTowerLength
private

Definition at line 104 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 104 of file LqstGeoParData.h

Referenced by get_ecalTowerLength(), and set_ecalTowerLength().

TGeoBBox* LqstGeoParData::holder
private

Definition at line 116 of file LqstGeoParData.h.

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

LqstGeoParData* LqstGeoParData::lqs
private

Definition at line 117 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 117 of file LqstGeoParData.h

LqstCell* LqstGeoParData::mcell
private

Definition at line 114 of file LqstGeoParData.h.

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

int LqstGeoParData::nCellsX
private

Definition at line 94 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 94 of file LqstGeoParData.h

Referenced by get_detectorLength(), get_numCellsX(), get_totalNumCells(), and set_numCellsX().

int LqstGeoParData::nCellsY
private

Definition at line 98 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 98 of file LqstGeoParData.h

Referenced by get_detectorHeight(), get_numCellsY(), get_totalNumCells(), and set_numCellsY().

int LqstGeoParData::nGroups
private

Definition at line 99 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 99 of file LqstGeoParData.h

Referenced by get_nGroups(), and set_nGroups().

double LqstGeoParData::totalAngle
private

Definition at line 108 of file LqstGeoParData.h.

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

Referenced by set_angle().

double LqstGeoParData::totalLength
private

Definition at line 110 of file LqstGeoParData.h.

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

double LqstGeoParData::xOffset
private

Definition at line 106 of file LqstGeoParData.h.

View newest version in sPHENIX GitHub at line 106 of file LqstGeoParData.h

Referenced by set_xOffset().


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