CMS 3D CMS Logo

L1RCTChannelMask.h
Go to the documentation of this file.
1 #ifndef L1TObjects_L1RCTChannelMask_h
2 #define L1TObjects_L1RCTChannelMask_h
4 
5 #include <ostream>
6 
8  bool ecalMask[18][2][28];
9  bool hcalMask[18][2][28];
10  bool hfMask[18][2][4];
11  void print(std::ostream& s) const {
12  s << "Printing record L1RCTChannelMaskRcd " << std::endl;
13  s << "Masked channels in L1RCTChannelMask" << std::endl;
14  for (int i = 0; i < 18; i++)
15  for (int j = 0; j < 2; j++) {
16  for (int k = 0; k < 28; k++) {
17  if (ecalMask[i][j][k])
18  s << "ECAL masked channel: RCT crate " << i << " iphi " << j << " ieta " << k << std::endl;
19  if (hcalMask[i][j][k])
20  s << "HCAL masked channel: RCT crate " << i << " iphi " << j << " ieta " << k << std::endl;
21  }
22  for (int k = 0; k < 4; k++)
23  if (hfMask[i][j][k])
24  s << "HF masked channel: RCT crate " << i << " iphi " << j << " ieta " << k << std::endl;
25  }
26  }
27 
29 };
30 
31 #endif
mps_fire.i
i
Definition: mps_fire.py:428
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1RCTChannelMask::hfMask
bool hfMask[18][2][4]
Definition: L1RCTChannelMask.h:10
L1RCTChannelMask
Definition: L1RCTChannelMask.h:7
alignCSCRings.s
s
Definition: alignCSCRings.py:92
L1RCTChannelMask::print
void print(std::ostream &s) const
Definition: L1RCTChannelMask.h:11
dqmdumpme.k
k
Definition: dqmdumpme.py:60
Serializable.h
L1RCTChannelMask::hcalMask
bool hcalMask[18][2][28]
Definition: L1RCTChannelMask.h:9
L1RCTChannelMask::ecalMask
bool ecalMask[18][2][28]
Definition: L1RCTChannelMask.h:8
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66