EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/eic/base/EicGeoMap.h>
Public Member Functions | |
EicGeoMap () | |
~EicGeoMap () | |
unsigned | GetGeantVolumeLevelNum () const |
const GeantVolumeLevel * | GetGeantVolumeLevelPtr (unsigned volumeID) const |
int | AddGeantVolumeLevel (const TString &volumeName, UGeantIndex_t maxEntryNum) |
bool | IsMySignature (const unsigned lvIDs[]) const |
const TString * | GetBaseVolumePath () const |
void | AssignBaseVolumePath (const char *baseVolumePath) |
void | SetSensitivityFlag (double birkConstant=0.0) |
bool | IsSensitive () const |
void | SetSingleSensorContainerVolume (const char *singleSensorContainerVolumeName) |
const TString & | GetSingleSensorContainerVolumeName () const |
const TString * | GetInnermostVolumeName () const |
UGeantIndex_t | GetMappingTableDim () const |
const ULogicalIndex_t * | GetMappingTable () const |
double | GetBirkConstant () const |
EicGeoMap () | |
~EicGeoMap () | |
unsigned | GetGeantVolumeLevelNum () const |
const GeantVolumeLevel * | GetGeantVolumeLevelPtr (unsigned volumeID) const |
int | AddGeantVolumeLevel (const TString &volumeName, UGeantIndex_t maxEntryNum) |
bool | IsMySignature (const unsigned lvIDs[]) const |
const TString * | GetBaseVolumePath () const |
void | AssignBaseVolumePath (const char *baseVolumePath) |
void | SetSensitivityFlag (double birkConstant=0.0) |
bool | IsSensitive () const |
void | SetSingleSensorContainerVolume (const char *singleSensorContainerVolumeName) |
const TString & | GetSingleSensorContainerVolumeName () const |
const TString * | GetInnermostVolumeName () const |
UGeantIndex_t | GetMappingTableDim () const |
const ULogicalIndex_t * | GetMappingTable () const |
double | GetBirkConstant () const |
Private Member Functions | |
int | CalculateBitPattern () |
int | SetMappingTableEntry (const unsigned geo[], ULogicalIndex_t logical) |
int | CalculateMappingTableSignature () |
ULogicalIndex_t | GeantToLogicalIndex (UGeantIndex_t geant) const |
ClassDef (EicGeoMap, 16) | |
int | CalculateBitPattern () |
int | SetMappingTableEntry (const unsigned geo[], ULogicalIndex_t logical) |
int | CalculateMappingTableSignature () |
ULogicalIndex_t | GeantToLogicalIndex (UGeantIndex_t geant) const |
ClassDef (EicGeoMap, 16) | |
Private Attributes | |
bool | mSensitivityFlag |
double | mBirkConstant |
std::vector< GeantVolumeLevel * > | mGeantVolumeLevels |
UGeantIndex_t | mMappingTableDim |
ULogicalIndex_t * | mMappingTable |
TString | mBaseVolumePath |
TString | mSingleSensorContainerVolumeName |
Friends | |
class | EicGeoParData |
Definition at line 139 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 139 of file EicGeoMap.h
|
inline |
Definition at line 146 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 146 of file EicGeoMap.h
|
inline |
Definition at line 148 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 148 of file EicGeoMap.h
|
inline |
Definition at line 146 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 146 of file EicGeoMap.h
|
inline |
Definition at line 148 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 148 of file EicGeoMap.h
int EicGeoMap::AddGeantVolumeLevel | ( | const TString & | volumeName, |
UGeantIndex_t | maxEntryNum | ||
) |
Definition at line 46 of file EicGeoMap.cxx.
View newest version in sPHENIX GitHub at line 46 of file EicGeoMap.cxx
References mGeantVolumeLevels, GeantVolumeLevel::mMaxEntryNum, GeantVolumeLevel::mVolumeName, and printf().
Referenced by b0tracker(), LqstGeoParData::constructEcalLayers(), VstGeoParData::ConstructGeometry(), FstGeoParData::ConstructGeometry(), MuMegasGeoParData::ConstructGeometry(), GemGeoParData::ConstructGeometry(), MapsGeoParData::ConstructStaveWithMapping(), LqstGeoParData::constructTrackerLayers(), femc(), hcal(), ip(), ippt(), lqst(), rich(), romanPot_v2(), rp(), tpc(), tracker(), and zdc().
int EicGeoMap::AddGeantVolumeLevel | ( | const TString & | volumeName, |
UGeantIndex_t | maxEntryNum | ||
) |
|
inline |
Definition at line 161 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 161 of file EicGeoMap.h
References mBaseVolumePath.
Referenced by EicDetector::GetNodeMultiIndex().
|
inline |
Definition at line 161 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 161 of file EicGeoMap.h
References mBaseVolumePath.
|
private |
|
private |
Definition at line 13 of file EicGeoMap.cxx.
View newest version in sPHENIX GitHub at line 13 of file EicGeoMap.cxx
References _GEANT_INDEX_BIT_NUM_, EicBitMask< T >::GetBitNum(), GeantVolumeLevel::mBitMask, mGeantVolumeLevels, mMappingTableDim, GeantVolumeLevel::mMaxEntryNum, printf(), and EicBitMask< T >::SetShift().
Referenced by SetMappingTableEntry().
|
private |
|
private |
Definition at line 123 of file EicGeoMap.cxx.
View newest version in sPHENIX GitHub at line 123 of file EicGeoMap.cxx
References mGeantVolumeLevels, GeantVolumeLevel::mVolumeID, GeantVolumeLevel::mVolumeName, printf(), and Acts::Test::volume.
Referenced by EicGeoParData::CalculateMappingTableSignatures().
|
private |
|
private |
|
inlineprivate |
Definition at line 229 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 229 of file EicGeoMap.h
References _LOGICAL_INDEX_INVALID_, mMappingTable, and mMappingTableDim.
|
inlineprivate |
Definition at line 229 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 229 of file EicGeoMap.h
References _LOGICAL_INDEX_INVALID_, mMappingTable, and mMappingTableDim.
|
inline |
Definition at line 160 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 160 of file EicGeoMap.h
References mBaseVolumePath.
Referenced by EicDetector::GetNodeMultiIndex(), and EicGeoParData::InitializeLookupTables().
|
inline |
Definition at line 160 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 160 of file EicGeoMap.h
References mBaseVolumePath.
|
inline |
Definition at line 185 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 185 of file EicGeoMap.h
References mBirkConstant.
|
inline |
Definition at line 185 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 185 of file EicGeoMap.h
Referenced by EicCalorimeterDigiHitProducer::HandleHit().
|
inline |
Definition at line 150 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 150 of file EicGeoMap.h
References mGeantVolumeLevels.
|
inline |
Definition at line 150 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 150 of file EicGeoMap.h
References mGeantVolumeLevels.
Referenced by EicGeoParData::CalculateMappingTableSignatures(), EicDetector::GetNodeMultiIndex(), and EicGeoParData::InitializeLookupTables().
|
inline |
Definition at line 151 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 151 of file EicGeoMap.h
References mGeantVolumeLevels.
Referenced by GetInnermostVolumeName(), EicDetector::GetNodeMultiIndex(), and EicGeoParData::InitializeLookupTables().
|
inline |
Definition at line 151 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 151 of file EicGeoMap.h
References mGeantVolumeLevels.
|
inline |
Definition at line 178 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 178 of file EicGeoMap.h
References GetGeantVolumeLevelPtr(), GeantVolumeLevel::GetVolumeName(), and mGeantVolumeLevels.
Referenced by EicDetector::ConstructGeometry(), EicCalorimeterDigiHitProducer::ExtraInit(), EicCalorimeterDigiHitProducer::HandleHit(), EicDigiHitProducer::Init(), and EicGeoParData::PlaceG4Volume().
|
inline |
Definition at line 178 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 178 of file EicGeoMap.h
References GetGeantVolumeLevelPtr(), GeantVolumeLevel::GetVolumeName(), and mGeantVolumeLevels.
|
inline |
Definition at line 183 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 183 of file EicGeoMap.h
References mMappingTable.
|
inline |
Definition at line 183 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 183 of file EicGeoMap.h
References mMappingTable.
Referenced by EicGeoParData::InitializeLookupTables().
|
inline |
Definition at line 182 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 182 of file EicGeoMap.h
References mMappingTableDim.
|
inline |
Definition at line 182 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 182 of file EicGeoMap.h
References mMappingTableDim.
Referenced by EicGeoParData::InitializeLookupTables().
|
inline |
Definition at line 174 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 174 of file EicGeoMap.h
References mSingleSensorContainerVolumeName.
Referenced by EicGeoParData::InitializeLookupTables().
|
inline |
Definition at line 174 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 174 of file EicGeoMap.h
References mSingleSensorContainerVolumeName.
bool EicGeoMap::IsMySignature | ( | const unsigned | lvIDs[] | ) | const |
bool EicGeoMap::IsMySignature | ( | const unsigned | lvIDs[] | ) | const |
Definition at line 145 of file EicGeoMap.cxx.
View newest version in sPHENIX GitHub at line 145 of file EicGeoMap.cxx
References mGeantVolumeLevels, and GeantVolumeLevel::mVolumeID.
Referenced by EicDetector::GetNodeMultiIndex().
|
inline |
Definition at line 167 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 167 of file EicGeoMap.h
References mSensitivityFlag.
Referenced by EicCalorimeterDigiHitProducer::HandleHit(), and EicTrackingDigiHitProducer::HandleHit().
|
inline |
Definition at line 167 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 167 of file EicGeoMap.h
References mSensitivityFlag.
|
private |
Definition at line 70 of file EicGeoMap.cxx.
View newest version in sPHENIX GitHub at line 70 of file EicGeoMap.cxx
References _LOGICAL_INDEX_INVALID_, CalculateBitPattern(), EicBitMask< T >::GetShift(), GeantVolumeLevel::GetVolumeName(), GeantVolumeLevel::mBitMask, mGeantVolumeLevels, mMappingTable, mMappingTableDim, GeantVolumeLevel::mMaxEntryNum, printf(), and value.
Referenced by EicGeoParData::SetMappingTableEntry().
|
private |
|
inline |
Definition at line 163 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 163 of file EicGeoMap.h
References mBirkConstant, and mSensitivityFlag.
Referenced by EicCalorimeterDigiHitProducer::ExtraInit(), and EicDigiHitProducer::Init().
|
inline |
Definition at line 163 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 163 of file EicGeoMap.h
References mBirkConstant, and mSensitivityFlag.
|
inline |
Definition at line 171 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 171 of file EicGeoMap.h
References mSingleSensorContainerVolumeName.
|
inline |
Definition at line 171 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 171 of file EicGeoMap.h
References mSingleSensorContainerVolumeName.
Referenced by LqstGeoParData::constructEcalLayers(), VstGeoParData::ConstructGeometry(), FstGeoParData::ConstructGeometry(), MuMegasGeoParData::ConstructGeometry(), GemGeoParData::ConstructGeometry(), MapsGeoParData::ConstructStaveWithMapping(), LqstGeoParData::constructTrackerLayers(), femc(), hcal(), ip(), rich(), tpc(), tracker(), and zdc().
|
friend |
Definition at line 143 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 143 of file EicGeoMap.h
|
private |
Definition at line 210 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 210 of file EicGeoMap.h
Referenced by AssignBaseVolumePath(), and GetBaseVolumePath().
|
private |
Definition at line 192 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 192 of file EicGeoMap.h
Referenced by GetBirkConstant(), and SetSensitivityFlag().
|
private |
Definition at line 198 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 198 of file EicGeoMap.h
Referenced by AddGeantVolumeLevel(), CalculateBitPattern(), CalculateMappingTableSignature(), GetGeantVolumeLevelNum(), GetGeantVolumeLevelPtr(), GetInnermostVolumeName(), IsMySignature(), and SetMappingTableEntry().
|
private |
Definition at line 206 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 206 of file EicGeoMap.h
Referenced by GeantToLogicalIndex(), GetMappingTable(), and SetMappingTableEntry().
|
private |
Definition at line 205 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 205 of file EicGeoMap.h
Referenced by CalculateBitPattern(), GeantToLogicalIndex(), GetMappingTableDim(), and SetMappingTableEntry().
|
private |
Definition at line 185 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 185 of file EicGeoMap.h
Referenced by IsSensitive(), and SetSensitivityFlag().
|
private |
Definition at line 218 of file EicGeoMap.h.
View newest version in sPHENIX GitHub at line 218 of file EicGeoMap.h
Referenced by GetSingleSensorContainerVolumeName(), and SetSingleSensorContainerVolume().