CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes
BTLDetId Class Reference

Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0, copy number must be scaled by 1 unit. More...

#include <BTLDetId.h>

Inheritance diagram for BTLDetId:
MTDDetId DetId

Public Types

enum  CrysLayout { CrysLayout::tile = 1, CrysLayout::bar = 2, CrysLayout::barzflat = 3 }
 
- Public Types inherited from MTDDetId
enum  MTDType { typeUNKNOWN =0, BTL =1, ETL =2 }
 
enum  SubDetector { subUNKNOWN =0, FastTime =1 }
 
- Public Types inherited from DetId
enum  Detector {
  Tracker =1, Muon =2, Ecal =3, Hcal =4,
  Calo =5, Forward =6, VeryForward =7, HGCalEE =8,
  HGCalHSi =9, HGCalHSc =10, HGCalTrigger =11
}
 

Public Member Functions

 BTLDetId ()
 
 BTLDetId (const uint32_t &raw_id)
 
 BTLDetId (const DetId &det_id)
 
 BTLDetId (uint32_t zside, uint32_t rod, uint32_t module, uint32_t modtyp, uint32_t crystal)
 
int crystal () const
 
BTLDetId getUnhashedIndex (int hi, CrysLayout lay) const
 
int hashedIndex (CrysLayout lay) const
 
int ieta (CrysLayout lay) const
 
int ietaAbs (CrysLayout lay) const
 
int iphi (CrysLayout lay) const
 
int modType () const
 
int module () const
 
- Public Member Functions inherited from MTDDetId
 MTDDetId ()
 
 MTDDetId (const uint32_t &raw_id)
 
 MTDDetId (const DetId &det_id)
 
 MTDDetId (Detector det, int subdet)
 
int mtdRR () const
 
int mtdSide () const
 
int mtdSubDetector () const
 
SubDetector subDetector () const
 
int zside () const
 
- Public Member Functions inherited from DetId
constexpr Detector det () const
 get the detector field from this detid More...
 
constexpr DetId ()
 Create an empty or null id (also for persistence) More...
 
constexpr DetId (uint32_t id)
 Create an id from a raw number. More...
 
constexpr DetId (Detector det, int subdet)
 Create an id, filling the detector and subdetector fields as specified. More...
 
constexpr bool null () const
 is this a null id ? More...
 
constexpr operator uint32_t () const
 
constexpr bool operator!= (DetId id) const
 inequality More...
 
constexpr uint32_t operator() () const
 
constexpr bool operator< (DetId id) const
 comparison More...
 
constexpr bool operator== (DetId id) const
 equality More...
 
constexpr uint32_t rawId () const
 get the raw id More...
 
constexpr int subdetId () const
 get the contents of the subdetector field (not cast into any detector's numbering enum) More...
 

Static Public Member Functions

static bool validHashedIndex (uint32_t din)
 

Static Public Attributes

static constexpr int HALF_ROD = 36
 
static constexpr uint32_t kBTLCrystalMask = 0x3F
 
static constexpr uint32_t kBTLCrystalOffset = 0
 
static constexpr uint32_t kBTLmodTypeMask = 0x3
 
static constexpr uint32_t kBTLmodTypeOffset = 8
 
static constexpr uint32_t kBTLmoduleMask = 0x3F
 
static constexpr uint32_t kBTLmoduleOffset = 10
 
static constexpr int kCrystalsInEtaBar = 16
 
static constexpr int kCrystalsInEtaBarZ = 1
 
static constexpr int kCrystalsInEtaTile = 4
 
static constexpr int kCrystalsInPhiBar = 4
 
static constexpr int kCrystalsInPhiBarZ = 64
 
static constexpr int kCrystalsInPhiTile = 16
 
static constexpr int kCrystalsPerROD = kModulesPerROD*kCrystalsInPhiTile*kCrystalsInEtaTile
 
static constexpr int kCrystalsPerRODBarZflat = kModulesPerRODBarZflat*kCrystalsInPhiBarZ*kCrystalsInEtaBarZ
 
static constexpr int kModulesPerROD = 54
 range constants, need two sets for the time being (one for tiles and one for bars) More...
 
static constexpr int kModulesPerRODBarZflat = 42
 
static constexpr int kSizeForDenseIndexing = MAX_HASH + 1
 
static constexpr std::array< int, 4 > kTypeBoundariesBarZflat { { 0, 14, 28, 42 } }
 
static constexpr std::array< int, 4 > kTypeBoundariesReference { { 0, 18, 36, 54 } }
 
static constexpr int MAX_HASH = 2*MAX_IPHI_TILE*MAX_IETA_TILE-1
 
static constexpr int MAX_IETA_BAR = kCrystalsInEtaBar*kModulesPerROD
 
static constexpr int MAX_IETA_BARZ = kCrystalsInEtaBarZ*kModulesPerROD
 
static constexpr int MAX_IETA_BARZFLAT = kCrystalsInEtaBarZ*kModulesPerRODBarZflat
 
static constexpr int MAX_IETA_TILE = kCrystalsInEtaTile*kModulesPerROD
 
static constexpr int MAX_IPHI_BAR = kCrystalsInPhiBar*HALF_ROD
 
static constexpr int MAX_IPHI_BARZ = kCrystalsInPhiBarZ*HALF_ROD
 
static constexpr int MAX_IPHI_BARZFLAT = kCrystalsInPhiBarZ*HALF_ROD
 
static constexpr int MAX_IPHI_TILE = kCrystalsInPhiTile*HALF_ROD
 
static constexpr int MAX_ROD = 72
 
static constexpr int MIN_HASH = 0
 
static constexpr int MIN_IETA = 1
 
static constexpr int MIN_IPHI = 1
 
static constexpr int MIN_ROD = 1
 
- Static Public Attributes inherited from MTDDetId
static const uint32_t kMTDsubdMask = 0x3
 
static const uint32_t kMTDsubdOffset = 23
 
static const uint32_t kRodRingMask = 0x3F
 
static const uint32_t kRodRingOffset = 16
 
static const uint32_t kZsideMask = 0x1
 
static const uint32_t kZsideOffset = 22
 
- Static Public Attributes inherited from DetId
static const int kDetMask = 0xF
 
static const int kDetOffset = 28
 
static const int kSubdetMask = 0x7
 
static const int kSubdetOffset = 25
 

Additional Inherited Members

- Protected Attributes inherited from DetId
uint32_t id_
 

Detailed Description

Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0, copy number must be scaled by 1 unit.

bit 15-10: module sequential number bit 9-8 : crystal type (1 - 3) bit 7-0 : crystal sequential number within a module ( 0 - 63 )

Definition at line 18 of file BTLDetId.h.

Member Enumeration Documentation

enum BTLDetId::CrysLayout
strong
Enumerator
tile 
bar 
barzflat 

Definition at line 59 of file BTLDetId.h.

59 { tile = 1 , bar = 2 , barzflat = 3} ;

Constructor & Destructor Documentation

BTLDetId::BTLDetId ( )
inline

Construct a null id

Definition at line 64 of file BTLDetId.h.

References DetId::id_, MTDDetId::kMTDsubdMask, and MTDDetId::kMTDsubdOffset.

Referenced by getUnhashedIndex().

MTDDetId()
Definition: MTDDetId.h:41
static const uint32_t kMTDsubdOffset
Definition: MTDDetId.h:31
static const uint32_t kMTDsubdMask
Definition: MTDDetId.h:32
uint32_t id_
Definition: DetId.h:62
BTLDetId::BTLDetId ( const uint32_t &  raw_id)
inline

Construct from a raw value

Definition at line 67 of file BTLDetId.h.

67 : MTDDetId( raw_id ) {;}
MTDDetId()
Definition: MTDDetId.h:41
BTLDetId::BTLDetId ( const DetId det_id)
inline

Construct from generic DetId

Definition at line 70 of file BTLDetId.h.

70 : MTDDetId( det_id.rawId() ) {;}
MTDDetId()
Definition: MTDDetId.h:41
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
BTLDetId::BTLDetId ( uint32_t  zside,
uint32_t  rod,
uint32_t  module,
uint32_t  modtyp,
uint32_t  crystal 
)
inline

Construct and fill only the det and sub-det fields.

Definition at line 73 of file BTLDetId.h.

References DetId::id_, kBTLCrystalMask, kBTLmodTypeMask, MTDDetId::kMTDsubdMask, MTDDetId::kMTDsubdOffset, MTDDetId::kRodRingMask, MTDDetId::kRodRingOffset, MTDDetId::kZsideMask, and MTDDetId::kZsideOffset.

78  id_ |= ( MTDType::BTL& kMTDsubdMask ) << kMTDsubdOffset |
79  ( zside& kZsideMask ) << kZsideOffset |
80  ( rod& kRodRingMask ) << kRodRingOffset |
82  ( modtyp& kBTLmodTypeMask ) << kBTLmodTypeOffset |
84  }
static const uint32_t kRodRingOffset
Definition: MTDDetId.h:35
MTDDetId()
Definition: MTDDetId.h:41
static constexpr uint32_t kBTLmodTypeOffset
Definition: BTLDetId.h:24
static constexpr uint32_t kBTLmodTypeMask
Definition: BTLDetId.h:25
static const uint32_t kZsideOffset
Definition: MTDDetId.h:33
static const uint32_t kMTDsubdOffset
Definition: MTDDetId.h:31
static const uint32_t kRodRingMask
Definition: MTDDetId.h:36
static constexpr uint32_t kBTLmoduleOffset
Definition: BTLDetId.h:22
static const uint32_t kMTDsubdMask
Definition: MTDDetId.h:32
static const uint32_t kZsideMask
Definition: MTDDetId.h:34
uint32_t id_
Definition: DetId.h:62
int zside() const
Definition: MTDDetId.h:63
static constexpr uint32_t kBTLCrystalOffset
Definition: BTLDetId.h:26
Definition: vlib.h:208
static constexpr uint32_t kBTLmoduleMask
Definition: BTLDetId.h:23
int crystal() const
Definition: BTLDetId.h:95
static constexpr uint32_t kBTLCrystalMask
Definition: BTLDetId.h:27

Member Function Documentation

int BTLDetId::crystal ( ) const
inline

Returns BTL crystal number.

Definition at line 95 of file BTLDetId.h.

References DetId::id_, ietaAbs(), and iphi().

Referenced by getUnhashedIndex(), ietaAbs(), and iphi().

95 { return ((id_>>kBTLCrystalOffset)&kBTLCrystalMask) + 1; }
uint32_t id_
Definition: DetId.h:62
static constexpr uint32_t kBTLCrystalOffset
Definition: BTLDetId.h:26
static constexpr uint32_t kBTLCrystalMask
Definition: BTLDetId.h:27
BTLDetId BTLDetId::getUnhashedIndex ( int  hi,
CrysLayout  lay 
) const

get a DetId from a compact index for arrays

Definition at line 86 of file BTLDetId.cc.

References bar, barzflat, BTLDetId(), crystal(), kCrystalsInEtaBar, kCrystalsInEtaBarZ, kCrystalsInEtaTile, kCrystalsInPhiBar, kCrystalsInPhiBarZ, kCrystalsInPhiTile, kTypeBoundariesBarZflat, kTypeBoundariesReference, MAX_IETA_BAR, MAX_IETA_BARZFLAT, MAX_IETA_TILE, MAX_IPHI_BAR, MAX_IPHI_BARZFLAT, MAX_IPHI_TILE, tile, and MTDDetId::zside().

Referenced by validHashedIndex().

86  {
87  int max_iphi =1 ,max_ieta = 1, nphi = 0, keta = 0, tmphi = hi + 1;
88  std::array<int,4> kTypeBoundaries = {};
89  switch ( lay ) {
90  case CrysLayout::tile : {
91  max_iphi = MAX_IPHI_TILE;
92  max_ieta = MAX_IETA_TILE;
93  nphi = kCrystalsInPhiTile;
94  keta = kCrystalsInEtaTile;
95  kTypeBoundaries = kTypeBoundariesReference;
96  break ;
97  }
98  case CrysLayout::bar : {
99  max_iphi = MAX_IPHI_BAR;
100  max_ieta = MAX_IETA_BAR;
101  nphi = kCrystalsInPhiBar;
102  keta = kCrystalsInEtaBar;
103  kTypeBoundaries = kTypeBoundariesReference;
104  break ;
105  }
106  case CrysLayout::barzflat : {
107  max_iphi = MAX_IPHI_BARZFLAT;
108  max_ieta = MAX_IETA_BARZFLAT;
109  nphi = kCrystalsInPhiBarZ;
110  keta = kCrystalsInEtaBarZ;
111  kTypeBoundaries = kTypeBoundariesBarZflat;
112  break ;
113  }
114  default: {
115  break ;
116  }
117  }
118  int zside = 0, rod = 0, module = 0, modtype = 1, crystal = 0;
119  if ( tmphi > max_ieta*max_iphi ) { zside = 1; }
120  int ip = (tmphi-1)%max_iphi+1;
121  int ie = (tmphi-1)/max_iphi - max_ieta;
122  ie = ( zside == 1 ? ie + 1 : -ie ) ;
123  rod = (ip-1)/nphi+1;
124  module = (ie-1)/keta+1 ;
125  if ( module > kTypeBoundaries[1] ) { modtype = (module > kTypeBoundaries[2] ? 3 : 2 ) ; }
126  if ( modtype > 1 ) { module = module - kTypeBoundaries[modtype-1]; }
127  crystal = ((ip-1)%nphi+1)+((ie-1)%keta)*nphi;
128  return BTLDetId( zside, rod, module, modtype, crystal);
129 }
static constexpr int MAX_IETA_BAR
Definition: BTLDetId.h:49
static constexpr std::array< int, 4 > kTypeBoundariesReference
Definition: BTLDetId.h:32
static constexpr int MAX_IPHI_BAR
Definition: BTLDetId.h:50
BTLDetId()
Definition: BTLDetId.h:64
static constexpr int MAX_IETA_TILE
Definition: BTLDetId.h:47
static constexpr int MAX_IPHI_BARZFLAT
Definition: BTLDetId.h:54
static constexpr int MAX_IPHI_TILE
Definition: BTLDetId.h:48
static constexpr int kCrystalsInPhiBar
Definition: BTLDetId.h:36
static constexpr std::array< int, 4 > kTypeBoundariesBarZflat
Definition: BTLDetId.h:33
static constexpr int kCrystalsInPhiTile
Definition: BTLDetId.h:34
static constexpr int kCrystalsInEtaBar
Definition: BTLDetId.h:37
static constexpr int MAX_IETA_BARZFLAT
Definition: BTLDetId.h:53
static constexpr int kCrystalsInEtaBarZ
Definition: BTLDetId.h:39
int zside() const
Definition: MTDDetId.h:63
static constexpr int kCrystalsInEtaTile
Definition: BTLDetId.h:35
static constexpr int kCrystalsInPhiBarZ
Definition: BTLDetId.h:38
Definition: vlib.h:208
int crystal() const
Definition: BTLDetId.h:95
int BTLDetId::hashedIndex ( CrysLayout  lay) const

define a dense index of arrays from a DetId

Definition at line 59 of file BTLDetId.cc.

References bar, barzflat, ietaAbs(), iphi(), MAX_IETA_BAR, MAX_IETA_BARZFLAT, MAX_IETA_TILE, MAX_IPHI_BAR, MAX_IPHI_BARZFLAT, MAX_IPHI_TILE, tile, and MTDDetId::zside().

Referenced by ieta().

59  {
60  int max_iphi = 1, max_ieta = 1;
61  switch ( lay ) {
62  case CrysLayout::tile : {
63  max_iphi = MAX_IPHI_TILE;
64  max_ieta = MAX_IETA_TILE;
65  break ;
66  }
67  case CrysLayout::bar : {
68  max_iphi = MAX_IPHI_BAR;
69  max_ieta = MAX_IETA_BAR;
70  break ;
71  }
72  case CrysLayout::barzflat : {
73  max_iphi = MAX_IPHI_BARZFLAT;
74  max_ieta = MAX_IETA_BARZFLAT;
75  break ;
76  }
77  default: {
78  break ;
79  }
80  }
81  return (max_ieta + ( zside() > 0 ? ietaAbs( lay ) - 1 : -ietaAbs( lay ) ) )*max_iphi+ iphi( lay ) - 1;
82 }
static constexpr int MAX_IETA_BAR
Definition: BTLDetId.h:49
int ietaAbs(CrysLayout lay) const
Definition: BTLDetId.cc:28
static constexpr int MAX_IPHI_BAR
Definition: BTLDetId.h:50
static constexpr int MAX_IETA_TILE
Definition: BTLDetId.h:47
static constexpr int MAX_IPHI_BARZFLAT
Definition: BTLDetId.h:54
static constexpr int MAX_IPHI_TILE
Definition: BTLDetId.h:48
int iphi(CrysLayout lay) const
Definition: BTLDetId.cc:4
static constexpr int MAX_IETA_BARZFLAT
Definition: BTLDetId.h:53
int zside() const
Definition: MTDDetId.h:63
int BTLDetId::ieta ( CrysLayout  lay) const
inline

Definition at line 103 of file BTLDetId.h.

References hashedIndex(), ietaAbs(), and MTDDetId::zside().

103 { return zside()*ietaAbs( lay ); }
int ietaAbs(CrysLayout lay) const
Definition: BTLDetId.cc:28
int zside() const
Definition: MTDDetId.h:63
int BTLDetId::ietaAbs ( CrysLayout  lay) const

Returns BTL ieta index for crystal according to type tile or bar

Definition at line 28 of file BTLDetId.cc.

References bar, barzflat, crystal(), kCrystalsInEtaBar, kCrystalsInEtaBarZ, kCrystalsInEtaTile, kCrystalsInPhiBar, kCrystalsInPhiBarZ, kCrystalsInPhiTile, kTypeBoundariesBarZflat, kTypeBoundariesReference, modType(), module(), and tile.

Referenced by crystal(), hashedIndex(), and ieta().

28  {
29  int kCrystalsInEta = 1, kCrystalsInPhi = 1;
30  std::array<int,4> kTypeBoundaries = {};
31  switch ( lay ) {
32  case CrysLayout::tile : {
33  kCrystalsInEta = kCrystalsInEtaTile;
34  kCrystalsInPhi = kCrystalsInPhiTile;
35  kTypeBoundaries = kTypeBoundariesReference;
36  break ;
37  }
38  case CrysLayout::bar : {
39  kCrystalsInEta = kCrystalsInEtaBar ;
40  kCrystalsInPhi = kCrystalsInPhiBar ;
41  kTypeBoundaries = kTypeBoundariesReference;
42  break ;
43  }
44  case CrysLayout::barzflat : {
45  kCrystalsInEta = kCrystalsInEtaBarZ ;
46  kCrystalsInPhi = kCrystalsInPhiBarZ ;
47  kTypeBoundaries = kTypeBoundariesBarZflat ;
48  break ;
49  }
50  default: {
51  break ;
52  }
53  }
54  return kCrystalsInEta * ( module() -1 )
55  + kCrystalsInEta * kTypeBoundaries[(modType() -1)]
56  + ( (crystal()-1)/kCrystalsInPhi + 1 ) ;
57 }
static constexpr std::array< int, 4 > kTypeBoundariesReference
Definition: BTLDetId.h:32
static constexpr int kCrystalsInPhiBar
Definition: BTLDetId.h:36
static constexpr std::array< int, 4 > kTypeBoundariesBarZflat
Definition: BTLDetId.h:33
static constexpr int kCrystalsInPhiTile
Definition: BTLDetId.h:34
static constexpr int kCrystalsInEtaBar
Definition: BTLDetId.h:37
int module() const
Definition: BTLDetId.h:89
static constexpr int kCrystalsInEtaBarZ
Definition: BTLDetId.h:39
static constexpr int kCrystalsInEtaTile
Definition: BTLDetId.h:35
static constexpr int kCrystalsInPhiBarZ
Definition: BTLDetId.h:38
int modType() const
Definition: BTLDetId.h:92
int crystal() const
Definition: BTLDetId.h:95
int BTLDetId::iphi ( CrysLayout  lay) const

Returns BTL iphi index for crystal according to type tile or bar

Definition at line 4 of file BTLDetId.cc.

References bar, barzflat, crystal(), HALF_ROD, kCrystalsInPhiBar, kCrystalsInPhiBarZ, kCrystalsInPhiTile, MTDDetId::mtdRR(), and tile.

Referenced by crystal(), and hashedIndex().

4  {
5  int kCrystalsInPhi = 1;
6  switch ( lay ) {
7  case CrysLayout::tile : {
8  kCrystalsInPhi = kCrystalsInPhiTile ;
9  break ;
10  }
11  case CrysLayout::bar : {
12  kCrystalsInPhi = kCrystalsInPhiBar ;
13  break ;
14  }
15  case CrysLayout::barzflat : {
16  kCrystalsInPhi = kCrystalsInPhiBarZ ;
17  break ;
18  }
19  default: {
20  break ;
21  }
22  }
23  return kCrystalsInPhi * ( ( mtdRR()%HALF_ROD > 0 ? mtdRR()%HALF_ROD : HALF_ROD ) -1 )
24  + ( crystal()%kCrystalsInPhi > 0 ? crystal()%kCrystalsInPhi : kCrystalsInPhi ) ;
25 }
static constexpr int HALF_ROD
Definition: BTLDetId.h:44
static constexpr int kCrystalsInPhiBar
Definition: BTLDetId.h:36
int mtdRR() const
Definition: MTDDetId.h:66
static constexpr int kCrystalsInPhiTile
Definition: BTLDetId.h:34
static constexpr int kCrystalsInPhiBarZ
Definition: BTLDetId.h:38
int crystal() const
Definition: BTLDetId.h:95
int BTLDetId::modType ( ) const
inline

Returns BTL crystal type number.

Definition at line 92 of file BTLDetId.h.

References DetId::id_, and kBTLmodTypeMask.

Referenced by reco::HitPattern::encode(), and ietaAbs().

static constexpr uint32_t kBTLmodTypeOffset
Definition: BTLDetId.h:24
static constexpr uint32_t kBTLmodTypeMask
Definition: BTLDetId.h:25
uint32_t id_
Definition: DetId.h:62
int BTLDetId::module ( ) const
inline

Returns BTL module number.

Definition at line 89 of file BTLDetId.h.

References DetId::id_, and kBTLmoduleMask.

Referenced by ietaAbs().

89 { return (id_>>kBTLmoduleOffset)&kBTLmoduleMask; }
static constexpr uint32_t kBTLmoduleOffset
Definition: BTLDetId.h:22
uint32_t id_
Definition: DetId.h:62
static constexpr uint32_t kBTLmoduleMask
Definition: BTLDetId.h:23
static bool BTLDetId::validHashedIndex ( uint32_t  din)
inlinestatic

Definition at line 108 of file BTLDetId.h.

References getUnhashedIndex(), and operator<<().

108 { return ( din < kSizeForDenseIndexing ) ; }
static constexpr int kSizeForDenseIndexing
Definition: BTLDetId.h:57

Member Data Documentation

constexpr int BTLDetId::HALF_ROD = 36
static

Definition at line 44 of file BTLDetId.h.

Referenced by BTLDetLayerGeometryBuilder::buildLayers(), and iphi().

constexpr uint32_t BTLDetId::kBTLCrystalMask = 0x3F
static

Definition at line 27 of file BTLDetId.h.

Referenced by BTLDetId().

constexpr uint32_t BTLDetId::kBTLCrystalOffset = 0
static

Definition at line 26 of file BTLDetId.h.

constexpr uint32_t BTLDetId::kBTLmodTypeMask = 0x3
static

Definition at line 25 of file BTLDetId.h.

Referenced by BTLDetId(), and modType().

constexpr uint32_t BTLDetId::kBTLmodTypeOffset = 8
static

Definition at line 24 of file BTLDetId.h.

constexpr uint32_t BTLDetId::kBTLmoduleMask = 0x3F
static

Definition at line 23 of file BTLDetId.h.

Referenced by module().

constexpr uint32_t BTLDetId::kBTLmoduleOffset = 10
static

Definition at line 22 of file BTLDetId.h.

constexpr int BTLDetId::kCrystalsInEtaBar = 16
static

Definition at line 37 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and ietaAbs().

constexpr int BTLDetId::kCrystalsInEtaBarZ = 1
static

Definition at line 39 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and ietaAbs().

constexpr int BTLDetId::kCrystalsInEtaTile = 4
static

Definition at line 35 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and ietaAbs().

constexpr int BTLDetId::kCrystalsInPhiBar = 4
static

Definition at line 36 of file BTLDetId.h.

Referenced by getUnhashedIndex(), ietaAbs(), and iphi().

constexpr int BTLDetId::kCrystalsInPhiBarZ = 64
static

Definition at line 38 of file BTLDetId.h.

Referenced by getUnhashedIndex(), ietaAbs(), and iphi().

constexpr int BTLDetId::kCrystalsInPhiTile = 16
static

Definition at line 34 of file BTLDetId.h.

Referenced by getUnhashedIndex(), ietaAbs(), and iphi().

constexpr int BTLDetId::kCrystalsPerROD = kModulesPerROD*kCrystalsInPhiTile*kCrystalsInEtaTile
static

Definition at line 40 of file BTLDetId.h.

constexpr int BTLDetId::kCrystalsPerRODBarZflat = kModulesPerRODBarZflat*kCrystalsInPhiBarZ*kCrystalsInEtaBarZ
static

Definition at line 41 of file BTLDetId.h.

constexpr int BTLDetId::kModulesPerROD = 54
static

range constants, need two sets for the time being (one for tiles and one for bars)

Definition at line 30 of file BTLDetId.h.

Referenced by BTLDetLayerGeometryBuilder::buildLayers().

constexpr int BTLDetId::kModulesPerRODBarZflat = 42
static

Definition at line 31 of file BTLDetId.h.

constexpr int BTLDetId::kSizeForDenseIndexing = MAX_HASH + 1
static

Definition at line 57 of file BTLDetId.h.

constexpr std::array<int,4> BTLDetId::kTypeBoundariesBarZflat { { 0, 14, 28, 42 } }
static

Definition at line 33 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and ietaAbs().

constexpr std::array<int,4> BTLDetId::kTypeBoundariesReference { { 0, 18, 36, 54 } }
static

Definition at line 32 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and ietaAbs().

constexpr int BTLDetId::MAX_HASH = 2*MAX_IPHI_TILE*MAX_IETA_TILE-1
static

Definition at line 56 of file BTLDetId.h.

constexpr int BTLDetId::MAX_IETA_BAR = kCrystalsInEtaBar*kModulesPerROD
static

Definition at line 49 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and hashedIndex().

constexpr int BTLDetId::MAX_IETA_BARZ = kCrystalsInEtaBarZ*kModulesPerROD
static

Definition at line 51 of file BTLDetId.h.

constexpr int BTLDetId::MAX_IETA_BARZFLAT = kCrystalsInEtaBarZ*kModulesPerRODBarZflat
static

Definition at line 53 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and hashedIndex().

constexpr int BTLDetId::MAX_IETA_TILE = kCrystalsInEtaTile*kModulesPerROD
static

Definition at line 47 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and hashedIndex().

constexpr int BTLDetId::MAX_IPHI_BAR = kCrystalsInPhiBar*HALF_ROD
static

Definition at line 50 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and hashedIndex().

constexpr int BTLDetId::MAX_IPHI_BARZ = kCrystalsInPhiBarZ*HALF_ROD
static

Definition at line 52 of file BTLDetId.h.

constexpr int BTLDetId::MAX_IPHI_BARZFLAT = kCrystalsInPhiBarZ*HALF_ROD
static

Definition at line 54 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and hashedIndex().

constexpr int BTLDetId::MAX_IPHI_TILE = kCrystalsInPhiTile*HALF_ROD
static

Definition at line 48 of file BTLDetId.h.

Referenced by getUnhashedIndex(), and hashedIndex().

constexpr int BTLDetId::MAX_ROD = 72
static

Definition at line 43 of file BTLDetId.h.

constexpr int BTLDetId::MIN_HASH = 0
static

Definition at line 55 of file BTLDetId.h.

constexpr int BTLDetId::MIN_IETA = 1
static

Definition at line 45 of file BTLDetId.h.

constexpr int BTLDetId::MIN_IPHI = 1
static

Definition at line 46 of file BTLDetId.h.

constexpr int BTLDetId::MIN_ROD = 1
static

Definition at line 42 of file BTLDetId.h.

Referenced by BTLDetLayerGeometryBuilder::buildLayers().