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
PtAssignmentEngineAux::getGMTPt
int getGMTPt(float pt) const
Definition: PtAssignmentEngineAux.cc:12
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
PtAssignmentEngineAux::getGMTCharge
std::pair< int, int > getGMTCharge(int mode, const std::vector< int > &phidiffs) const
Definition: PtAssignmentEngineAux.cc:192
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
PtAssignmentEngineAux
Definition: PtAssignmentEngineAux.h:13
PtAssignmentEngineAux::getGMTEta
int getGMTEta(int theta, int endcap) const
Definition: PtAssignmentEngineAux.cc:70
PtAssignmentEngineAux::getGMTPhiV2
int getGMTPhiV2(int phi) const
Definition: PtAssignmentEngineAux.cc:62
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
PtAssignmentEngineAux::getGMTDxy
int getGMTDxy(float dxy) const
Definition: PtAssignmentEngineAux.cc:26
PtAssignmentEngineAux::getPtFromGMTPt
float getPtFromGMTPt(int gmt_pt) const
Definition: PtAssignmentEngineAux.cc:40
PtAssignmentEngineAux::getGMTQuality
int getGMTQuality(int mode, int theta, bool promoteMode7, int version) const
Definition: PtAssignmentEngineAux.cc:84
Common.h
PtAssignmentEngineAux::getGMTPhi
int getGMTPhi(int phi) const
Definition: PtAssignmentEngineAux.cc:50
PtAssignmentEngineAux::getPtFromGMTPtDxy
float getPtFromGMTPtDxy(int gmt_pt_dxy) const
Definition: PtAssignmentEngineAux.cc:45
DDAxes::phi
PVValHelper::dxy
Definition: PVValidationHelpers.h:47
PtAssignmentEngineAux::getGMTPtDxy
int getGMTPtDxy(float pt) const
Definition: PtAssignmentEngineAux.cc:19
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45