CMS 3D CMS Logo

ConstantsForCondObjects.h
Go to the documentation of this file.
1 #ifndef DataFormats_SiStripCommon_ConstantsForCondObjects_H
2 #define DataFormats_SiStripCommon_ConstantsForCondObjects_H
3 
4 #include <cstdint>
5 
6 namespace sistrip {
7  static const uint32_t FirstBadStripMask_ = 0x3FF;
8  static const uint32_t RangeBadStripMask_ = 0x3FF;
9  static const uint32_t FlagBadStripMask_ = 0xFFF;
10 
11  static const uint32_t FirstThStripMask_ = 0x3FF;
12  static const uint32_t HighThStripMask_ = 0x3F;
13  static const uint32_t LowThStripMask_ = 0x3F;
14 
15  static const uint32_t FirstBadStripShift_ = 22;
16  static const uint32_t RangeBadStripShift_ = 12;
17  static const uint32_t FlagBadStripShift_ = 0;
18 
19  static const uint32_t FirstThStripShift_ = 6;
20  static const uint32_t HighThStripShift_ = 0;
21  static const uint32_t LowThStripShift_ = 0;
22 } // namespace sistrip
23 
24 namespace siPhase2strip {
25  static const uint32_t FirstBadStripMask_ = 0x7FF;
26  static const uint32_t RangeBadStripMask_ = 0x7FF;
27  static const uint32_t FlagBadStripMask_ = 0xFFF;
28 
29  static const uint32_t FirstBadStripShift_ = 21;
30  static const uint32_t RangeBadStripShift_ = 10;
31  static const uint32_t FlagBadStripShift_ = 0;
32 } // namespace siPhase2strip
33 
34 #endif // DataFormats_SiStripCommon_ConstantsForCondObjects_H
static const uint32_t FirstThStripShift_
static const uint32_t FirstBadStripShift_
static const uint32_t LowThStripShift_
static const uint32_t FlagBadStripShift_
static const uint32_t RangeBadStripShift_
sistrip classes
static const uint32_t RangeBadStripShift_
static const uint32_t RangeBadStripMask_
static const uint32_t FirstBadStripMask_
static const uint32_t HighThStripShift_
static const uint32_t RangeBadStripMask_
static const uint32_t FlagBadStripMask_
static const uint32_t HighThStripMask_
static const uint32_t FlagBadStripShift_
static const uint32_t LowThStripMask_
static const uint32_t FirstBadStripMask_
static const uint32_t FirstThStripMask_
static const uint32_t FlagBadStripMask_
static const uint32_t FirstBadStripShift_