CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtJetCountsCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtJetCountsCondition_h
2 #define GlobalTrigger_L1GtJetCountsCondition_h
3 
20 // system include files
21 #include <iosfwd>
22 #include <string>
23 
24 // user include files
25 // base classes
27 
28 // forward declarations
29 class L1GtCondition;
31 
32 class L1GlobalTriggerPSB;
33 
34 // class declaration
36 {
37 
38 public:
39 
43 
45  L1GtJetCountsCondition(const L1GtCondition*, const L1GlobalTriggerPSB*, const int nrL1JetCounts);
46 
47  // copy constructor
49 
50  // destructor
51  virtual ~L1GtJetCountsCondition();
52 
53  // assign operator
55 
56 public:
57 
59  const bool evaluateCondition() const;
60 
62  void print(std::ostream& myCout) const;
63 
64 public:
65 
68  return m_gtJetCountsTemplate;
69  }
70 
72 
74  inline const L1GlobalTriggerPSB* gtPSB() const {
75  return m_gtPSB;
76  }
77 
78  void setGtPSB(const L1GlobalTriggerPSB*);
79 
80 private:
81 
83  void copy(const L1GtJetCountsCondition& cp);
84 
85 private:
86 
89 
92 
94  unsigned int m_numberL1JetCounts;
95 
96 };
97 
98 #endif
void print(std::ostream &myCout) const
print condition
const bool evaluateCondition() const
the core function to check if the condition matches
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 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 L1GtJetCountsTemplate * m_gtJetCountsTemplate
pointer to a L1GtJetCountsTemplate