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
void print(std::ostream &s) const
bool ecalMask[18][2][28]
#define COND_SERIALIZABLE
Definition: Serializable.h:39
bool hcalMask[18][2][28]
bool hfMask[18][2][4]