CMS 3D CMS Logo

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

#include <HGCalTriggerDetId.h>

Inheritance diagram for HGCalTriggerDetId:
DetId

Public Member Functions

std::vector< int > cellU () const
 
std::vector< std::pair< int, int > > cellUV () const
 
std::vector< int > cellV () const
 
HGCSiliconDetId geometryCell () const
 
 HGCalTriggerDetId ()
 
 HGCalTriggerDetId (const DetId &id)
 
 HGCalTriggerDetId (int subdet, int zp, int type, int layer, int waferU, int waferV, int cellU, int cellV)
 
 HGCalTriggerDetId (uint32_t rawid)
 
bool isEE () const
 consistency check : no bits left => no overhead More...
 
bool isForward () const
 
bool isHSilicon () const
 
int layer () const
 get the layer # More...
 
HGCSiliconDetId moduleId () const
 
HGCalTriggerDetIdoperator= (const DetId &id)
 
HGCalTriggerSubdetector subdet () const
 get the subdetector More...
 
int triggerCellU () const
 get the cell #'s in u,v or in x,y More...
 
std::pair< int, int > triggerCellUV () const
 
int triggerCellV () const
 
int triggerCellX () const
 
std::pair< int, int > triggerCellXY () const
 
int triggerCellY () const
 
int type () const
 get the type More...
 
int waferU () const
 
int waferUAbs () const
 get the wafer #'s in u,v or in x,y More...
 
std::pair< int, int > waferUV () const
 
int waferV () const
 
int waferVAbs () const
 
int waferX () const
 
std::pair< int, int > waferXY () const
 
int waferY () const
 
int zside () const
 get the z-side of the cell (1/-1) More...
 
- 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 (Detector det, int subdet)
 Create an id, filling the detector and subdetector fields as specified. More...
 
constexpr DetId (uint32_t id)
 Create an id from a raw number. 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 Attributes

static const int HGCalTriggerCell = 4
 
static const int kHGCalCellUMask = 0xF
 
static const int kHGCalCellUOffset = 0
 
static const int kHGCalCellVMask = 0xF
 
static const int kHGCalCellVOffset = 4
 
static const int kHGCalLayerMask = 0x1F
 
static const int kHGCalLayerOffset = 18
 
static const int kHGCalSubdetMask = 0x3
 
static const int kHGCalSubdetOffset = 25
 
static const int kHGCalTypeMask = 0x3
 
static const int kHGCalTypeOffset = 23
 
static const int kHGCalWaferUMask = 0xF
 
static const int kHGCalWaferUOffset = 8
 
static const int kHGCalWaferUSignMask = 0x1
 
static const int kHGCalWaferUSignOffset = 12
 
static const int kHGCalWaferVMask = 0xF
 
static const int kHGCalWaferVOffset = 13
 
static const int kHGCalWaferVSignMask = 0x1
 
static const int kHGCalWaferVSignOffset = 17
 
static const int kHGCalZsideMask = 0x1
 
static const int kHGCalZsideOffset = 27
 
static const HGCalTriggerDetId Undefined
 
- 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

- 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
}
 
- Protected Attributes inherited from DetId
uint32_t id_
 

Detailed Description

Definition at line 26 of file HGCalTriggerDetId.h.

Constructor & Destructor Documentation

◆ HGCalTriggerDetId() [1/4]

HGCalTriggerDetId::HGCalTriggerDetId ( )

Create a null cellid

Definition at line 8 of file HGCalTriggerDetId.cc.

8 : DetId() {}

◆ HGCalTriggerDetId() [2/4]

HGCalTriggerDetId::HGCalTriggerDetId ( uint32_t  rawid)

Create cellid from raw id (0=invalid tower id)

Definition at line 10 of file HGCalTriggerDetId.cc.

10 : DetId(rawid) {}

◆ HGCalTriggerDetId() [3/4]

HGCalTriggerDetId::HGCalTriggerDetId ( int  subdet,
int  zp,
int  type,
int  layer,
int  waferU,
int  waferV,
int  cellU,
int  cellV 
)

◆ HGCalTriggerDetId() [4/4]

HGCalTriggerDetId::HGCalTriggerDetId ( const DetId id)

Constructor from a generic cell id

Definition at line 28 of file HGCalTriggerDetId.cc.

28  {
29  if (!gen.null()) {
30  if (gen.det() != HGCalTrigger) {
31  throw cms::Exception("Invalid DetId")
32  << "Cannot initialize HGCalTriggerDetId from " << std::hex << gen.rawId() << std::dec;
33  }
34  }
35  id_ = gen.rawId();
36 }

References TauDecayModes::dec, Exception, DetId::HGCalTrigger, and DetId::id_.

Member Function Documentation

◆ cellU()

std::vector< int > HGCalTriggerDetId::cellU ( ) const

Definition at line 74 of file HGCalTriggerDetId.cc.

74  {
75  std::vector<int> uc;
76  int nT =
79  int u0 = nT * triggerCellU();
80  for (int i = 0; i < nT; ++i) {
81  for (int j = 0; j < nT; ++j) {
82  uc.emplace_back(u0 + i);
83  }
84  }
85  } else if ((triggerCellU() < HGCalTriggerCell) && (triggerCellU() <= triggerCellV())) {
86  int u0 = nT * triggerCellU();
87  for (int i = 0; i < nT; ++i) {
88  for (int j = 0; j < nT; ++j) {
89  uc.emplace_back(u0 + i);
90  }
91  }
92  } else {
93  int u0 = nT * (triggerCellU() - 1) + 1;
94  for (int i = 0; i < nT; ++i) {
95  for (int j = 0; j < nT; ++j) {
96  uc.emplace_back(u0 + j);
97  }
98  ++u0;
99  }
100  }
101  return uc;
102 }

References HGCSiliconDetId::HGCalCoarseTrigger, HGCSiliconDetId::HGCalFine, HGCSiliconDetId::HGCalFineTrigger, HGCalTriggerCell, mps_fire::i, dqmiolumiharvest::j, triggerCellU(), triggerCellV(), and type().

Referenced by cellUV(), FWL1THGCalProxyTemplate< l1t::HGCalMulticluster >::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HGCalTriggerDetId(), and triggerCellY().

◆ cellUV()

std::vector< std::pair< int, int > > HGCalTriggerDetId::cellUV ( ) const

Definition at line 134 of file HGCalTriggerDetId.cc.

134  {
135  std::vector<int> uc = cellU();
136  std::vector<int> vc = cellV();
137  std::vector<std::pair<int, int> > uv;
138  for (unsigned int k = 0; k < uc.size(); ++k) {
139  uv.emplace_back(std::pair<int, int>(uc[k], vc[k]));
140  }
141  return uv;
142 }

References cellU(), cellV(), and dqmdumpme::k.

◆ cellV()

std::vector< int > HGCalTriggerDetId::cellV ( ) const

Definition at line 104 of file HGCalTriggerDetId.cc.

104  {
105  std::vector<int> vc;
106  int nT =
109  int v0 = nT * triggerCellV();
110  for (int i = 0; i < nT; ++i) {
111  for (int j = 0; j < nT; ++j) {
112  vc.emplace_back(v0 + j);
113  }
114  }
115  } else if ((triggerCellU() < HGCalTriggerCell) && (triggerCellU() <= triggerCellV())) {
116  int v0 = nT * triggerCellV();
117  for (int i = 0; i < nT; ++i) {
118  for (int j = 0; j < nT; ++j) {
119  vc.emplace_back(v0 + j);
120  }
121  ++v0;
122  }
123  } else {
124  int v0 = nT * triggerCellV();
125  for (int i = 0; i < nT; ++i) {
126  for (int j = 0; j < nT; ++j) {
127  vc.emplace_back(v0 + i);
128  }
129  }
130  }
131  return vc;
132 }

References HGCSiliconDetId::HGCalCoarseTrigger, HGCSiliconDetId::HGCalFine, HGCSiliconDetId::HGCalFineTrigger, HGCalTriggerCell, mps_fire::i, dqmiolumiharvest::j, triggerCellU(), triggerCellV(), type(), and V0Monitor_cff::v0.

Referenced by cellUV(), FWL1THGCalProxyTemplate< l1t::HGCalMulticluster >::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HGCalTriggerDetId(), triggerCellX(), and triggerCellY().

◆ geometryCell()

HGCSiliconDetId HGCalTriggerDetId::geometryCell ( ) const
inline

Converter for a geometry cell id

Definition at line 56 of file HGCalTriggerDetId.h.

56 { return HGCSiliconDetId(det(), zside(), 0, layer(), waferU(), waferV(), 0, 0); }

References DetId::det(), layer(), waferU(), waferV(), and zside().

◆ isEE()

bool HGCalTriggerDetId::isEE ( ) const
inline

consistency check : no bits left => no overhead

Definition at line 85 of file HGCalTriggerDetId.h.

85 { return (subdet() == HGCalEETrigger); }

References HGCalEETrigger, and subdet().

◆ isForward()

bool HGCalTriggerDetId::isForward ( ) const
inline

Definition at line 87 of file HGCalTriggerDetId.h.

87 { return true; }

◆ isHSilicon()

bool HGCalTriggerDetId::isHSilicon ( ) const
inline

Definition at line 86 of file HGCalTriggerDetId.h.

86 { return (subdet() == HGCalHSiTrigger); }

References HGCalHSiTrigger, and subdet().

◆ layer()

int HGCalTriggerDetId::layer ( ) const
inline

◆ moduleId()

HGCSiliconDetId HGCalTriggerDetId::moduleId ( ) const
inline

Definition at line 57 of file HGCalTriggerDetId.h.

57  {
58  return HGCSiliconDetId(det(), zside(), type(), layer(), waferU(), waferV(), 0, 0);
59  }

References DetId::det(), layer(), type(), waferU(), waferV(), and zside().

◆ operator=()

HGCalTriggerDetId & HGCalTriggerDetId::operator= ( const DetId id)

Assignment from a generic cell id

Definition at line 38 of file HGCalTriggerDetId.cc.

38  {
39  if (!gen.null()) {
40  if (gen.det() != HGCalTrigger) {
41  throw cms::Exception("Invalid DetId")
42  << "Cannot assign HGCalTriggerDetId from " << std::hex << gen.rawId() << std::dec;
43  }
44  }
45  id_ = gen.rawId();
46  return (*this);
47 }

References TauDecayModes::dec, Exception, DetId::HGCalTrigger, and DetId::id_.

◆ subdet()

HGCalTriggerSubdetector HGCalTriggerDetId::subdet ( ) const
inline

◆ triggerCellU()

int HGCalTriggerDetId::triggerCellU ( ) const
inline

◆ triggerCellUV()

std::pair<int, int> HGCalTriggerDetId::triggerCellUV ( ) const
inline

Definition at line 64 of file HGCalTriggerDetId.h.

64 { return std::pair<int, int>(triggerCellU(), triggerCellV()); }

References triggerCellU(), and triggerCellV().

◆ triggerCellV()

int HGCalTriggerDetId::triggerCellV ( ) const
inline

◆ triggerCellX()

int HGCalTriggerDetId::triggerCellX ( ) const

Definition at line 49 of file HGCalTriggerDetId.cc.

49  {
50  int nT =
52  int N = nT * HGCalTriggerCell;
53  std::vector<int> vc = cellV();
54  int x(0);
55  for (auto const& v : vc) {
56  x += (3 * (v - N) + 2);
57  }
58  return (x / static_cast<int>(vc.size()));
59 }

References cellV(), HGCSiliconDetId::HGCalCoarseTrigger, HGCSiliconDetId::HGCalFine, HGCSiliconDetId::HGCalFineTrigger, HGCalTriggerCell, N, type(), findQualityFiles::v, and x.

Referenced by triggerCellXY().

◆ triggerCellXY()

std::pair<int, int> HGCalTriggerDetId::triggerCellXY ( ) const
inline

Definition at line 67 of file HGCalTriggerDetId.h.

67 { return std::pair<int, int>(triggerCellX(), triggerCellY()); }

References triggerCellX(), and triggerCellY().

◆ triggerCellY()

int HGCalTriggerDetId::triggerCellY ( ) const

Definition at line 61 of file HGCalTriggerDetId.cc.

61  {
62  int nT =
64  int N = nT * HGCalTriggerCell;
65  std::vector<int> uc = cellU();
66  std::vector<int> vc = cellV();
67  int y(0);
68  for (unsigned int k = 0; k < uc.size(); ++k) {
69  y += (2 * uc[k] - (N + vc[k]));
70  }
71  return (y / static_cast<int>(vc.size()));
72 }

References cellU(), cellV(), HGCSiliconDetId::HGCalCoarseTrigger, HGCSiliconDetId::HGCalFine, HGCSiliconDetId::HGCalFineTrigger, HGCalTriggerCell, dqmdumpme::k, N, type(), and y.

Referenced by triggerCellXY().

◆ type()

int HGCalTriggerDetId::type ( ) const
inline

◆ waferU()

int HGCalTriggerDetId::waferU ( ) const
inline

◆ waferUAbs()

int HGCalTriggerDetId::waferUAbs ( ) const
inline

get the wafer #'s in u,v or in x,y

Definition at line 70 of file HGCalTriggerDetId.h.

70 { return (id_ >> kHGCalWaferUOffset) & kHGCalWaferUMask; }

References DetId::id_, kHGCalWaferUMask, and kHGCalWaferUOffset.

Referenced by waferU().

◆ waferUV()

std::pair<int, int> HGCalTriggerDetId::waferUV ( ) const
inline

Definition at line 74 of file HGCalTriggerDetId.h.

74 { return std::pair<int, int>(waferU(), waferV()); }

References waferU(), and waferV().

◆ waferV()

int HGCalTriggerDetId::waferV ( ) const
inline

◆ waferVAbs()

int HGCalTriggerDetId::waferVAbs ( ) const
inline

Definition at line 71 of file HGCalTriggerDetId.h.

71 { return (id_ >> kHGCalWaferVOffset) & kHGCalWaferVMask; }

References DetId::id_, kHGCalWaferVMask, and kHGCalWaferVOffset.

Referenced by waferV().

◆ waferX()

int HGCalTriggerDetId::waferX ( ) const
inline

Definition at line 75 of file HGCalTriggerDetId.h.

75 { return (-2 * waferU() + waferV()); }

References waferU(), and waferV().

Referenced by waferXY().

◆ waferXY()

std::pair<int, int> HGCalTriggerDetId::waferXY ( ) const
inline

Definition at line 77 of file HGCalTriggerDetId.h.

77 { return std::pair<int, int>(waferX(), waferY()); }

References waferX(), and waferY().

◆ waferY()

int HGCalTriggerDetId::waferY ( ) const
inline

Definition at line 76 of file HGCalTriggerDetId.h.

76 { return (2 * waferV()); }

References waferV().

Referenced by waferXY().

◆ zside()

int HGCalTriggerDetId::zside ( ) const
inline

Member Data Documentation

◆ HGCalTriggerCell

const int HGCalTriggerDetId::HGCalTriggerCell = 4
static

Definition at line 28 of file HGCalTriggerDetId.h.

Referenced by cellU(), cellV(), triggerCellX(), and triggerCellY().

◆ kHGCalCellUMask

const int HGCalTriggerDetId::kHGCalCellUMask = 0xF
static

◆ kHGCalCellUOffset

const int HGCalTriggerDetId::kHGCalCellUOffset = 0
static

◆ kHGCalCellVMask

const int HGCalTriggerDetId::kHGCalCellVMask = 0xF
static

◆ kHGCalCellVOffset

const int HGCalTriggerDetId::kHGCalCellVOffset = 4
static

◆ kHGCalLayerMask

const int HGCalTriggerDetId::kHGCalLayerMask = 0x1F
static

Definition at line 104 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and layer().

◆ kHGCalLayerOffset

const int HGCalTriggerDetId::kHGCalLayerOffset = 18
static

Definition at line 103 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and layer().

◆ kHGCalSubdetMask

const int HGCalTriggerDetId::kHGCalSubdetMask = 0x3
static

Definition at line 110 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and subdet().

◆ kHGCalSubdetOffset

const int HGCalTriggerDetId::kHGCalSubdetOffset = 25
static

Definition at line 109 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and subdet().

◆ kHGCalTypeMask

const int HGCalTriggerDetId::kHGCalTypeMask = 0x3
static

Definition at line 106 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and type().

◆ kHGCalTypeOffset

const int HGCalTriggerDetId::kHGCalTypeOffset = 23
static

Definition at line 105 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and type().

◆ kHGCalWaferUMask

const int HGCalTriggerDetId::kHGCalWaferUMask = 0xF
static

Definition at line 96 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and waferUAbs().

◆ kHGCalWaferUOffset

const int HGCalTriggerDetId::kHGCalWaferUOffset = 8
static

Definition at line 95 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and waferUAbs().

◆ kHGCalWaferUSignMask

const int HGCalTriggerDetId::kHGCalWaferUSignMask = 0x1
static

Definition at line 98 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and waferU().

◆ kHGCalWaferUSignOffset

const int HGCalTriggerDetId::kHGCalWaferUSignOffset = 12
static

Definition at line 97 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and waferU().

◆ kHGCalWaferVMask

const int HGCalTriggerDetId::kHGCalWaferVMask = 0xF
static

Definition at line 100 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and waferVAbs().

◆ kHGCalWaferVOffset

const int HGCalTriggerDetId::kHGCalWaferVOffset = 13
static

Definition at line 99 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and waferVAbs().

◆ kHGCalWaferVSignMask

const int HGCalTriggerDetId::kHGCalWaferVSignMask = 0x1
static

Definition at line 102 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and waferV().

◆ kHGCalWaferVSignOffset

const int HGCalTriggerDetId::kHGCalWaferVSignOffset = 17
static

Definition at line 101 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and waferV().

◆ kHGCalZsideMask

const int HGCalTriggerDetId::kHGCalZsideMask = 0x1
static

Definition at line 108 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and zside().

◆ kHGCalZsideOffset

const int HGCalTriggerDetId::kHGCalZsideOffset = 27
static

Definition at line 107 of file HGCalTriggerDetId.h.

Referenced by HGCalTriggerDetId(), and zside().

◆ Undefined

const HGCalTriggerDetId HGCalTriggerDetId::Undefined
static

Definition at line 89 of file HGCalTriggerDetId.h.

DDAxes::y
HGCalTriggerDetId::kHGCalWaferUSignOffset
static const int kHGCalWaferUSignOffset
Definition: HGCalTriggerDetId.h:97
DetId::HGCalTrigger
Definition: DetId.h:35
V0Monitor_cff.v0
v0
Definition: V0Monitor_cff.py:7
mps_fire.i
i
Definition: mps_fire.py:428
HGCSiliconDetId::HGCalCoarseTrigger
static const int HGCalCoarseTrigger
Definition: HGCSiliconDetId.h:28
HGCalTriggerDetId::zside
int zside() const
get the z-side of the cell (1/-1)
Definition: HGCalTriggerDetId.h:50
ForwardEmpty
Definition: ForwardSubdetector.h:5
DetId::det
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46
HGCalTriggerSubdetector
HGCalTriggerSubdetector
Definition: ForwardSubdetector.h:14
HGCalTriggerDetId::kHGCalSubdetMask
static const int kHGCalSubdetMask
Definition: HGCalTriggerDetId.h:110
HGCalTriggerDetId::cellV
std::vector< int > cellV() const
Definition: HGCalTriggerDetId.cc:104
DDAxes::x
HGCalTriggerDetId::cellU
std::vector< int > cellU() const
Definition: HGCalTriggerDetId.cc:74
findQualityFiles.v
v
Definition: findQualityFiles.py:179
HGCalHSiTrigger
Definition: ForwardSubdetector.h:14
HGCSiliconDetId
Definition: HGCSiliconDetId.h:22
HGCalTriggerDetId::kHGCalLayerOffset
static const int kHGCalLayerOffset
Definition: HGCalTriggerDetId.h:103
HGCalTriggerDetId::kHGCalWaferVSignMask
static const int kHGCalWaferVSignMask
Definition: HGCalTriggerDetId.h:102
HGCalTriggerDetId::triggerCellY
int triggerCellY() const
Definition: HGCalTriggerDetId.cc:61
HGCalTriggerDetId::kHGCalWaferUOffset
static const int kHGCalWaferUOffset
Definition: HGCalTriggerDetId.h:95
HGCalTriggerDetId::kHGCalZsideOffset
static const int kHGCalZsideOffset
Definition: HGCalTriggerDetId.h:107
HGCalTriggerDetId::triggerCellU
int triggerCellU() const
get the cell #'s in u,v or in x,y
Definition: HGCalTriggerDetId.h:62
HGCalTriggerDetId::layer
int layer() const
get the layer #
Definition: HGCalTriggerDetId.h:53
HGCalTriggerDetId::kHGCalCellVOffset
static const int kHGCalCellVOffset
Definition: HGCalTriggerDetId.h:93
N
#define N
Definition: blowfish.cc:9
HGCalTriggerDetId::kHGCalTypeOffset
static const int kHGCalTypeOffset
Definition: HGCalTriggerDetId.h:105
HGCalEETrigger
Definition: ForwardSubdetector.h:14
HGCalTriggerDetId::kHGCalWaferUSignMask
static const int kHGCalWaferUSignMask
Definition: HGCalTriggerDetId.h:98
dqmdumpme.k
k
Definition: dqmdumpme.py:60
HGCalTriggerDetId::waferVAbs
int waferVAbs() const
Definition: HGCalTriggerDetId.h:71
gen
Definition: PythiaDecays.h:13
HGCalTriggerDetId::HGCalTriggerCell
static const int HGCalTriggerCell
Definition: HGCalTriggerDetId.h:28
HGCalTriggerDetId::kHGCalTypeMask
static const int kHGCalTypeMask
Definition: HGCalTriggerDetId.h:106
HGCalTriggerDetId::waferUAbs
int waferUAbs() const
get the wafer #'s in u,v or in x,y
Definition: HGCalTriggerDetId.h:70
HGCSiliconDetId::HGCalFine
Definition: HGCSiliconDetId.h:24
HGCalTriggerDetId::kHGCalZsideMask
static const int kHGCalZsideMask
Definition: HGCalTriggerDetId.h:108
HGCalTriggerDetId::kHGCalWaferVMask
static const int kHGCalWaferVMask
Definition: HGCalTriggerDetId.h:100
HGCalTriggerDetId::triggerCellV
int triggerCellV() const
Definition: HGCalTriggerDetId.h:63
HGCalTriggerDetId::subdet
HGCalTriggerSubdetector subdet() const
get the subdetector
Definition: HGCalTriggerDetId.h:42
HGCalTriggerDetId::kHGCalWaferUMask
static const int kHGCalWaferUMask
Definition: HGCalTriggerDetId.h:96
HGCalTriggerDetId::waferU
int waferU() const
Definition: HGCalTriggerDetId.h:72
DetId::id_
uint32_t id_
Definition: DetId.h:69
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
HGCalTriggerDetId::triggerCellX
int triggerCellX() const
Definition: HGCalTriggerDetId.cc:49
HGCalTriggerDetId::kHGCalLayerMask
static const int kHGCalLayerMask
Definition: HGCalTriggerDetId.h:104
HGCalTriggerDetId::waferY
int waferY() const
Definition: HGCalTriggerDetId.h:76
HGCalTriggerDetId::kHGCalSubdetOffset
static const int kHGCalSubdetOffset
Definition: HGCalTriggerDetId.h:109
HGCalTriggerDetId::kHGCalCellVMask
static const int kHGCalCellVMask
Definition: HGCalTriggerDetId.h:94
HGCalTriggerDetId::waferX
int waferX() const
Definition: HGCalTriggerDetId.h:75
HGCalTriggerDetId::waferV
int waferV() const
Definition: HGCalTriggerDetId.h:73
Exception
Definition: hltDiff.cc:246
HGCSiliconDetId::HGCalFineTrigger
static const int HGCalFineTrigger
Definition: HGCSiliconDetId.h:27
HGCalTriggerDetId::kHGCalWaferVSignOffset
static const int kHGCalWaferVSignOffset
Definition: HGCalTriggerDetId.h:101
HGCalTriggerDetId::kHGCalCellUMask
static const int kHGCalCellUMask
Definition: HGCalTriggerDetId.h:92
DetId::DetId
constexpr DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:38
HGCalTriggerDetId::type
int type() const
get the type
Definition: HGCalTriggerDetId.h:47
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
HGCalTriggerDetId::kHGCalWaferVOffset
static const int kHGCalWaferVOffset
Definition: HGCalTriggerDetId.h:99
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
HGCalTriggerDetId::kHGCalCellUOffset
static const int kHGCalCellUOffset
Definition: HGCalTriggerDetId.h:91