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
L1RCTChannelMask Struct Reference

#include <L1RCTChannelMask.h>

Public Member Functions

void print (std::ostream &s) const
 

Public Attributes

bool ecalMask [18][2][28]
 
bool hcalMask [18][2][28]
 
bool hfMask [18][2][4]
 

Detailed Description

Definition at line 6 of file L1RCTChannelMask.h.

Member Function Documentation

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

Definition at line 11 of file L1RCTChannelMask.h.

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

Referenced by L1RCTProducer::printUpdatedFedMask().

11  {
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  }
int i
Definition: DBlmapReader.cc:9
bool ecalMask[18][2][28]
int j
Definition: DBlmapReader.cc:9
int k[5][pyjets_maxn]
bool hcalMask[18][2][28]
bool hfMask[18][2][4]

Member Data Documentation

bool L1RCTChannelMask::ecalMask[18][2][28]
bool L1RCTChannelMask::hcalMask[18][2][28]
bool L1RCTChannelMask::hfMask[18][2][4]