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 
7 
9 
10  bool ecalMask[18][2][28];
11  bool hcalMask[18][2][28];
12  bool hfMask[18][2][4];
13  void print(std::ostream& s) const{
14  s << "Printing record L1RCTChannelMaskRcd " << std::endl;
15  s << "Masked channels in L1RCTChannelMask" <<std::endl;
16  for(int i = 0; i< 18; i++)
17  for(int j =0; j< 2; j++){
18  for(int k =0; k<28; k++){
19  if(ecalMask[i][j][k])
20  s << "ECAL masked channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
21  if(hcalMask[i][j][k])
22  s << "HCAL masked channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
23  }
24  for(int k =0; k<4;k++)
25  if(hfMask[i][j][k])
26  s << "HF masked channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
27  }
28 
29  }
30 
32 };
33 
34 #endif
int i
Definition: DBlmapReader.cc:9
bool ecalMask[18][2][28]
void print(std::ostream &s) const
int j
Definition: DBlmapReader.cc:9
int k[5][pyjets_maxn]
#define COND_SERIALIZABLE
Definition: Serializable.h:38
bool hcalMask[18][2][28]
bool hfMask[18][2][4]