CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
40 
43  const L1GlobalTriggerPSB *,
44  const int nrL1NoIsoEG,
45  const int nrL1IsoEG,
46  const int nrL1CenJet,
47  const int nrL1ForJet,
48  const int nrL1TauJet,
49  const int ifCaloEtaNumberBits);
50 
51  // copy constructor
53 
54  // destructor
55  ~L1GtCaloCondition() override;
56 
57  // assign operator
59 
60 public:
62  const bool evaluateCondition() const override;
63 
65  void print(std::ostream &myCout) const override;
66 
67 public:
69  inline const L1GtCaloTemplate *gtCaloTemplate() const { return m_gtCaloTemplate; }
70 
71  void setGtCaloTemplate(const L1GtCaloTemplate *);
72 
74  inline const L1GlobalTriggerPSB *gtPSB() const { return m_gtPSB; }
75 
76  void setGtPSB(const L1GlobalTriggerPSB *);
77 
79  inline const int gtIfCaloEtaNumberBits() const { return m_ifCaloEtaNumberBits; }
80 
81  void setGtIfCaloEtaNumberBits(const int &);
82 
84  inline const int gtCorrParDeltaPhiNrBins() const { return m_corrParDeltaPhiNrBins; }
85 
86  void setGtCorrParDeltaPhiNrBins(const int &);
87 
88 private:
90  void copy(const L1GtCaloCondition &cp);
91 
93  const L1GctCand *getCandidate(const int indexCand) const;
94 
96  const bool checkObjectParameter(const int iCondition, const L1GctCand &cand) const;
97 
98 private:
101 
104 
107 
108  // maximum number of bins for the delta phi scales
110 };
111 
112 #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 bool evaluateCondition() const override
the core function to check if the condition matches
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
void print(std::ostream &myCout) const override
print condition
void setGtPSB(const L1GlobalTriggerPSB *)
set the pointer to PSB
ABC for GCT EM and jet candidates.
Definition: L1GctCand.h:12
void setGtCorrParDeltaPhiNrBins(const int &)