CMS 3D CMS Logo

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

◆ print()

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, isotrackApplyRegressor::k, and alignCSCRings::s.

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  }

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 37 of file L1RCTNoisyChannelMask.h.

◆ cond::serialization::access

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

Definition at line 37 of file L1RCTNoisyChannelMask.h.

Member Data Documentation

◆ ecalMask

bool L1RCTNoisyChannelMask::ecalMask[18][2][28]

◆ ecalThreshold

float L1RCTNoisyChannelMask::ecalThreshold

Definition at line 12 of file L1RCTNoisyChannelMask.h.

Referenced by print(), and RCTConfigProducers::RCTConfigProducers().

◆ hcalMask

bool L1RCTNoisyChannelMask::hcalMask[18][2][28]

◆ hcalThreshold

float L1RCTNoisyChannelMask::hcalThreshold

◆ hfMask

bool L1RCTNoisyChannelMask::hfMask[18][2][4]

◆ hfThreshold

float L1RCTNoisyChannelMask::hfThreshold

Definition at line 14 of file L1RCTNoisyChannelMask.h.

Referenced by print(), and RCTConfigProducers::RCTConfigProducers().