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 public:
38 
40  L1GtJetCountsCondition(const L1GtCondition *, const L1GlobalTriggerPSB *, const int nrL1JetCounts);
41 
42  // copy constructor
44 
45  // destructor
46  ~L1GtJetCountsCondition() override;
47 
48  // assign operator
50 
51 public:
53  const bool evaluateCondition() const override;
54 
56  void print(std::ostream &myCout) const override;
57 
58 public:
61 
63 
65  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
66 
67  void setGtPSB(const L1GlobalTriggerPSB *);
68 
69 private:
71  void copy(const L1GtJetCountsCondition &cp);
72 
73 private:
76 
79 
81  unsigned int m_numberL1JetCounts;
82 };
83 
84 #endif
L1GtConditionEvaluation
Definition: L1GtConditionEvaluation.h:37
L1GtCondition
Definition: L1GtCondition.h:35
L1GtJetCountsCondition::setGtJetCountsTemplate
void setGtJetCountsTemplate(const L1GtJetCountsTemplate *)
Definition: L1GtJetCountsCondition.cc:82
L1GtJetCountsCondition
Definition: L1GtJetCountsCondition.h:33
L1GtJetCountsCondition::evaluateCondition
const bool evaluateCondition() const override
the core function to check if the condition matches
Definition: L1GtJetCountsCondition.cc:90
L1GtJetCountsCondition::gtJetCountsTemplate
const L1GtJetCountsTemplate * gtJetCountsTemplate() const
get / set the pointer to a L1GtCondition
Definition: L1GtJetCountsCondition.h:60
L1GtJetCountsCondition::setGtPSB
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
Definition: L1GtJetCountsCondition.cc:87
hgcal_conditions::parameters
Definition: HGCConditions.h:86
L1GtJetCountsCondition::m_gtPSB
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
Definition: L1GtJetCountsCondition.h:78
L1GtJetCountsCondition::~L1GtJetCountsCondition
~L1GtJetCountsCondition() override
Definition: L1GtJetCountsCondition.cc:71
L1GtJetCountsCondition::m_numberL1JetCounts
unsigned int m_numberL1JetCounts
maximum number of jet counts
Definition: L1GtJetCountsCondition.h:81
L1GtConditionEvaluation.h
L1GtJetCountsCondition::operator=
L1GtJetCountsCondition & operator=(const L1GtJetCountsCondition &)
Definition: L1GtJetCountsCondition.cc:76
L1GtJetCountsCondition::m_gtJetCountsTemplate
const L1GtJetCountsTemplate * m_gtJetCountsTemplate
pointer to a L1GtJetCountsTemplate
Definition: L1GtJetCountsCondition.h:75
L1GtJetCountsCondition::print
void print(std::ostream &myCout) const override
print condition
Definition: L1GtJetCountsCondition.cc:146
L1GtJetCountsTemplate
Definition: L1GtJetCountsTemplate.h:34
L1GlobalTriggerPSB
Definition: L1GlobalTriggerPSB.h:58
L1GtJetCountsCondition::L1GtJetCountsCondition
L1GtJetCountsCondition()
Definition: L1GtJetCountsCondition.cc:37
L1GtJetCountsCondition::gtPSB
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB
Definition: L1GtJetCountsCondition.h:65
L1GtJetCountsCondition::copy
void copy(const L1GtJetCountsCondition &cp)
copy function for copy constructor and operator=
Definition: L1GtJetCountsCondition.cc:55