CMS 3D CMS Logo

L1GtCaloCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtCaloCondition_h
2 #define GlobalTrigger_L1GtCaloCondition_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;
28 class L1GtCaloTemplate;
29 
30 class L1GctCand;
31 
32 class L1GlobalTriggerPSB;
33 
34 // class declaration
36 {
37 
38 public:
39 
43 
46  const int nrL1NoIsoEG,
47  const int nrL1IsoEG,
48  const int nrL1CenJet,
49  const int nrL1ForJet,
50  const int nrL1TauJet,
51  const int ifCaloEtaNumberBits);
52 
53  // copy constructor
55 
56  // destructor
57  virtual ~L1GtCaloCondition();
58 
59  // assign operator
61 
62 public:
63 
65  const bool evaluateCondition() const;
66 
68  void print(std::ostream& myCout) const;
69 
70 public:
71 
73  inline const L1GtCaloTemplate* gtCaloTemplate() const {
74  return m_gtCaloTemplate;
75  }
76 
78 
80  inline const L1GlobalTriggerPSB* gtPSB() const {
81  return m_gtPSB;
82  }
83 
84  void setGtPSB(const L1GlobalTriggerPSB*);
85 
86 
88  inline const int gtIfCaloEtaNumberBits() const {
89  return m_ifCaloEtaNumberBits;
90  }
91 
92  void setGtIfCaloEtaNumberBits(const int&);
93 
95  inline const int gtCorrParDeltaPhiNrBins() const {
97  }
98 
99  void setGtCorrParDeltaPhiNrBins(const int&);
100 
101 private:
102 
104  void copy(const L1GtCaloCondition& cp);
105 
107  const L1GctCand* getCandidate(const int indexCand) const;
108 
110  const bool
111  checkObjectParameter(const int iCondition, const L1GctCand& cand) const;
112 
113 private:
114 
117 
120 
123 
124  // maximum number of bins for the delta phi scales
126 
127 };
128 
129 #endif
int m_ifCaloEtaNumberBits
number of bits for eta of calorimeter objects
void print(std::ostream &myCout) const
print condition
const int gtCorrParDeltaPhiNrBins() const
get / set maximum number of bins for the delta phi scales
const int gtIfCaloEtaNumberBits() const
get / set the number of bits for eta of calorimeter objects
const L1GlobalTriggerPSB * m_gtPSB
pointer to PSB, to be able to get the trigger objects
const L1GctCand * getCandidate(const int indexCand) const
load calo candidates
void setGtCaloTemplate(const L1GtCaloTemplate *)
const bool checkObjectParameter(const int iCondition, const L1GctCand &cand) const
function to check a single object if it matches a condition
const L1GlobalTriggerPSB * gtPSB() const
get / set the pointer to PSB
const L1GtCaloTemplate * m_gtCaloTemplate
pointer to a L1GtCaloTemplate
L1GtCaloCondition & operator=(const L1GtCaloCondition &)
const L1GtCaloTemplate * gtCaloTemplate() const
get / set the pointer to a L1GtCondition
void setGtIfCaloEtaNumberBits(const int &)
void copy(const L1GtCaloCondition &cp)
copy function for copy constructor and operator=
unsigned int m_corrParDeltaPhiNrBins
const bool evaluateCondition() const
the core function to check if the condition matches
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
ABC for GCT EM and jet candidates.
Definition: L1GctCand.h:12
void setGtCorrParDeltaPhiNrBins(const int &)