CMS 3D CMS Logo

L1GtJetCountsCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtJetCountsCondition_h
2 #define GlobalTrigger_L1GtJetCountsCondition_h
3 
18 // system include files
19 #include <iosfwd>
20 #include <string>
21 
22 // user include files
23 // base classes
25 
26 // forward declarations
27 class L1GtCondition;
29 
30 class L1GlobalTriggerPSB;
31 
32 // class declaration
34 
35 public:
39 
42  const int nrL1JetCounts);
43 
44  // copy constructor
46 
47  // destructor
48  ~L1GtJetCountsCondition() override;
49 
50  // assign operator
52 
53 public:
55  const bool evaluateCondition() const override;
56 
58  void print(std::ostream &myCout) const override;
59 
60 public:
63  return m_gtJetCountsTemplate;
64  }
65 
67 
69  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
70 
71  void setGtPSB(const L1GlobalTriggerPSB *);
72 
73 private:
75  void copy(const L1GtJetCountsCondition &cp);
76 
77 private:
80 
83 
85  unsigned int m_numberL1JetCounts;
86 };
87 
88 #endif
const L1GtJetCountsTemplate * gtJetCountsTemplate() const
get / set the pointer to a L1GtCondition
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
void print(std::ostream &myCout) const override
print condition
void setGtJetCountsTemplate(const L1GtJetCountsTemplate *)
unsigned int m_numberL1JetCounts
maximum number of jet counts
void copy(const L1GtJetCountsCondition &cp)
copy function for copy constructor and operator=
L1GtJetCountsCondition & operator=(const L1GtJetCountsCondition &)
const bool evaluateCondition() const override
the core function to check if the condition matches
const L1GtJetCountsTemplate * m_gtJetCountsTemplate
pointer to a L1GtJetCountsTemplate