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.

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  }

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

Referenced by L1RCTChannelMaskTester::analyze().

◆ 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

◆ hcalMask

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

◆ hcalThreshold

float L1RCTNoisyChannelMask::hcalThreshold

◆ hfMask

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

◆ hfThreshold

float L1RCTNoisyChannelMask::hfThreshold
mps_fire.i
i
Definition: mps_fire.py:428
L1RCTNoisyChannelMask::hfThreshold
float hfThreshold
Definition: L1RCTNoisyChannelMask.h:14
L1RCTNoisyChannelMask::ecalMask
bool ecalMask[18][2][28]
Definition: L1RCTNoisyChannelMask.h:8
alignCSCRings.s
s
Definition: alignCSCRings.py:92
dqmdumpme.k
k
Definition: dqmdumpme.py:60
L1RCTNoisyChannelMask::ecalThreshold
float ecalThreshold
Definition: L1RCTNoisyChannelMask.h:12
L1RCTNoisyChannelMask::hfMask
bool hfMask[18][2][4]
Definition: L1RCTNoisyChannelMask.h:10
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
L1RCTNoisyChannelMask::hcalThreshold
float hcalThreshold
Definition: L1RCTNoisyChannelMask.h:13
L1RCTNoisyChannelMask::hcalMask
bool hcalMask[18][2][28]
Definition: L1RCTNoisyChannelMask.h:9