CMS 3D CMS Logo

L1GtMuonCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtMuonCondition_h
2 #define GlobalTrigger_L1GtMuonCondition_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 L1GtMuonTemplate;
29 
30 class L1MuGMTCand;
31 
32 class L1GlobalTriggerGTL;
33 
34 // class declaration
36 {
37 
38 public:
39 
43 
46  const int nrL1Mu,
47  const int ifMuEtaNumberBits);
48 
49  // copy constructor
51 
52  // destructor
53  virtual ~L1GtMuonCondition();
54 
55  // assign operator
57 
58 public:
59 
61  const bool evaluateCondition() const;
62 
64  void print(std::ostream& myCout) const;
65 
66 public:
67 
69  inline const L1GtMuonTemplate* gtMuonTemplate() const {
70  return m_gtMuonTemplate;
71  }
72 
74 
76  inline const L1GlobalTriggerGTL* gtGTL() const {
77  return m_gtGTL;
78  }
79 
80  void setGtGTL(const L1GlobalTriggerGTL*);
81 
82 
84  inline const int gtIfMuEtaNumberBits() const {
85  return m_ifMuEtaNumberBits;
86  }
87 
88  void setGtIfMuEtaNumberBits(const int&);
89 
90 
92  inline const int gtCorrParDeltaPhiNrBins() const {
94  }
95 
96  void setGtCorrParDeltaPhiNrBins(const int&);
97 
98 
99 private:
100 
102  void copy(const L1GtMuonCondition& cp);
103 
105  const L1MuGMTCand* getCandidate(const int indexCand) const;
106 
108  const bool checkObjectParameter(const int iCondition,
109  const L1MuGMTCand& cand) const;
110 
111 private:
112 
115 
118 
121 
122  // maximum number of bins for the delta phi scales
124 
125 
126 
127 };
128 
129 #endif
L1GtMuonCondition & operator=(const L1GtMuonCondition &)
virtual ~L1GtMuonCondition()
unsigned int m_corrParDeltaPhiNrBins
void setGtIfMuEtaNumberBits(const int &)
void copy(const L1GtMuonCondition &cp)
copy function for copy constructor and operator=
int m_ifMuEtaNumberBits
number of bits for eta of muon objects
const L1GtMuonTemplate * m_gtMuonTemplate
pointer to a L1GtMuonTemplate
const int gtIfMuEtaNumberBits() const
get / set the number of bits for eta of muon objects
const L1MuGMTCand * getCandidate(const int indexCand) const
load muon candidates
const L1GlobalTriggerGTL * gtGTL() const
get / set the pointer to GTL
const int gtCorrParDeltaPhiNrBins() const
get / set maximum number of bins for the delta phi scales
const bool checkObjectParameter(const int iCondition, const L1MuGMTCand &cand) const
function to check a single object if it matches a condition
void setGtGTL(const L1GlobalTriggerGTL *)
set the pointer to GTL
void setGtMuonTemplate(const L1GtMuonTemplate *)
const bool evaluateCondition() const
the core function to check if the condition matches
const L1GlobalTriggerGTL * m_gtGTL
pointer to GTL, to be able to get the trigger objects
const L1GtMuonTemplate * gtMuonTemplate() const
get / set the pointer to a L1GtCondition
void print(std::ostream &myCout) const
print condition
void setGtCorrParDeltaPhiNrBins(const int &)