CMS 3D CMS Logo

EnergySumCondition.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_EnergySumCondition_h
2 #define L1Trigger_L1TGlobal_EnergySumCondition_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 GlobalCondition;
28 class EnergySumTemplate;
29 
30 namespace l1t {
31 
32  class L1Candidate;
33 
34  class GlobalBoard;
35 
36  // class declaration
38  public:
42 
45 
46  // copy constructor
48 
49  // destructor
50  ~EnergySumCondition() override;
51 
52  // assign operator
54 
55  public:
57  const bool evaluateCondition(const int bxEval) const override;
58 
60  void print(std::ostream& myCout) const override;
61 
62  public:
65 
67 
69  inline const GlobalBoard* getuGtB() const { return m_uGtB; }
70 
71  void setuGtB(const GlobalBoard*);
72 
73  private:
75  void copy(const EnergySumCondition& cp);
76 
77  private:
80 
83  };
84 
85 } // namespace l1t
86 #endif
l1t::GlobalBoard
Definition: GlobalBoard.h:52
l1t::EnergySumCondition::m_gtEnergySumTemplate
const EnergySumTemplate * m_gtEnergySumTemplate
pointer to a EnergySumTemplate
Definition: EnergySumCondition.h:79
l1t::EnergySumCondition::evaluateCondition
const bool evaluateCondition(const int bxEval) const override
the core function to check if the condition matches
Definition: EnergySumCondition.cc:87
l1t::EnergySumCondition::setGtEnergySumTemplate
void setGtEnergySumTemplate(const EnergySumTemplate *)
Definition: EnergySumCondition.cc:79
l1t::EnergySumCondition::getuGtB
const GlobalBoard * getuGtB() const
get / set the pointer to uGt GlobalBoard
Definition: EnergySumCondition.h:69
l1t::EnergySumCondition::copy
void copy(const EnergySumCondition &cp)
copy function for copy constructor and operator=
Definition: EnergySumCondition.cc:54
l1t::EnergySumCondition::EnergySumCondition
EnergySumCondition()
Definition: EnergySumCondition.cc:36
l1t::EnergySumCondition::setuGtB
void setuGtB(const GlobalBoard *)
set the pointer to uGT GlobalBoard
Definition: EnergySumCondition.cc:84
GlobalBoard
l1t
delete x;
Definition: CaloConfig.h:22
EnergySumTemplate
Definition: EnergySumTemplate.h:32
l1t::EnergySumCondition::print
void print(std::ostream &myCout) const override
print condition
Definition: EnergySumCondition.cc:303
ConditionEvaluation.h
l1t::EnergySumCondition::~EnergySumCondition
~EnergySumCondition() override
Definition: EnergySumCondition.cc:68
l1t::EnergySumCondition::gtEnergySumTemplate
const EnergySumTemplate * gtEnergySumTemplate() const
get / set the pointer to a L1GtCondition
Definition: EnergySumCondition.h:64
l1t::ConditionEvaluation
Definition: ConditionEvaluation.h:39
GlobalCondition
Definition: GlobalCondition.h:33
CommonMethods.cp
def cp(fromDir, toDir, listOfFiles, overwrite=False, smallList=False)
Definition: CommonMethods.py:192
l1t::EnergySumCondition::operator=
EnergySumCondition & operator=(const EnergySumCondition &)
Definition: EnergySumCondition.cc:73
l1t::EnergySumCondition
Definition: EnergySumCondition.h:37
l1t::EnergySumCondition::m_uGtB
const GlobalBoard * m_uGtB
pointer to uGt GlobalBoard, to be able to get the trigger objects
Definition: EnergySumCondition.h:82