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 8 of file L1RCTChannelMask.h.

Member Function Documentation

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

Definition at line 13 of file L1RCTChannelMask.h.

References mps_fire::i, and gen::k.

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

13  {
14  s << "Printing record L1RCTChannelMaskRcd " << std::endl;
15  s << "Masked channels in L1RCTChannelMask" <<std::endl;
16  for(int i = 0; i< 18; i++)
17  for(int j =0; j< 2; j++){
18  for(int k =0; k<28; k++){
19  if(ecalMask[i][j][k])
20  s << "ECAL masked channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
21  if(hcalMask[i][j][k])
22  s << "HCAL masked channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
23  }
24  for(int k =0; k<4;k++)
25  if(hfMask[i][j][k])
26  s << "HF masked channel: RCT crate " << i << " iphi " << j <<" ieta " <<k <<std::endl;
27  }
28 
29  }
bool ecalMask[18][2][28]
int k[5][pyjets_maxn]
bool hcalMask[18][2][28]
bool hfMask[18][2][4]
template<class Archive >
void L1RCTChannelMask::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 31 of file L1RCTChannelMask.h.

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

Definition at line 31 of file L1RCTChannelMask.h.

Member Data Documentation

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