CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1RCTChannelMask.h
Go to the documentation of this file.
1 #ifndef L1TObjects_L1RCTChannelMask_h
2 #define L1TObjects_L1RCTChannelMask_h
3 #include <ostream>
4 
5 
7 
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  }
28 };
29 
30 #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]
bool hcalMask[18][2][28]
bool hfMask[18][2][4]