CMS 3D CMS Logo

MicroGMTConfiguration.h
Go to the documentation of this file.
1 #ifndef __l1microgmtconfiguration_h
2 #define __l1microgmtconfiguration_h
3 
6 
11 
12 #include <map>
13 #include <utility>
14 
15 namespace l1t {
17  public:
18  // All possible inputs for LUTs
19  enum input_t {
20  PT,
22  PHI,
23  ETA,
30  };
32 
33  typedef std::pair<input_t, int> PortType;
36  typedef Muon OutMuon;
42  // Two's complement for a given bit-length
43  static unsigned getTwosComp(const int signedInt, const int width);
44 
45  static int calcGlobalPhi(int locPhi, tftype t, int proc);
46 
47  static int setOutputMuonQuality(int muQual, tftype type, int haloBit);
48 
49  static int calcMuonHwEtaExtra(const l1t::Muon& mu);
50  static int calcMuonHwPhiExtra(const l1t::Muon& mu);
51  static double calcMuonEtaExtra(const l1t::Muon& mu);
52  static double calcMuonPhiExtra(const l1t::Muon& mu);
53  };
54 } // namespace l1t
55 #endif /* defined (__l1microgmtconfiguration_h) */
l1t::MicroGMTConfiguration::InterMuon
GMTInternalMuon InterMuon
Definition: MicroGMTConfiguration.h:37
ApeEstimator_cff.width
width
Definition: ApeEstimator_cff.py:24
l1t::GMTInternalMuon
Definition: GMTInternalMuon.h:10
l1t::MicroGMTConfiguration::PHI
Definition: MicroGMTConfiguration.h:22
l1t::MicroGMTConfiguration::InputCollection
RegionalMuonCandBxCollection InputCollection
Definition: MicroGMTConfiguration.h:34
l1t::tftype
tftype
Definition: RegionalMuonCandFwd.h:8
MuonCaloSumFwd.h
l1t::MicroGMTConfiguration::InterMuonList
GMTInternalMuonList InterMuonList
Definition: MicroGMTConfiguration.h:39
amptDefaultParameters_cff.mu
mu
Definition: amptDefaultParameters_cff.py:16
Muon.h
l1t::MicroGMTConfiguration::CaloInput
MuonCaloSum CaloInput
Definition: MicroGMTConfiguration.h:40
Muon
Definition: Muon.py:1
l1t::MicroGMTConfiguration::calcGlobalPhi
static int calcGlobalPhi(int locPhi, tftype t, int proc)
Definition: MicroGMTConfiguration.cc:11
BXVector< RegionalMuonCand >
l1t::MicroGMTConfiguration::PortType
std::pair< input_t, int > PortType
Definition: MicroGMTConfiguration.h:33
l1t::MicroGMTConfiguration::QUALITY
Definition: MicroGMTConfiguration.h:25
l1t::MicroGMTConfiguration::PT
Definition: MicroGMTConfiguration.h:20
l1t::MicroGMTConfiguration::ENERGYSUM
Definition: MicroGMTConfiguration.h:28
l1t::MicroGMTConfiguration::calcMuonPhiExtra
static double calcMuonPhiExtra(const l1t::Muon &mu)
Definition: MicroGMTConfiguration.cc:54
l1t::GMTInternalMuonList
std::list< std::shared_ptr< GMTInternalMuon > > GMTInternalMuonList
Definition: GMTInternalMuonFwd.h:12
l1t::MicroGMTConfiguration::input_t
input_t
Definition: MicroGMTConfiguration.h:19
l1t::MicroGMTConfiguration::setOutputMuonQuality
static int setOutputMuonQuality(int muQual, tftype type, int haloBit)
Definition: MicroGMTConfiguration.cc:29
l1t::MicroGMTConfiguration::InterMuonCollection
GMTInternalMuonCollection InterMuonCollection
Definition: MicroGMTConfiguration.h:38
l1t::MicroGMTConfiguration::DELTA_PHI_RED
Definition: MicroGMTConfiguration.h:27
ValidateTausOnZEEFastSim_cff.proc
proc
Definition: ValidateTausOnZEEFastSim_cff.py:6
l1t::MicroGMTConfiguration::ETA_FINE_BIT
Definition: MicroGMTConfiguration.h:29
l1t
delete x;
Definition: CaloConfig.h:22
l1t::MicroGMTConfiguration::getTwosComp
static unsigned getTwosComp(const int signedInt, const int width)
Definition: MicroGMTConfiguration.cc:3
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
l1t::MicroGMTConfiguration::ETA_OUT
Definition: MicroGMTConfiguration.h:31
GMTInternalMuonFwd.h
l1t::MicroGMTConfiguration::OutputCollection
MuonBxCollection OutputCollection
Definition: MicroGMTConfiguration.h:35
l1t::MicroGMTConfiguration::DELTA_ETA_RED
Definition: MicroGMTConfiguration.h:26
l1t::GMTInternalMuonCollection
std::vector< GMTInternalMuon > GMTInternalMuonCollection
Definition: GMTInternalMuonFwd.h:9
l1t::MicroGMTConfiguration::PT_COARSE
Definition: MicroGMTConfiguration.h:21
l1t::MicroGMTConfiguration::output_t
output_t
Definition: MicroGMTConfiguration.h:31
l1t::MuonCaloSum
Definition: MuonCaloSum.h:7
Frameworkfwd.h
l1t::MicroGMTConfiguration
Definition: MicroGMTConfiguration.h:16
l1t::MicroGMTConfiguration::calcMuonHwEtaExtra
static int calcMuonHwEtaExtra(const l1t::Muon &mu)
Definition: MicroGMTConfiguration.cc:39
l1t::MicroGMTConfiguration::ETA_COARSE
Definition: MicroGMTConfiguration.h:24
l1t::MicroGMTConfiguration::calcMuonHwPhiExtra
static int calcMuonHwPhiExtra(const l1t::Muon &mu)
Definition: MicroGMTConfiguration.cc:41
RegionalMuonCandFwd.h
ParameterSet.h
l1t::Muon
Definition: Muon.h:21
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
l1t::MicroGMTConfiguration::OutMuon
Muon OutMuon
Definition: MicroGMTConfiguration.h:36
l1t::MicroGMTConfiguration::PHI_OUT
Definition: MicroGMTConfiguration.h:31
l1t::MicroGMTConfiguration::calcMuonEtaExtra
static double calcMuonEtaExtra(const l1t::Muon &mu)
Definition: MicroGMTConfiguration.cc:52
l1t::MicroGMTConfiguration::ETA
Definition: MicroGMTConfiguration.h:23
l1t::MicroGMTConfiguration::CaloInputCollection
MuonCaloSumBxCollection CaloInputCollection
Definition: MicroGMTConfiguration.h:41