EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/eic/detectors/lqst/LqstGeoParData.h>
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) |
EicGeoMap * | CreateNewMap () |
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 |
EicGeoMap * | GetMapPtrViaMapID (unsigned mapId) const |
const EicGeoMap * | GetMapPtrViaHitMultiIndex (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 () |
LogicalVolumeLookupTableEntry * | GetLookupTableNode (ULogicalIndex_t xy) const |
LogicalVolumeLookupTableEntry * | GetLookupTableNode (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 EicDetName * | GetDetName () 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) |
EicGeoMap * | CreateNewMap () |
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 |
EicGeoMap * | GetMapPtrViaMapID (unsigned mapId) const |
const EicGeoMap * | GetMapPtrViaHitMultiIndex (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 () |
LogicalVolumeLookupTableEntry * | GetLookupTableNode (ULogicalIndex_t xy) const |
LogicalVolumeLookupTableEntry * | GetLookupTableNode (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 EicDetName * | GetDetName () 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 |
LqstCell * | mcell |
TGeoBBox * | holder |
LqstGeoParData * | lqs |
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 |
EicDetName * | mDetName |
respective lookup table (for efficiency) | |
unsigned char | mTransparency |
Definition at line 26 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 26 of file LqstGeoParData.h
|
inline |
constructor
Definition at line 36 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 36 of file LqstGeoParData.h
|
inlinevirtual |
destructor
Definition at line 57 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 57 of file LqstGeoParData.h
|
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().
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().
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().
|
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().
|
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().
|
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.
|
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.
|
inline |
Definition at line 73 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 73 of file LqstGeoParData.h
References cellFaceLength.
|
inline |
Definition at line 79 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 79 of file LqstGeoParData.h
References ecalTowerLength.
|
inline |
Definition at line 78 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 78 of file LqstGeoParData.h
References nGroups.
|
inline |
Definition at line 67 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 67 of file LqstGeoParData.h
References nCellsX.
|
inline |
Definition at line 68 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 68 of file LqstGeoParData.h
References nCellsY.
|
inline |
Definition at line 69 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 69 of file LqstGeoParData.h
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().
|
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.
|
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.
|
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.
|
inline |
Definition at line 85 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 85 of file LqstGeoParData.h
References cellFaceSize.
|
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().
|
inline |
Definition at line 92 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 92 of file LqstGeoParData.h
References nGroups.
|
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().
|
inline |
Definition at line 83 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 83 of file LqstGeoParData.h
References nCellsY.
|
inline |
Definition at line 89 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 89 of file LqstGeoParData.h
|
friend |
Definition at line 30 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 30 of file LqstGeoParData.h
|
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().
|
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().
|
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().
|
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().
|
private |
Definition at line 116 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 116 of file LqstGeoParData.h
|
private |
Definition at line 117 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 117 of file LqstGeoParData.h
|
private |
Definition at line 114 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 114 of file LqstGeoParData.h
|
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().
|
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().
|
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().
|
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().
|
private |
Definition at line 110 of file LqstGeoParData.h.
View newest version in sPHENIX GitHub at line 110 of file LqstGeoParData.h
|
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().