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 | Private Member Functions | Friends
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
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 8 of file L1RCTNoisyChannelMask.h.

Member Function Documentation

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

Definition at line 19 of file L1RCTNoisyChannelMask.h.

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

19  {
20  s << "Printing record L1RCTNoisyChannelMaskRcd " << std::endl;
21 
22  s << "ECAL noise mask threshold: ecalThreshold" << ecalThreshold << std::endl ;
23  s << "HCAL noise mask threshold: hcalThreshold" << hcalThreshold << std::endl ;
24  s << "HF noise mask threshold: hfThreshold" << hfThreshold << std::endl ;
25  s << "Noisy Masked channels in L1RCTNoisyChannelMask" <<std::endl;
26  for(int i = 0; i< 18; i++)
27  for(int j =0; j< 2; j++){
28  for(int k =0; k<28; k++){
29  if(ecalMask[i][j][k])
30  s << "ECAL masked noisy channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
31  if(hcalMask[i][j][k])
32  s << "HCAL masked noisy channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
33  }
34  for(int k =0; k<4;k++)
35  if(hfMask[i][j][k])
36  s << "HF masked noisy channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
37  }
38 
39  }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
template<class Archive >
void L1RCTNoisyChannelMask::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 41 of file L1RCTNoisyChannelMask.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 41 of file L1RCTNoisyChannelMask.h.

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