CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtCaloCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtCaloCondition_h
2 #define GlobalTrigger_L1GtCaloCondition_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;
30 class L1GtCaloTemplate;
31 
32 class L1GctCand;
33 
34 class L1GlobalTriggerPSB;
35 
36 // class declaration
38 {
39 
40 public:
41 
45 
48  const int nrL1NoIsoEG,
49  const int nrL1IsoEG,
50  const int nrL1CenJet,
51  const int nrL1ForJet,
52  const int nrL1TauJet,
53  const int ifCaloEtaNumberBits);
54 
55  // copy constructor
57 
58  // destructor
59  virtual ~L1GtCaloCondition();
60 
61  // assign operator
63 
64 public:
65 
67  const bool evaluateCondition() const;
68 
70  void print(std::ostream& myCout) const;
71 
72 public:
73 
75  inline const L1GtCaloTemplate* gtCaloTemplate() const {
76  return m_gtCaloTemplate;
77  }
78 
80 
82  inline const L1GlobalTriggerPSB* gtPSB() const {
83  return m_gtPSB;
84  }
85 
86  void setGtPSB(const L1GlobalTriggerPSB*);
87 
88 
90  inline const int gtIfCaloEtaNumberBits() const {
91  return m_ifCaloEtaNumberBits;
92  }
93 
94  void setGtIfCaloEtaNumberBits(const int&);
95 
97  inline const int gtCorrParDeltaPhiNrBins() const {
99  }
100 
101  void setGtCorrParDeltaPhiNrBins(const int&);
102 
103 private:
104 
106  void copy(const L1GtCaloCondition& cp);
107 
109  const L1GctCand* getCandidate(const int indexCand) const;
110 
112  const bool
113  checkObjectParameter(const int iCondition, const L1GctCand& cand) const;
114 
115 private:
116 
119 
122 
125 
126  // maximum number of bins for the delta phi scales
128 
129 };
130 
131 #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 &)