CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GctChannelMask.h
Go to the documentation of this file.
1 #ifndef L1TObjects_L1GctChannelMask_h
2 #define L1TObjects_L1GctChannelMask_h
3 
4 #include <ostream>
5 
7  public:
8 
12 
14  void maskEmCrate(unsigned crate);
15 
17  void maskRegion(unsigned ieta, unsigned iphi);
18 
20  void maskTotalEt(unsigned ieta);
21 
23  void maskMissingEt(unsigned ieta);
24 
26  void maskTotalHt(unsigned ieta);
27 
29  void maskMissingHt(unsigned ieta);
30 
32  bool emCrateMask(unsigned crate) const;
33 
35  bool regionMask(unsigned ieta, unsigned iphi) const;
36 
37  // get total Et masks
38  bool totalEtMask(unsigned ieta) const;
39 
40  // get missing Et masks
41  bool missingEtMask(unsigned ieta) const;
42 
43  // get total Ht masks
44  bool totalHtMask(unsigned ieta) const;
45 
46  // get missing Ht masks
47  bool missingHtMask(unsigned ieta) const;
48 
49  private:
50  bool emCrateMask_[18]; // mask EM from RCT crate[n]
51  bool regionMask_[22][18]; // mask region[ieta][iphi]
52  bool tetMask_[22];
53  bool metMask_[22];
54  bool htMask_[22];
55  bool mhtMask_[22];
56 
57 };
58 
59 std::ostream& operator << (std::ostream& os, const L1GctChannelMask obj);
60 
61 #endif
62 
63 
void maskMissingEt(unsigned ieta)
mask eta range from missing Et sum
bool totalHtMask(unsigned ieta) const
bool missingHtMask(unsigned ieta) const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
void maskEmCrate(unsigned crate)
mask EM candidates from an RCT crate
bool emCrateMask(unsigned crate) const
get EM masks for an RCT crate
bool regionMask(unsigned ieta, unsigned iphi) const
get region masks
void maskTotalHt(unsigned ieta)
mask eta range from total Ht sum
L1GctChannelMask()
default constructor sets all masks to false
void maskRegion(unsigned ieta, unsigned iphi)
mask a region
bool regionMask_[22][18]
void maskTotalEt(unsigned ieta)
mask eta range from total Et sum
bool totalEtMask(unsigned ieta) const
void maskMissingHt(unsigned ieta)
mask eta range from missing Ht sum
bool missingEtMask(unsigned ieta) const