CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtCorrelationCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtCorrelationCondition_h
2 #define GlobalTrigger_L1GtCorrelationCondition_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 class L1GlobalTriggerGTL;
30 class L1GlobalTriggerPSB;
32 
33 // class declaration
35 {
36 
37 public:
38 
42 
45  const L1GtCondition*, const int, const int, const int, const int,
47  const L1GtEtaPhiConversions*);
48 
49  // copy constructor
51 
52  // destructor
53  virtual ~L1GtCorrelationCondition();
54 
55  // assign operator
57 
58 public:
59 
61  const bool evaluateCondition() const;
62 
64  void print(std::ostream& myCout) const;
65 
66 public:
67 
69  inline const unsigned int gtNrBinsPhi() const {
70  return m_nrBinsPhi;
71  }
72 
73  void setGtNrBinsPhi(const unsigned int);
74 
78  }
79 
81 
83  inline const L1GlobalTriggerGTL* gtGTL() const {
84  return m_gtGTL;
85  }
86 
87  void setGtGTL(const L1GlobalTriggerGTL*);
88 
90  inline const L1GlobalTriggerPSB* gtPSB() const {
91  return m_gtPSB;
92  }
93 
94  void setGtPSB(const L1GlobalTriggerPSB*);
95 
96 private:
97 
99  void copy(const L1GtCorrelationCondition& cp);
100 
101 private:
102 
105 
108 
111 
117 
119  unsigned int m_nrBinsPhi;
120 
123 
126 
129 
130 private:
131 
133 
134 
135 };
136 
137 #endif
const L1GlobalTriggerGTL * gtGTL() const
get / set the pointer to GTL
L1GtCorrelationCondition & operator=(const L1GtCorrelationCondition &)
const L1GtCorrelationTemplate * gtCorrelationTemplate() const
get / set the pointer to a L1GtCondition
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
unsigned int m_nrBinsPhi
number of bins for delta phi
const L1GtCorrelationTemplate * m_gtCorrelationTemplate
pointer to a L1GtCorrelationTemplate
void setGtNrBinsPhi(const unsigned int)
void print(std::ostream &myCout) const
print condition
const L1GtCondition * m_gtCond0
pointer to first sub-condition
void copy(const L1GtCorrelationCondition &cp)
copy function for copy constructor and operator=
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB
void setGtPSB(const L1GlobalTriggerPSB *)
const unsigned int gtNrBinsPhi() const
get / set the number of phi bins
void setGtGTL(const L1GlobalTriggerGTL *)
const bool evaluateCondition() const
the core function to check if the condition matches
void setGtCorrelationTemplate(const L1GtCorrelationTemplate *)
const L1GlobalTriggerGTL * m_gtGTL
pointer to GTL, to be able to get the trigger objects
const L1GtCondition * m_gtCond1
pointer to second sub-condition
const L1GtEtaPhiConversions * m_gtEtaPhiConversions
pointer to eta and phi conversion class