CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1RCTNoisyChannelMask.h
Go to the documentation of this file.
1 #ifndef L1TObjects_L1RCTNoisyChannelMask_h
2 #define L1TObjects_L1RCTNoisyChannelMask_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 
14  float hfThreshold;
15 
16 
17  void print(std::ostream& s) const{
18  s << "Printing record L1RCTNoisyChannelMaskRcd " << std::endl;
19 
20  s << "ECAL noise mask threshold: ecalThreshold" << ecalThreshold << std::endl ;
21  s << "HCAL noise mask threshold: hcalThreshold" << hcalThreshold << std::endl ;
22  s << "HF noise mask threshold: hfThreshold" << hfThreshold << std::endl ;
23  s << "Noisy Masked channels in L1RCTNoisyChannelMask" <<std::endl;
24  for(int i = 0; i< 18; i++)
25  for(int j =0; j< 2; j++){
26  for(int k =0; k<28; k++){
27  if(ecalMask[i][j][k])
28  s << "ECAL masked noisy channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
29  if(hcalMask[i][j][k])
30  s << "HCAL masked noisy channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
31  }
32  for(int k =0; k<4;k++)
33  if(hfMask[i][j][k])
34  s << "HF masked noisy channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
35  }
36 
37  }
38 };
39 
40 #endif
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
int k[5][pyjets_maxn]
void print(std::ostream &s) const