CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
const GlobalBoard * getuGtB() const
get / set the pointer to uGt GlobalBoard
const GlobalBoard * m_uGtB
pointer to uGt GlobalBoard, to be able to get the trigger objects
void setuGtB(const GlobalBoard *)
set the pointer to uGT GlobalBoard
const EnergySumTemplate * gtEnergySumTemplate() const
get / set the pointer to a L1GtCondition
const EnergySumTemplate * m_gtEnergySumTemplate
pointer to a EnergySumTemplate
EnergySumCondition & operator=(const EnergySumCondition &)
void print(std::ostream &myCout) const override
print condition
const bool evaluateCondition(const int bxEval) const override
the core function to check if the condition matches
void setGtEnergySumTemplate(const EnergySumTemplate *)
void copy(const EnergySumCondition &cp)
copy function for copy constructor and operator=