CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 7 of file L1RCTNoisyChannelMask.h.

Member Function Documentation

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

Definition at line 16 of file L1RCTNoisyChannelMask.h.

References ecalMask, ecalThreshold, hcalMask, hcalThreshold, hfMask, hfThreshold, mps_fire::i, dqmiolumiharvest::j, and isotrackApplyRegressor::k.

16  {
17  s << "Printing record L1RCTNoisyChannelMaskRcd " << std::endl;
18 
19  s << "ECAL noise mask threshold: ecalThreshold" << ecalThreshold << std::endl;
20  s << "HCAL noise mask threshold: hcalThreshold" << hcalThreshold << std::endl;
21  s << "HF noise mask threshold: hfThreshold" << hfThreshold << std::endl;
22  s << "Noisy Masked channels in L1RCTNoisyChannelMask" << std::endl;
23  for (int i = 0; i < 18; i++)
24  for (int j = 0; j < 2; j++) {
25  for (int k = 0; k < 28; k++) {
26  if (ecalMask[i][j][k])
27  s << "ECAL masked noisy channel: RCT crate " << i << " iphi " << j << " ieta " << k << std::endl;
28  if (hcalMask[i][j][k])
29  s << "HCAL masked noisy channel: RCT crate " << i << " iphi " << j << " ieta " << k << std::endl;
30  }
31  for (int k = 0; k < 4; k++)
32  if (hfMask[i][j][k])
33  s << "HF masked noisy channel: RCT crate " << i << " iphi " << j << " ieta " << k << std::endl;
34  }
35  }
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 37 of file L1RCTNoisyChannelMask.h.

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

Definition at line 37 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