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 public:
41 
44  const int nrL1Mu, const int ifMuEtaNumberBits);
45 
46  // copy constructor
48 
49  // destructor
50  ~L1GtMuonCondition() override;
51 
52  // assign operator
54 
55 public:
57  const bool evaluateCondition() const override;
58 
60  void print(std::ostream &myCout) const override;
61 
62 public:
64  inline const L1GtMuonTemplate *gtMuonTemplate() const {
65  return m_gtMuonTemplate;
66  }
67 
68  void setGtMuonTemplate(const L1GtMuonTemplate *);
69 
71  inline const L1GlobalTriggerGTL *gtGTL() const { return m_gtGTL; }
72 
73  void setGtGTL(const L1GlobalTriggerGTL *);
74 
76  inline const int gtIfMuEtaNumberBits() const { return m_ifMuEtaNumberBits; }
77 
78  void setGtIfMuEtaNumberBits(const int &);
79 
81  inline const int gtCorrParDeltaPhiNrBins() const {
83  }
84 
85  void setGtCorrParDeltaPhiNrBins(const int &);
86 
87 private:
89  void copy(const L1GtMuonCondition &cp);
90 
92  const L1MuGMTCand *getCandidate(const int indexCand) const;
93 
95  const bool checkObjectParameter(const int iCondition,
96  const L1MuGMTCand &cand) const;
97 
98 private:
101 
104 
107 
108  // maximum number of bins for the delta phi scales
110 };
111 
112 #endif
L1GtMuonCondition & operator=(const 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 bool evaluateCondition() const override
the core function to check if the condition matches
const int gtCorrParDeltaPhiNrBins() const
get / set maximum number of bins for the delta phi scales
~L1GtMuonCondition() override
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 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 setGtCorrParDeltaPhiNrBins(const int &)
void print(std::ostream &myCout) const override
print condition