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 
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 
36 public:
37 
41 
43  L1GtJetCountsCondition(const L1GtCondition*, const L1GlobalTriggerPSB*, const int nrL1JetCounts);
44 
45  // copy constructor
47 
48  // destructor
49  virtual ~L1GtJetCountsCondition();
50 
51  // assign operator
53 
54 public:
55 
57  const bool evaluateCondition() const;
58 
60  void print(std::ostream& myCout) const;
61 
62 public:
63 
66  return m_gtJetCountsTemplate;
67  }
68 
70 
72  inline const L1GlobalTriggerPSB* gtPSB() const {
73  return m_gtPSB;
74  }
75 
76  void setGtPSB(const L1GlobalTriggerPSB*);
77 
78 private:
79 
81  void copy(const L1GtJetCountsCondition& cp);
82 
83 private:
84 
87 
90 
92  unsigned int m_numberL1JetCounts;
93 
94 };
95 
96 #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