CMS 3D CMS Logo

PtAssignmentEngineAux.h
Go to the documentation of this file.
1 #ifndef L1TMuonEndCap_PtAssignmentEngineAux_h
2 #define L1TMuonEndCap_PtAssignmentEngineAux_h
3 
4 #include <cstdint>
5 #include <cstdlib>
6 #include <cmath>
7 #include <vector>
8 
10 
11 // This class (and its daughters) should never own any data members. It should have only functions.
12 
14 public:
15  // Functions for GMT quantities
16  int getGMTPt(float pt) const;
17  int getGMTPtDxy(float pt) const;
18 
19  float getPtFromGMTPt(int gmt_pt) const;
20  float getPtFromGMTPtDxy(int gmt_pt_dxy) const;
21 
22  int getGMTPhi(int phi) const;
23  int getGMTPhiV2(int phi) const;
24 
25  int getGMTEta(int theta, int endcap) const;
26 
27  int getGMTQuality(int mode, int theta, bool promoteMode7, int version) const;
28 
29  std::pair<int, int> getGMTCharge(int mode, const std::vector<int>& phidiffs) const;
30 
31  int getGMTDxy(float dxy) const;
32 };
33 
34 #endif
int getGMTPtDxy(float pt) const
float getPtFromGMTPt(int gmt_pt) const
int getGMTQuality(int mode, int theta, bool promoteMode7, int version) const
int getGMTPt(float pt) const
std::pair< int, int > getGMTCharge(int mode, const std::vector< int > &phidiffs) const
int getGMTEta(int theta, int endcap) const
int getGMTPhi(int phi) const
int getGMTPhiV2(int phi) const
int getGMTDxy(float dxy) const
float getPtFromGMTPtDxy(int gmt_pt_dxy) const