File indexing completed on 2024-04-06 12:19:59
0001 #ifndef GlobalTrigger_L1GtMuonCondition_h
0002 #define GlobalTrigger_L1GtMuonCondition_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #include <iosfwd>
0020 #include <string>
0021
0022
0023
0024 #include "L1Trigger/GlobalTrigger/interface/L1GtConditionEvaluation.h"
0025
0026
0027 class L1GtCondition;
0028 class L1GtMuonTemplate;
0029
0030 class L1MuGMTCand;
0031
0032 class L1GlobalTriggerGTL;
0033
0034
0035 class L1GtMuonCondition : public L1GtConditionEvaluation {
0036 public:
0037
0038
0039 L1GtMuonCondition();
0040
0041
0042 L1GtMuonCondition(const L1GtCondition *, const L1GlobalTriggerGTL *, const int nrL1Mu, const int ifMuEtaNumberBits);
0043
0044
0045 L1GtMuonCondition(const L1GtMuonCondition &);
0046
0047
0048 ~L1GtMuonCondition() override;
0049
0050
0051 L1GtMuonCondition &operator=(const L1GtMuonCondition &);
0052
0053 public:
0054
0055 const bool evaluateCondition() const override;
0056
0057
0058 void print(std::ostream &myCout) const override;
0059
0060 public:
0061
0062 inline const L1GtMuonTemplate *gtMuonTemplate() const { return m_gtMuonTemplate; }
0063
0064 void setGtMuonTemplate(const L1GtMuonTemplate *);
0065
0066
0067 inline const L1GlobalTriggerGTL *gtGTL() const { return m_gtGTL; }
0068
0069 void setGtGTL(const L1GlobalTriggerGTL *);
0070
0071
0072 inline const int gtIfMuEtaNumberBits() const { return m_ifMuEtaNumberBits; }
0073
0074 void setGtIfMuEtaNumberBits(const int &);
0075
0076
0077 inline const int gtCorrParDeltaPhiNrBins() const { return m_corrParDeltaPhiNrBins; }
0078
0079 void setGtCorrParDeltaPhiNrBins(const int &);
0080
0081 private:
0082
0083 void copy(const L1GtMuonCondition &cp);
0084
0085
0086 const L1MuGMTCand *getCandidate(const int indexCand) const;
0087
0088
0089 const bool checkObjectParameter(const int iCondition, const L1MuGMTCand &cand) const;
0090
0091 private:
0092
0093 const L1GtMuonTemplate *m_gtMuonTemplate;
0094
0095
0096 const L1GlobalTriggerGTL *m_gtGTL;
0097
0098
0099 int m_ifMuEtaNumberBits;
0100
0101
0102 unsigned int m_corrParDeltaPhiNrBins;
0103 };
0104
0105 #endif