CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
L1RCTChannelMask Struct Reference

#include <L1RCTChannelMask.h>

Public Member Functions

void print (std::ostream &s) const
 

Public Attributes

bool ecalMask [18][2][28]
 
bool hcalMask [18][2][28]
 
bool hfMask [18][2][4]
 

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 L1RCTChannelMask.h.

Member Function Documentation

◆ print()

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

Definition at line 11 of file L1RCTChannelMask.h.

11  {
12  s << "Printing record L1RCTChannelMaskRcd " << std::endl;
13  s << "Masked channels in L1RCTChannelMask" << std::endl;
14  for (int i = 0; i < 18; i++)
15  for (int j = 0; j < 2; j++) {
16  for (int k = 0; k < 28; k++) {
17  if (ecalMask[i][j][k])
18  s << "ECAL masked channel: RCT crate " << i << " iphi " << j << " ieta " << k << std::endl;
19  if (hcalMask[i][j][k])
20  s << "HCAL masked channel: RCT crate " << i << " iphi " << j << " ieta " << k << std::endl;
21  }
22  for (int k = 0; k < 4; k++)
23  if (hfMask[i][j][k])
24  s << "HF masked channel: RCT crate " << i << " iphi " << j << " ieta " << k << std::endl;
25  }
26  }

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

Referenced by L1RCTChannelMaskTester::analyze(), and L1TConfigDumper::analyze().

◆ serialize()

template<class Archive >
void L1RCTChannelMask::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 28 of file L1RCTChannelMask.h.

◆ cond::serialization::access

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

Definition at line 28 of file L1RCTChannelMask.h.

Member Data Documentation

◆ ecalMask

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

◆ hcalMask

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

◆ hfMask

bool L1RCTChannelMask::hfMask[18][2][4]
mps_fire.i
i
Definition: mps_fire.py:428
L1RCTChannelMask::hfMask
bool hfMask[18][2][4]
Definition: L1RCTChannelMask.h:10
alignCSCRings.s
s
Definition: alignCSCRings.py:92
dqmdumpme.k
k
Definition: dqmdumpme.py:60
L1RCTChannelMask::hcalMask
bool hcalMask[18][2][28]
Definition: L1RCTChannelMask.h:9
L1RCTChannelMask::ecalMask
bool ecalMask[18][2][28]
Definition: L1RCTChannelMask.h:8
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66