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 
18  float getPtFromGMTPt(int gmt_pt) const;
19 
20  int getGMTPhi(int phi) const;
21  int getGMTPhiV2(int phi) const;
22 
23  int getGMTEta(int theta, int endcap) const;
24 
25  int getGMTQuality(int mode, int theta, bool promoteMode7, int version) const;
26 
27  std::pair<int, int> getGMTCharge(int mode, const std::vector<int>& phidiffs) const;
28 };
29 
30 #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:166
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:44
PtAssignmentEngineAux::getGMTPhiV2
int getGMTPhiV2(int phi) const
Definition: PtAssignmentEngineAux.cc:36
theta
Geom::Theta< T > theta() const
Definition: Basic3DVectorLD.h:150
PtAssignmentEngineAux::getPtFromGMTPt
float getPtFromGMTPt(int gmt_pt) const
Definition: PtAssignmentEngineAux.cc:19
PtAssignmentEngineAux::getGMTQuality
int getGMTQuality(int mode, int theta, bool promoteMode7, int version) const
Definition: PtAssignmentEngineAux.cc:58
Common.h
PtAssignmentEngineAux::getGMTPhi
int getGMTPhi(int phi) const
Definition: PtAssignmentEngineAux.cc:24
DDAxes::phi
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45