CMS 3D CMS Logo

L1GctChannelMask.h
Go to the documentation of this file.
1 #ifndef L1TObjects_L1GctChannelMask_h
2 #define L1TObjects_L1GctChannelMask_h
3 
5 
6 #include <ostream>
7 
9 public:
13 
15  void maskEmCrate(unsigned crate);
16 
18  void maskRegion(unsigned ieta, unsigned iphi);
19 
21  void maskTotalEt(unsigned ieta);
22 
24  void maskMissingEt(unsigned ieta);
25 
27  void maskTotalHt(unsigned ieta);
28 
30  void maskMissingHt(unsigned ieta);
31 
33  bool emCrateMask(unsigned crate) const;
34 
36  bool regionMask(unsigned ieta, unsigned iphi) const;
37 
38  // get total Et masks
39  bool totalEtMask(unsigned ieta) const;
40 
41  // get missing Et masks
42  bool missingEtMask(unsigned ieta) const;
43 
44  // get total Ht masks
45  bool totalHtMask(unsigned ieta) const;
46 
47  // get missing Ht masks
48  bool missingHtMask(unsigned ieta) const;
49 
50 private:
51  bool emCrateMask_[18]; // mask EM from RCT crate[n]
52  bool regionMask_[22][18]; // mask region[ieta][iphi]
53  bool tetMask_[22];
54  bool metMask_[22];
55  bool htMask_[22];
56  bool mhtMask_[22];
57 
59 };
60 
61 std::ostream& operator<<(std::ostream& os, const L1GctChannelMask obj);
62 
63 #endif
L1GctChannelMask::emCrateMask_
bool emCrateMask_[18]
Definition: L1GctChannelMask.h:51
L1GctChannelMask::maskMissingEt
void maskMissingEt(unsigned ieta)
mask eta range from missing Et sum
Definition: L1GctChannelMask.cc:35
L1GctChannelMask::mhtMask_
bool mhtMask_[22]
Definition: L1GctChannelMask.h:56
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1GctChannelMask::emCrateMask
bool emCrateMask(unsigned crate) const
get EM masks for an RCT crate
Definition: L1GctChannelMask.cc:50
L1GctChannelMask::metMask_
bool metMask_[22]
Definition: L1GctChannelMask.h:54
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
L1GctChannelMask::regionMask_
bool regionMask_[22][18]
Definition: L1GctChannelMask.h:52
L1GctChannelMask::totalEtMask
bool totalEtMask(unsigned ieta) const
Definition: L1GctChannelMask.cc:64
operator<<
std::ostream & operator<<(std::ostream &os, const L1GctChannelMask obj)
Definition: L1GctChannelMask.cc:92
L1GctChannelMask::totalHtMask
bool totalHtMask(unsigned ieta) const
Definition: L1GctChannelMask.cc:78
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
L1GctChannelMask::maskMissingHt
void maskMissingHt(unsigned ieta)
mask eta range from missing Ht sum
Definition: L1GctChannelMask.cc:45
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
L1GctChannelMask::maskTotalEt
void maskTotalEt(unsigned ieta)
mask eta range from total Et sum
Definition: L1GctChannelMask.cc:30
L1GctChannelMask::maskEmCrate
void maskEmCrate(unsigned crate)
mask EM candidates from an RCT crate
Definition: L1GctChannelMask.cc:20
L1GctChannelMask::maskRegion
void maskRegion(unsigned ieta, unsigned iphi)
mask a region
Definition: L1GctChannelMask.cc:25
Serializable.h
L1GctChannelMask::~L1GctChannelMask
~L1GctChannelMask()
Definition: L1GctChannelMask.h:12
L1GctChannelMask::tetMask_
bool tetMask_[22]
Definition: L1GctChannelMask.h:53
L1GctChannelMask::maskTotalHt
void maskTotalHt(unsigned ieta)
mask eta range from total Ht sum
Definition: L1GctChannelMask.cc:40
L1GctChannelMask::regionMask
bool regionMask(unsigned ieta, unsigned iphi) const
get region masks
Definition: L1GctChannelMask.cc:57
L1GctChannelMask::missingHtMask
bool missingHtMask(unsigned ieta) const
Definition: L1GctChannelMask.cc:85
L1GctChannelMask::missingEtMask
bool missingEtMask(unsigned ieta) const
Definition: L1GctChannelMask.cc:71
L1GctChannelMask
Definition: L1GctChannelMask.h:8
L1GctChannelMask::L1GctChannelMask
L1GctChannelMask()
default constructor sets all masks to false
Definition: L1GctChannelMask.cc:3
L1GctChannelMask::htMask_
bool htMask_[22]
Definition: L1GctChannelMask.h:55