CMS 3D CMS Logo

Public Member Functions | Public Attributes

L1RCTNoisyChannelMask Struct Reference

#include <L1RCTNoisyChannelMask.h>

List of all members.

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.

                                 {
    s << "Printing record L1RCTNoisyChannelMaskRcd " << std::endl;

     s << "ECAL noise mask threshold: ecalThreshold" << ecalThreshold << std::endl ;
     s << "HCAL noise mask threshold: hcalThreshold" << hcalThreshold << std::endl ;
     s << "HF noise mask threshold: hfThreshold" << hfThreshold << std::endl ;
    s << "Noisy Masked channels in L1RCTNoisyChannelMask" <<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 noisy channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl; 
           if(hcalMask[i][j][k])
             s << "HCAL masked noisy 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 noisy channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl; 
       }

  }

Member Data Documentation