CMS 3D CMS Logo

L1GtHfBitCountsCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtHfBitCountsCondition_h
2 #define GlobalTrigger_L1GtHfBitCountsCondition_h
3 
18 // system include files
19 #include <iosfwd>
20 
21 // user include files
22 // base classes
24 
25 // forward declarations
26 class L1GtCondition;
28 
29 class L1GlobalTriggerPSB;
30 
31 // class declaration
33 public:
37 
40 
41  // copy constructor
43 
44  // destructor
45  ~L1GtHfBitCountsCondition() override;
46 
47  // assign operator
49 
50 public:
52  const bool evaluateCondition() const override;
53 
55  void print(std::ostream &myCout) const override;
56 
57 public:
60 
62 
64  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
65 
66  void setGtPSB(const L1GlobalTriggerPSB *);
67 
68 private:
70  void copy(const L1GtHfBitCountsCondition &cp);
71 
72 private:
75 
78 };
79 
80 #endif
L1GtConditionEvaluation
Definition: L1GtConditionEvaluation.h:37
L1GtHfBitCountsCondition::m_gtPSB
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
Definition: L1GtHfBitCountsCondition.h:77
L1GtCondition
Definition: L1GtCondition.h:35
L1GtHfBitCountsCondition::print
void print(std::ostream &myCout) const override
print condition
Definition: L1GtHfBitCountsCondition.cc:144
L1GtHfBitCountsCondition::L1GtHfBitCountsCondition
L1GtHfBitCountsCondition()
Definition: L1GtHfBitCountsCondition.cc:37
L1GtHfBitCountsCondition::m_gtHfBitCountsTemplate
const L1GtHfBitCountsTemplate * m_gtHfBitCountsTemplate
pointer to a L1GtHfBitCountsTemplate
Definition: L1GtHfBitCountsCondition.h:74
L1GtHfBitCountsCondition::~L1GtHfBitCountsCondition
~L1GtHfBitCountsCondition() override
Definition: L1GtHfBitCountsCondition.cc:68
hgcal_conditions::parameters
Definition: HGCConditions.h:86
L1GtHfBitCountsCondition
Definition: L1GtHfBitCountsCondition.h:32
L1GtHfBitCountsCondition::gtHfBitCountsTemplate
const L1GtHfBitCountsTemplate * gtHfBitCountsTemplate() const
get / set the pointer to a L1GtCondition
Definition: L1GtHfBitCountsCondition.h:59
L1GtConditionEvaluation.h
L1GtHfBitCountsTemplate
Definition: L1GtHfBitCountsTemplate.h:34
L1GtHfBitCountsCondition::setGtPSB
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
Definition: L1GtHfBitCountsCondition.cc:84
L1GtHfBitCountsCondition::setGtHfBitCountsTemplate
void setGtHfBitCountsTemplate(const L1GtHfBitCountsTemplate *)
Definition: L1GtHfBitCountsCondition.cc:79
L1GtHfBitCountsCondition::evaluateCondition
const bool evaluateCondition() const override
the core function to check if the condition matches
Definition: L1GtHfBitCountsCondition.cc:87
L1GlobalTriggerPSB
Definition: L1GlobalTriggerPSB.h:58
L1GtHfBitCountsCondition::gtPSB
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB
Definition: L1GtHfBitCountsCondition.h:64
L1GtHfBitCountsCondition::copy
void copy(const L1GtHfBitCountsCondition &cp)
copy function for copy constructor and operator=
Definition: L1GtHfBitCountsCondition.cc:52
L1GtHfBitCountsCondition::operator=
L1GtHfBitCountsCondition & operator=(const L1GtHfBitCountsCondition &)
Definition: L1GtHfBitCountsCondition.cc:73