CMS 3D CMS Logo

Functions | Variables
HGCalProperty Namespace Reference

Functions

int32_t tileProperty (const int32_t type, const int32_t sipm)
 
int32_t tileSiPM (const int32_t property)
 
int32_t tileType (const int32_t property)
 
int32_t waferCassette (const int32_t property)
 
int32_t waferOrient (const int32_t property)
 
int32_t waferPartial (const int32_t property)
 
int32_t waferProperty (const int32_t thick, const int32_t partial, const int32_t orient, const int32_t cassette=0)
 
int32_t waferThick (const int32_t property)
 

Variables

constexpr int32_t kHGCalFactor = 10
 
constexpr int32_t kHGCalFactorCassette = 100
 
constexpr int32_t kHGCalFactorPartial = 100
 
constexpr int32_t kHGCalFineTilePhis = 432
 
constexpr int32_t kHGCalFineTilePhisBy2 = kHGCalFineTilePhis / 2
 
constexpr int32_t kHGCalFineTilePhisBy3 = kHGCalFineTilePhis / 3
 
constexpr int32_t kHGCalFineTilePhisWord = 36
 
constexpr int32_t kHGCalLayerMask = 0x1F
 
constexpr int32_t kHGCalLayerOffset = 18
 
constexpr int32_t kHGCalLayerOldMask = 0x1000000
 
constexpr int32_t kHGCalOffsetCassette = 10000
 
constexpr int32_t kHGCalOffsetOrient = 1000
 
constexpr int32_t kHGCalOffsetPartial = 10
 
constexpr int32_t kHGCalOffsetSiPM = 10
 
constexpr int32_t kHGCalOffsetThick = 1
 
constexpr int32_t kHGCalOffsetType = 1
 
constexpr int32_t kHGCalPhiMask = 0x1FF
 
constexpr int32_t kHGCalPhiOffset = 0
 
constexpr int32_t kHGCalRingMask = 0x1FF
 
constexpr int32_t kHGCalRingOffset = 9
 
constexpr int32_t kHGCalTilePack = 1000
 
constexpr int32_t kHGCalTilePhis = 288
 
constexpr int32_t kHGCalTilePhisBy2 = kHGCalTilePhis / 2
 
constexpr int32_t kHGCalTilePhisBy3 = kHGCalTilePhis / 3
 
constexpr int32_t kHGCalTilePhisWord = 24
 
constexpr int32_t kHGCalWaferCopyMask = 0x7FFFF
 
constexpr int32_t kHGCalWaferCopyOffset = 0
 
constexpr int32_t kHGCalWaferUMask = 0x1F
 
constexpr int32_t kHGCalWaferUOffset = 0
 
constexpr int32_t kHGCalWaferUSignMask = 0x1
 
constexpr int32_t kHGCalWaferUSignOffset = 5
 
constexpr int32_t kHGCalWaferVMask = 0x1F
 
constexpr int32_t kHGCalWaferVOffset = 6
 
constexpr int32_t kHGCalWaferVSignMask = 0x1
 
constexpr int32_t kHGCalWaferVSignOffset = 11
 

Function Documentation

◆ tileProperty()

int32_t HGCalProperty::tileProperty ( const int32_t  type,
const int32_t  sipm 
)

Definition at line 29 of file HGCalProperty.cc.

References kHGCalFactor, kHGCalOffsetSiPM, and kHGCalOffsetType.

Referenced by HGCalGeomParameters::loadSpecParsTrapezoid().

29  {
32 }
constexpr int32_t kHGCalOffsetSiPM
Definition: HGCalProperty.h:45
constexpr int32_t kHGCalFactor
Definition: HGCalProperty.h:37
constexpr int32_t kHGCalOffsetType
Definition: HGCalProperty.h:44

◆ tileSiPM()

int32_t HGCalProperty::tileSiPM ( const int32_t  property)

Definition at line 38 of file HGCalProperty.cc.

References kHGCalFactor, and kHGCalOffsetSiPM.

Referenced by HGCalGeomParameters::loadSpecParsTrapezoid().

38  {
40 }
constexpr int32_t kHGCalOffsetSiPM
Definition: HGCalProperty.h:45
constexpr int32_t kHGCalFactor
Definition: HGCalProperty.h:37

◆ tileType()

int32_t HGCalProperty::tileType ( const int32_t  property)

Definition at line 34 of file HGCalProperty.cc.

References kHGCalFactor, and kHGCalOffsetType.

Referenced by HGCalGeomParameters::loadSpecParsTrapezoid().

34  {
36 }
constexpr int32_t kHGCalFactor
Definition: HGCalProperty.h:37
constexpr int32_t kHGCalOffsetType
Definition: HGCalProperty.h:44

◆ waferCassette()

int32_t HGCalProperty::waferCassette ( const int32_t  property)

◆ waferOrient()

int32_t HGCalProperty::waferOrient ( const int32_t  property)

Definition at line 21 of file HGCalProperty.cc.

References kHGCalFactor, and kHGCalOffsetOrient.

Referenced by HGCalEEFileAlgo::HGCalEEFileAlgo(), HGCalHEFileAlgo::HGCalHEFileAlgo(), HGCalMixLayer::HGCalMixLayer(), HGCalMixRotatedCassette::HGCalMixRotatedCassette(), HGCalMixRotatedFineCassette::HGCalMixRotatedFineCassette(), HGCalMixRotatedLayer::HGCalMixRotatedLayer(), HGCalSiliconModule::HGCalSiliconModule(), HGCalSiliconRotatedCassette::HGCalSiliconRotatedCassette(), HGCalSiliconRotatedModule::HGCalSiliconRotatedModule(), DDHGCalHEFileAlgo::initialize(), DDHGCalEEFileAlgo::initialize(), DDHGCalMixLayer::initialize(), DDHGCalSiliconModule::initialize(), DDHGCalMixRotatedLayer::initialize(), DDHGCalMixRotatedFineCassette::initialize(), DDHGCalMixRotatedCassette::initialize(), DDHGCalSiliconRotatedModule::initialize(), DDHGCalSiliconRotatedCassette::initialize(), HGCalGeomParameters::loadSpecParsHexagon8(), DDHGCalMixLayer::positionMix(), DDHGCalMixRotatedFineCassette::positionMix(), DDHGCalMixRotatedLayer::positionMix(), DDHGCalMixRotatedCassette::positionMix(), HGCalMixLayer::positionMix(), HGCalMixRotatedLayer::positionMix(), HGCalMixRotatedCassette::positionMix(), HGCalMixRotatedFineCassette::positionMix(), DDHGCalSiliconRotatedCassette::positionPassive(), HGCalSiliconRotatedCassette::positionPassive(), DDHGCalSiliconModule::positionSensitive(), DDHGCalSiliconRotatedCassette::positionSensitive(), DDHGCalSiliconRotatedModule::positionSensitive(), HGCalSiliconModule::positionSensitive(), HGCalSiliconRotatedModule::positionSensitive(), and HGCalSiliconRotatedCassette::positionSensitive().

21  {
23 }
constexpr int32_t kHGCalOffsetOrient
Definition: HGCalProperty.h:42
constexpr int32_t kHGCalFactor
Definition: HGCalProperty.h:37

◆ waferPartial()

int32_t HGCalProperty::waferPartial ( const int32_t  property)

Definition at line 17 of file HGCalProperty.cc.

References kHGCalFactorPartial, and kHGCalOffsetPartial.

Referenced by HGCalEEFileAlgo::HGCalEEFileAlgo(), HGCalHEFileAlgo::HGCalHEFileAlgo(), HGCalMixLayer::HGCalMixLayer(), HGCalMixRotatedCassette::HGCalMixRotatedCassette(), HGCalMixRotatedFineCassette::HGCalMixRotatedFineCassette(), HGCalMixRotatedLayer::HGCalMixRotatedLayer(), HGCalSiliconModule::HGCalSiliconModule(), HGCalSiliconRotatedCassette::HGCalSiliconRotatedCassette(), HGCalSiliconRotatedModule::HGCalSiliconRotatedModule(), DDHGCalHEFileAlgo::initialize(), DDHGCalEEFileAlgo::initialize(), DDHGCalMixLayer::initialize(), DDHGCalSiliconModule::initialize(), DDHGCalMixRotatedLayer::initialize(), DDHGCalMixRotatedFineCassette::initialize(), DDHGCalMixRotatedCassette::initialize(), DDHGCalSiliconRotatedModule::initialize(), DDHGCalSiliconRotatedCassette::initialize(), HGCalGeomParameters::loadSpecParsHexagon8(), DDHGCalMixLayer::positionMix(), DDHGCalMixRotatedFineCassette::positionMix(), DDHGCalMixRotatedLayer::positionMix(), DDHGCalMixRotatedCassette::positionMix(), HGCalMixLayer::positionMix(), HGCalMixRotatedLayer::positionMix(), HGCalMixRotatedCassette::positionMix(), HGCalMixRotatedFineCassette::positionMix(), DDHGCalSiliconRotatedCassette::positionPassive(), HGCalSiliconRotatedCassette::positionPassive(), DDHGCalSiliconModule::positionSensitive(), DDHGCalSiliconRotatedCassette::positionSensitive(), DDHGCalSiliconRotatedModule::positionSensitive(), HGCalSiliconModule::positionSensitive(), HGCalSiliconRotatedModule::positionSensitive(), and HGCalSiliconRotatedCassette::positionSensitive().

17  {
19 }
constexpr int32_t kHGCalFactorPartial
Definition: HGCalProperty.h:38
constexpr int32_t kHGCalOffsetPartial
Definition: HGCalProperty.h:41

◆ waferProperty()

int32_t HGCalProperty::waferProperty ( const int32_t  thick,
const int32_t  partial,
const int32_t  orient,
const int32_t  cassette = 0 
)

◆ waferThick()

int32_t HGCalProperty::waferThick ( const int32_t  property)

Definition at line 13 of file HGCalProperty.cc.

References kHGCalFactor, and kHGCalOffsetThick.

Referenced by algorithm(), DDTIDModuleAlgo::execute(), DDTECModuleAlgo::execute(), HGCalWaferType::getType(), HGCalEEFileAlgo::HGCalEEFileAlgo(), HGCalHEFileAlgo::HGCalHEFileAlgo(), HGCalMixLayer::HGCalMixLayer(), HGCalMixRotatedCassette::HGCalMixRotatedCassette(), HGCalMixRotatedFineCassette::HGCalMixRotatedFineCassette(), HGCalMixRotatedLayer::HGCalMixRotatedLayer(), HGCalSiliconModule::HGCalSiliconModule(), HGCalSiliconRotatedCassette::HGCalSiliconRotatedCassette(), HGCalSiliconRotatedModule::HGCalSiliconRotatedModule(), DDTIDModuleAlgo::initialize(), DDTECModuleAlgo::initialize(), DDHGCalHEFileAlgo::initialize(), DDHGCalEEFileAlgo::initialize(), DDHGCalMixLayer::initialize(), DDHGCalSiliconModule::initialize(), DDHGCalMixRotatedLayer::initialize(), DDHGCalMixRotatedCassette::initialize(), DDHGCalMixRotatedFineCassette::initialize(), DDHGCalSiliconRotatedModule::initialize(), DDHGCalSiliconRotatedCassette::initialize(), HGCalGeomParameters::loadSpecParsHexagon8(), DDHGCalMixLayer::positionMix(), DDHGCalMixRotatedFineCassette::positionMix(), DDHGCalMixRotatedLayer::positionMix(), DDHGCalMixRotatedCassette::positionMix(), HGCalMixLayer::positionMix(), HGCalMixRotatedLayer::positionMix(), HGCalMixRotatedCassette::positionMix(), HGCalMixRotatedFineCassette::positionMix(), DDHGCalSiliconRotatedCassette::positionPassive(), HGCalSiliconRotatedCassette::positionPassive(), DDHGCalSiliconModule::positionSensitive(), DDHGCalSiliconRotatedModule::positionSensitive(), DDHGCalSiliconRotatedCassette::positionSensitive(), HGCalSiliconModule::positionSensitive(), HGCalSiliconRotatedModule::positionSensitive(), and HGCalSiliconRotatedCassette::positionSensitive().

13  {
15 }
constexpr int32_t kHGCalOffsetThick
Definition: HGCalProperty.h:40
constexpr int32_t kHGCalFactor
Definition: HGCalProperty.h:37

Variable Documentation

◆ kHGCalFactor

constexpr int32_t HGCalProperty::kHGCalFactor = 10

◆ kHGCalFactorCassette

constexpr int32_t HGCalProperty::kHGCalFactorCassette = 100

Definition at line 39 of file HGCalProperty.h.

Referenced by waferCassette(), and waferProperty().

◆ kHGCalFactorPartial

constexpr int32_t HGCalProperty::kHGCalFactorPartial = 100

Definition at line 38 of file HGCalProperty.h.

Referenced by waferPartial(), and waferProperty().

◆ kHGCalFineTilePhis

constexpr int32_t HGCalProperty::kHGCalFineTilePhis = 432

Definition at line 49 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileFineExist().

◆ kHGCalFineTilePhisBy2

constexpr int32_t HGCalProperty::kHGCalFineTilePhisBy2 = kHGCalFineTilePhis / 2

Definition at line 54 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileFineExist().

◆ kHGCalFineTilePhisBy3

constexpr int32_t HGCalProperty::kHGCalFineTilePhisBy3 = kHGCalFineTilePhis / 3

Definition at line 55 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileFineExist().

◆ kHGCalFineTilePhisWord

constexpr int32_t HGCalProperty::kHGCalFineTilePhisWord = 36

Definition at line 51 of file HGCalProperty.h.

◆ kHGCalLayerMask

constexpr int32_t HGCalProperty::kHGCalLayerMask = 0x1F

◆ kHGCalLayerOffset

constexpr int32_t HGCalProperty::kHGCalLayerOffset = 18

◆ kHGCalLayerOldMask

constexpr int32_t HGCalProperty::kHGCalLayerOldMask = 0x1000000

Definition at line 27 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferFormat(), and HGCalWaferIndex::waferIndex().

◆ kHGCalOffsetCassette

constexpr int32_t HGCalProperty::kHGCalOffsetCassette = 10000

Definition at line 43 of file HGCalProperty.h.

Referenced by waferCassette(), and waferProperty().

◆ kHGCalOffsetOrient

constexpr int32_t HGCalProperty::kHGCalOffsetOrient = 1000

Definition at line 42 of file HGCalProperty.h.

Referenced by waferOrient(), and waferProperty().

◆ kHGCalOffsetPartial

constexpr int32_t HGCalProperty::kHGCalOffsetPartial = 10

Definition at line 41 of file HGCalProperty.h.

Referenced by waferPartial(), and waferProperty().

◆ kHGCalOffsetSiPM

constexpr int32_t HGCalProperty::kHGCalOffsetSiPM = 10

◆ kHGCalOffsetThick

constexpr int32_t HGCalProperty::kHGCalOffsetThick = 1

Definition at line 40 of file HGCalProperty.h.

Referenced by waferProperty(), and waferThick().

◆ kHGCalOffsetType

constexpr int32_t HGCalProperty::kHGCalOffsetType = 1

◆ kHGCalPhiMask

constexpr int32_t HGCalProperty::kHGCalPhiMask = 0x1FF

Definition at line 33 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileIndex(), and HGCalTileIndex::tilePhi().

◆ kHGCalPhiOffset

constexpr int32_t HGCalProperty::kHGCalPhiOffset = 0

Definition at line 32 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileIndex(), and HGCalTileIndex::tilePhi().

◆ kHGCalRingMask

constexpr int32_t HGCalProperty::kHGCalRingMask = 0x1FF

Definition at line 35 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileIndex(), and HGCalTileIndex::tileRing().

◆ kHGCalRingOffset

constexpr int32_t HGCalProperty::kHGCalRingOffset = 9

Definition at line 34 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileIndex(), and HGCalTileIndex::tileRing().

◆ kHGCalTilePack

constexpr int32_t HGCalProperty::kHGCalTilePack = 1000

Definition at line 46 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tilePack(), and HGCalTileIndex::tileUnpack().

◆ kHGCalTilePhis

constexpr int32_t HGCalProperty::kHGCalTilePhis = 288

Definition at line 48 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileExist().

◆ kHGCalTilePhisBy2

constexpr int32_t HGCalProperty::kHGCalTilePhisBy2 = kHGCalTilePhis / 2

Definition at line 52 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileExist().

◆ kHGCalTilePhisBy3

constexpr int32_t HGCalProperty::kHGCalTilePhisBy3 = kHGCalTilePhis / 3

Definition at line 53 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileExist().

◆ kHGCalTilePhisWord

constexpr int32_t HGCalProperty::kHGCalTilePhisWord = 24

Definition at line 50 of file HGCalProperty.h.

Referenced by HGCalTileIndex::tileExist(), and HGCalTileIndex::tileFineExist().

◆ kHGCalWaferCopyMask

constexpr int32_t HGCalProperty::kHGCalWaferCopyMask = 0x7FFFF

Definition at line 26 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferCopy(), and HGCalWaferIndex::waferIndex().

◆ kHGCalWaferCopyOffset

constexpr int32_t HGCalProperty::kHGCalWaferCopyOffset = 0

Definition at line 25 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferCopy(), and HGCalWaferIndex::waferIndex().

◆ kHGCalWaferUMask

constexpr int32_t HGCalProperty::kHGCalWaferUMask = 0x1F

Definition at line 18 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferIndex(), and HGCalWaferIndex::waferU().

◆ kHGCalWaferUOffset

constexpr int32_t HGCalProperty::kHGCalWaferUOffset = 0

Definition at line 17 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferIndex(), and HGCalWaferIndex::waferU().

◆ kHGCalWaferUSignMask

constexpr int32_t HGCalProperty::kHGCalWaferUSignMask = 0x1

Definition at line 20 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferIndex(), and HGCalWaferIndex::waferU().

◆ kHGCalWaferUSignOffset

constexpr int32_t HGCalProperty::kHGCalWaferUSignOffset = 5

Definition at line 19 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferIndex(), and HGCalWaferIndex::waferU().

◆ kHGCalWaferVMask

constexpr int32_t HGCalProperty::kHGCalWaferVMask = 0x1F

Definition at line 22 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferIndex(), and HGCalWaferIndex::waferV().

◆ kHGCalWaferVOffset

constexpr int32_t HGCalProperty::kHGCalWaferVOffset = 6

Definition at line 21 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferIndex(), and HGCalWaferIndex::waferV().

◆ kHGCalWaferVSignMask

constexpr int32_t HGCalProperty::kHGCalWaferVSignMask = 0x1

Definition at line 24 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferIndex(), and HGCalWaferIndex::waferV().

◆ kHGCalWaferVSignOffset

constexpr int32_t HGCalProperty::kHGCalWaferVSignOffset = 11

Definition at line 23 of file HGCalProperty.h.

Referenced by HGCalWaferIndex::waferIndex(), and HGCalWaferIndex::waferV().