CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtMuonCondition.h
Go to the documentation of this file.
1 #ifndef GlobalTrigger_L1GtMuonCondition_h
2 #define GlobalTrigger_L1GtMuonCondition_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 L1GtMuonTemplate;
31 
32 class L1MuGMTCand;
33 
34 class L1GlobalTriggerGTL;
35 
36 // class declaration
38 {
39 
40 public:
41 
45 
48  const int nrL1Mu,
49  const int ifMuEtaNumberBits);
50 
51  // copy constructor
53 
54  // destructor
55  virtual ~L1GtMuonCondition();
56 
57  // assign operator
59 
60 public:
61 
63  const bool evaluateCondition() const;
64 
66  void print(std::ostream& myCout) const;
67 
68 public:
69 
71  inline const L1GtMuonTemplate* gtMuonTemplate() const {
72  return m_gtMuonTemplate;
73  }
74 
76 
78  inline const L1GlobalTriggerGTL* gtGTL() const {
79  return m_gtGTL;
80  }
81 
82  void setGtGTL(const L1GlobalTriggerGTL*);
83 
84 
86  inline const int gtIfMuEtaNumberBits() const {
87  return m_ifMuEtaNumberBits;
88  }
89 
90  void setGtIfMuEtaNumberBits(const int&);
91 
92 
94  inline const int gtCorrParDeltaPhiNrBins() const {
96  }
97 
98  void setGtCorrParDeltaPhiNrBins(const int&);
99 
100 
101 private:
102 
104  void copy(const L1GtMuonCondition& cp);
105 
107  const L1MuGMTCand* getCandidate(const int indexCand) const;
108 
110  const bool checkObjectParameter(const int iCondition,
111  const L1MuGMTCand& cand) const;
112 
113 private:
114 
117 
120 
123 
124  // maximum number of bins for the delta phi scales
126 
127 
128 
129 };
130 
131 #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 &)