test
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 
5 
6 #include <ostream>
7 
9  public:
10 
14 
16  void maskEmCrate(unsigned crate);
17 
19  void maskRegion(unsigned ieta, unsigned iphi);
20 
22  void maskTotalEt(unsigned ieta);
23 
25  void maskMissingEt(unsigned ieta);
26 
28  void maskTotalHt(unsigned ieta);
29 
31  void maskMissingHt(unsigned ieta);
32 
34  bool emCrateMask(unsigned crate) const;
35 
37  bool regionMask(unsigned ieta, unsigned iphi) const;
38 
39  // get total Et masks
40  bool totalEtMask(unsigned ieta) const;
41 
42  // get missing Et masks
43  bool missingEtMask(unsigned ieta) const;
44 
45  // get total Ht masks
46  bool totalHtMask(unsigned ieta) const;
47 
48  // get missing Ht masks
49  bool missingHtMask(unsigned ieta) const;
50 
51  private:
52  bool emCrateMask_[18]; // mask EM from RCT crate[n]
53  bool regionMask_[22][18]; // mask region[ieta][iphi]
54  bool tetMask_[22];
55  bool metMask_[22];
56  bool htMask_[22];
57  bool mhtMask_[22];
58 
59 
61 };
62 
63 std::ostream& operator << (std::ostream& os, const L1GctChannelMask obj);
64 
65 #endif
66 
67 
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:188
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
#define COND_SERIALIZABLE
Definition: Serializable.h:37
bool totalEtMask(unsigned ieta) const
void maskMissingHt(unsigned ieta)
mask eta range from missing Ht sum
bool missingEtMask(unsigned ieta) const