CMS 3D CMS Logo

AXOL1TLCondition.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_AXOL1TLCondition_h
2 #define L1Trigger_L1TGlobal_AXOL1TLCondition_h
3 
10 // system include files
11 #include <iosfwd>
12 #include <string>
13 
14 // user include files
15 // base classes
18 
19 // forward declarations
20 class GlobalCondition;
21 class AXOL1TLTemplate;
22 
23 namespace l1t {
24 
25  class L1Candidate;
26  class GlobalBoard;
27 
28  // class declaration
30  public:
34 
37 
38  // copy constructor
40  // destructor
41  ~AXOL1TLCondition() override;
42 
43  // assign operator
45 
47  const bool evaluateCondition(const int bxEval) const override;
48 
50  void print(std::ostream& myCout) const override;
51 
53  inline const AXOL1TLTemplate* gtAXOL1TLTemplate() const { return m_gtAXOL1TLTemplate; }
54 
56 
58  inline const GlobalBoard* gtGTB() const { return m_gtGTB; }
59 
60  void setuGtB(const GlobalBoard*);
61 
62  private:
64  void copy(const AXOL1TLCondition& cp);
65 
68 
71  };
72 
73 } // namespace l1t
74 #endif
const AXOL1TLTemplate * m_gtAXOL1TLTemplate
pointer to a AXOL1TLTemplate
const GlobalBoard * gtGTB() const
get / set the pointer to GTL
void print(std::ostream &myCout) const override
print condition
delete x;
Definition: CaloConfig.h:22
void setGtAXOL1TLTemplate(const AXOL1TLTemplate *)
const GlobalBoard * m_gtGTB
pointer to uGt GlobalBoard, to be able to get the trigger objects
const AXOL1TLTemplate * gtAXOL1TLTemplate() const
get / set the pointer to a Condition
void copy(const AXOL1TLCondition &cp)
copy function for copy constructor and operator=
AXOL1TLCondition & operator=(const AXOL1TLCondition &)
void setuGtB(const GlobalBoard *)
set the pointer to uGT GlobalBoard
const bool evaluateCondition(const int bxEval) const override
the core function to check if the condition matches