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 public:
41 
44  const int nrL1NoIsoEG, const int nrL1IsoEG,
45  const int nrL1CenJet, const int nrL1ForJet,
46  const int nrL1TauJet, const int ifCaloEtaNumberBits);
47 
48  // copy constructor
50 
51  // destructor
52  ~L1GtCaloCondition() override;
53 
54  // assign operator
56 
57 public:
59  const bool evaluateCondition() const override;
60 
62  void print(std::ostream &myCout) const override;
63 
64 public:
66  inline const L1GtCaloTemplate *gtCaloTemplate() const {
67  return m_gtCaloTemplate;
68  }
69 
70  void setGtCaloTemplate(const L1GtCaloTemplate *);
71 
73  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
74 
75  void setGtPSB(const L1GlobalTriggerPSB *);
76 
78  inline const int gtIfCaloEtaNumberBits() const {
79  return m_ifCaloEtaNumberBits;
80  }
81 
82  void setGtIfCaloEtaNumberBits(const int &);
83 
85  inline const int gtCorrParDeltaPhiNrBins() const {
87  }
88 
89  void setGtCorrParDeltaPhiNrBins(const int &);
90 
91 private:
93  void copy(const L1GtCaloCondition &cp);
94 
96  const L1GctCand *getCandidate(const int indexCand) const;
97 
99  const bool checkObjectParameter(const int iCondition,
100  const L1GctCand &cand) const;
101 
102 private:
105 
108 
111 
112  // maximum number of bins for the delta phi scales
114 };
115 
116 #endif
int m_ifCaloEtaNumberBits
number of bits for eta of calorimeter objects
~L1GtCaloCondition() override
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 override
the core function to check if the condition matches
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
void print(std::ostream &myCout) const override
print condition
ABC for GCT EM and jet candidates.
Definition: L1GctCand.h:12
void setGtCorrParDeltaPhiNrBins(const int &)