CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 public:
40 
42  L1GtMuonCondition(const L1GtCondition *, const L1GlobalTriggerGTL *, const int nrL1Mu, const int ifMuEtaNumberBits);
43 
44  // copy constructor
46 
47  // destructor
48  ~L1GtMuonCondition() override;
49 
50  // assign operator
52 
53 public:
55  const bool evaluateCondition() const override;
56 
58  void print(std::ostream &myCout) const override;
59 
60 public:
62  inline const L1GtMuonTemplate *gtMuonTemplate() const { return m_gtMuonTemplate; }
63 
64  void setGtMuonTemplate(const L1GtMuonTemplate *);
65 
67  inline const L1GlobalTriggerGTL *gtGTL() const { return m_gtGTL; }
68 
69  void setGtGTL(const L1GlobalTriggerGTL *);
70 
72  inline const int gtIfMuEtaNumberBits() const { return m_ifMuEtaNumberBits; }
73 
74  void setGtIfMuEtaNumberBits(const int &);
75 
77  inline const int gtCorrParDeltaPhiNrBins() const { return m_corrParDeltaPhiNrBins; }
78 
79  void setGtCorrParDeltaPhiNrBins(const int &);
80 
81 private:
83  void copy(const L1GtMuonCondition &cp);
84 
86  const L1MuGMTCand *getCandidate(const int indexCand) const;
87 
89  const bool checkObjectParameter(const int iCondition, const L1MuGMTCand &cand) const;
90 
91 private:
94 
97 
100 
101  // maximum number of bins for the delta phi scales
103 };
104 
105 #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=
const bool evaluateCondition() const override
the core function to check if the condition matches
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 bool checkObjectParameter(const int iCondition, const L1MuGMTCand &cand) const
function to check a single object if it matches a condition
const L1GlobalTriggerGTL * gtGTL() const
get / set the pointer to GTL
const L1GtMuonTemplate * gtMuonTemplate() const
get / set the pointer to a L1GtCondition
~L1GtMuonCondition() override
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
void print(std::ostream &myCout) const override
print condition
const int gtCorrParDeltaPhiNrBins() const
get / set maximum number of bins for the delta phi scales
void setGtCorrParDeltaPhiNrBins(const int &)
const L1MuGMTCand * getCandidate(const int indexCand) const
load muon candidates