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 
20 // system include files
21 #include <iosfwd>
22 #include <string>
23 
24 // user include files
25 // base classes
27 
28 // forward declarations
29 class L1GtCondition;
31 class L1GlobalTriggerGTL;
32 class L1GlobalTriggerPSB;
34 
35 // class declaration
37 {
38 
39 public:
40 
44 
47  const L1GtCondition*, const int, const int, const int, const int,
49  const L1GtEtaPhiConversions*);
50 
51  // copy constructor
53 
54  // destructor
55  virtual ~L1GtCorrelationCondition();
56 
57  // assign operator
59 
60 public:
61 
63  const bool evaluateCondition() const;
64 
66  void print(std::ostream& myCout) const;
67 
68 public:
69 
71  inline const unsigned int gtNrBinsPhi() const {
72  return m_nrBinsPhi;
73  }
74 
75  void setGtNrBinsPhi(const unsigned int);
76 
80  }
81 
83 
85  inline const L1GlobalTriggerGTL* gtGTL() const {
86  return m_gtGTL;
87  }
88 
89  void setGtGTL(const L1GlobalTriggerGTL*);
90 
92  inline const L1GlobalTriggerPSB* gtPSB() const {
93  return m_gtPSB;
94  }
95 
96  void setGtPSB(const L1GlobalTriggerPSB*);
97 
98 private:
99 
101  void copy(const L1GtCorrelationCondition& cp);
102 
103 private:
104 
107 
110 
113 
119 
121  unsigned int m_nrBinsPhi;
122 
125 
128 
131 
132 private:
133 
135 
136 
137 };
138 
139 #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