EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EicGeoMap.h File Reference
#include <TString.h>
#include <TObject.h>
+ Include dependency graph for EicGeoMap.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EicBitMask< T >
 
class  GeantVolumeLevel
 
class  EicGeoMap
 

Macros

#define _GEANT_INDEX_BIT_NUM_   32
 
#define _GEANT_INDEX_BIT_MASK_   ((ULong64_t(0x1) << _GEANT_INDEX_BIT_NUM_) - 1)
 
#define _SERVICE_BIT_NUM_   ((sizeof(ULong64_t) << 3) - _GEANT_INDEX_BIT_NUM_)
 
#define _SERVICE_BIT_MASK_   ((ULong64_t(0x1) << _SERVICE_BIT_NUM_) - 1)
 
#define _LOGICAL_GROUP_BIT_NUM_   16
 
#define _LOGICAL_XYZ_BIT_NUM_   ((sizeof(ULogicalIndex_t) << 3) - _LOGICAL_GROUP_BIT_NUM_)
 
#define _LOGICAL_GROUP_NUM_MAX_   (ULogicalIndex_t(0x1) << (_LOGICAL_GROUP_BIT_NUM_))
 
#define _LOGICAL_GROUP_MASK_   (_LOGICAL_GROUP_NUM_MAX_-1)
 
#define _LOGICAL_INDEX_INVALID_   (~ULogicalIndex_t(0))
 

Typedefs

typedef UInt_t UGeantIndex_t
 
typedef ULong64_t ULogicalIndex_t
 

Macro Definition Documentation

#define _GEANT_INDEX_BIT_MASK_   ((ULong64_t(0x1) << _GEANT_INDEX_BIT_NUM_) - 1)

Definition at line 48 of file EicGeoMap.h.

View newest version in sPHENIX GitHub at line 48 of file EicGeoMap.h

Referenced by EicGeoParData::GeantMultiToLogicalIndex().

#define _GEANT_INDEX_BIT_NUM_   32
#define _LOGICAL_GROUP_BIT_NUM_   16

Definition at line 58 of file EicGeoMap.h.

View newest version in sPHENIX GitHub at line 58 of file EicGeoMap.h

#define _LOGICAL_GROUP_MASK_   (_LOGICAL_GROUP_NUM_MAX_-1)

Definition at line 62 of file EicGeoMap.h.

View newest version in sPHENIX GitHub at line 62 of file EicGeoMap.h

Referenced by EicGeoParData::GetGroup().

#define _LOGICAL_GROUP_NUM_MAX_   (ULogicalIndex_t(0x1) << (_LOGICAL_GROUP_BIT_NUM_))

Definition at line 60 of file EicGeoMap.h.

View newest version in sPHENIX GitHub at line 60 of file EicGeoMap.h

Referenced by EicGeoParData::AddLogicalVolumeGroup(), and EicGeoParData::SetMappingTableEntry().

#define _LOGICAL_INDEX_INVALID_   (~ULogicalIndex_t(0))

Definition at line 65 of file EicGeoMap.h.

View newest version in sPHENIX GitHub at line 65 of file EicGeoMap.h

Referenced by EicGeoMap::GeantToLogicalIndex(), EicTrackingDigiHit::ResetVars(), and EicGeoMap::SetMappingTableEntry().

#define _LOGICAL_XYZ_BIT_NUM_   ((sizeof(ULogicalIndex_t) << 3) - _LOGICAL_GROUP_BIT_NUM_)

Definition at line 59 of file EicGeoMap.h.

View newest version in sPHENIX GitHub at line 59 of file EicGeoMap.h

Referenced by EicGeoParData::AddLogicalVolumeGroup(), EicGeoParData::GetGroup(), and EicGeoParData::SetMappingTableEntry().

#define _SERVICE_BIT_MASK_   ((ULong64_t(0x1) << _SERVICE_BIT_NUM_) - 1)

Definition at line 52 of file EicGeoMap.h.

View newest version in sPHENIX GitHub at line 52 of file EicGeoMap.h

Referenced by EicGeoParData::GeantMultiToLogicalIndex(), EicGeoParData::GetMapPtrViaHitMultiIndex(), and EicDetector::GetNodeMultiIndex().

#define _SERVICE_BIT_NUM_   ((sizeof(ULong64_t) << 3) - _GEANT_INDEX_BIT_NUM_)

Definition at line 50 of file EicGeoMap.h.

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

Typedef Documentation

typedef UInt_t UGeantIndex_t

Definition at line 40 of file EicGeoMap.h.

View newest version in sPHENIX GitHub at line 40 of file EicGeoMap.h

typedef ULong64_t ULogicalIndex_t

Definition at line 43 of file EicGeoMap.h.

View newest version in sPHENIX GitHub at line 43 of file EicGeoMap.h