CMS 3D CMS Logo

Public Member Functions | Public Attributes

L1RCTChannelMask Struct Reference

#include <L1RCTChannelMask.h>

List of all members.

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().

                                 {
    s << "Printing record L1RCTChannelMaskRcd " << std::endl;
    s << "Masked channels in L1RCTChannelMask" <<std::endl;
     for(int i = 0; i< 18; i++)
       for(int j =0; j< 2; j++){
         for(int k =0; k<28; k++){
           if(ecalMask[i][j][k])
             s << "ECAL masked channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl; 
           if(hcalMask[i][j][k])
             s << "HCAL masked channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl; 
         }
         for(int k =0; k<4;k++)
           if(hfMask[i][j][k])
             s << "HF masked channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl; 
       }

  }

Member Data Documentation

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