CMS 3D CMS Logo

CorrWithOverlapRemovalCondition.h
Go to the documentation of this file.
1 #ifndef L1Trigger_L1TGlobal_CorrWithOverlapRemovalCondition_h
2 #define L1Trigger_L1TGlobal_CorrWithOverlapRemovalCondition_h
3 
19 // system include files
20 #include <iosfwd>
21 #include <string>
22 
23 // user include files
24 // base classes
27 
28 // forward declarations
29 class GlobalCondition;
31 
32 namespace l1t {
33 
34 class L1Candidate;
35 
36 class GlobalBoard;
37 
38 // class declaration
40 {
41 
42 public:
43 
47 
50  const GlobalCondition*,
51  const GlobalCondition*,
52  const GlobalCondition*,
53  const GlobalBoard*
54 
55  );
56 
57  // copy constructor
59 
60  // destructor
62 
63  // assign operator
65 
66 public:
67 
69  const bool evaluateCondition(const int bxEval) const override;
70 
72  void print(std::ostream& myCout) const override;
73 
74 public:
75 
79  }
80 
82 
84  inline const GlobalBoard* getuGtB() const {
85  return m_uGtB;
86  }
87 
88  void setuGtB(const GlobalBoard*);
89 
90  void setScales(const GlobalScales*);
91 
92 /* //BLW Comment out for now
94  inline const int gtIfCaloEtaNumberBits() const {
95  return m_ifCaloEtaNumberBits;
96  }
97 
98 
99  void setGtIfCaloEtaNumberBits(const int&);
100 
102  inline const int gtCorrParDeltaPhiNrBins() const {
103  return m_corrParDeltaPhiNrBins;
104  }
105 
106  void setGtCorrParDeltaPhiNrBins(const int&);
107 */
108 private:
109 
112 
114  const l1t::L1Candidate* getCandidate(const int bx, const int indexCand) const;
115 
117  const bool
118  checkObjectParameter(const int iCondition, const l1t::L1Candidate& cand) const;
119 
120 private:
121 
124 
125 
126  // pointer to subconditions
129  const GlobalCondition* m_gtCond2; // used for overlap removal
130 
133 
135 
136 
137 /* //BLW comment out for now
139  int m_ifCaloEtaNumberBits;
140 
141  // maximum number of bins for the delta phi scales
142  unsigned int m_corrParDeltaPhiNrBins;
143 */
144 
145 
146 };
147 
148 }
149 #endif
void setGtCorrelationWithOverlapRemovalTemplate(const CorrelationWithOverlapRemovalTemplate *)
const CorrelationWithOverlapRemovalTemplate * gtCorrelationWithOverlapRemovalTemplate() const
get / set the pointer to a Condition
delete x;
Definition: CaloConfig.h:22
void copy(const CorrWithOverlapRemovalCondition &cp)
copy function for copy constructor and operator=
const l1t::L1Candidate * getCandidate(const int bx, const int indexCand) const
load candidates
const CorrelationWithOverlapRemovalTemplate * m_gtCorrelationWithOverlapRemovalTemplate
pointer to a CorrelationWithOverlapRemovalTemplate
const GlobalBoard * m_uGtB
pointer to uGt GlobalBoard, to be able to get the trigger objects
const bool checkObjectParameter(const int iCondition, const l1t::L1Candidate &cand) const
function to check a single object if it matches a condition
CorrWithOverlapRemovalCondition & operator=(const CorrWithOverlapRemovalCondition &)
void print(std::ostream &myCout) const override
print condition
const GlobalBoard * getuGtB() const
get / set the pointer to uGt GlobalBoard
const bool evaluateCondition(const int bxEval) const override
the core function to check if the condition matches
void setuGtB(const GlobalBoard *)
set the pointer to uGT GlobalBoard