CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
L1RCTNoisyChannelMask Struct Reference

#include <L1RCTNoisyChannelMask.h>

Public Member Functions

void print (std::ostream &s) const
 

Public Attributes

bool ecalMask [18][2][28]
 
float ecalThreshold
 
bool hcalMask [18][2][28]
 
float hcalThreshold
 
bool hfMask [18][2][4]
 
float hfThreshold
 

Detailed Description

Definition at line 6 of file L1RCTNoisyChannelMask.h.

Member Function Documentation

void L1RCTNoisyChannelMask::print ( std::ostream &  s) const
inline

Definition at line 17 of file L1RCTNoisyChannelMask.h.

References ecalMask, ecalThreshold, hcalMask, hcalThreshold, hfMask, hfThreshold, i, j, and gen::k.

17  {
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  }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
int k[5][pyjets_maxn]

Member Data Documentation

bool L1RCTNoisyChannelMask::ecalMask[18][2][28]
float L1RCTNoisyChannelMask::ecalThreshold
bool L1RCTNoisyChannelMask::hcalMask[18][2][28]
float L1RCTNoisyChannelMask::hcalThreshold
bool L1RCTNoisyChannelMask::hfMask[18][2][4]
float L1RCTNoisyChannelMask::hfThreshold