CMS 3D CMS Logo

MuonSeedPtExtractor.h
Go to the documentation of this file.
1 #ifndef RecoMuon_MuonSeedGenerator_MuonSeedPtExtractor_H
2 #define RecoMuon_MuonSeedGenerator_MuonSeedPtExtractor_H
3 
9 
10 #include <map>
11 
12 namespace edm {
13  class ParameterSet;
14 }
15 
17 public:
20 
22  virtual ~MuonSeedPtExtractor();
23 
26  virtual std::vector<double> pT_extract(MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstHit,
28 
29  void setBeamSpot(const GlobalVector& gv) { theBeamSpot = gv; }
30 
31 private:
33  // because compiler duplicaes constructors
34  void init(const edm::ParameterSet& par);
37 
38  std::vector<double> getPt(const std::vector<double>& vPara, double eta, double dPhi) const;
39 
40  std::vector<double> getPt(const std::vector<double>& vPara,
41  double eta,
42  double dPhi,
43  const std::string& combination,
44  const DTChamberId& outerDetId) const;
45 
46  typedef std::map<std::string, std::vector<double> > ParametersMap;
47  typedef std::map<std::string, std::vector<double> > ScalesMap;
51  bool scaleDT_;
52 };
53 #endif
Vector3DBase
Definition: Vector3DBase.h:8
MuonSeedPtExtractor::setBeamSpot
void setBeamSpot(const GlobalVector &gv)
Definition: MuonSeedPtExtractor.h:29
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
Definition: MuonTransientTrackingRecHit.h:22
MuonSeedPtExtractor::~MuonSeedPtExtractor
virtual ~MuonSeedPtExtractor()
Destructor.
Definition: MuonSeedPtExtractor.cc:108
edm
HLT enums.
Definition: AlignableModifier.h:19
MuonSeedPtExtractor::ParametersMap
std::map< std::string, std::vector< double > > ParametersMap
Definition: MuonSeedPtExtractor.h:46
MuonSeedPtExtractor
Definition: MuonSeedPtExtractor.h:16
MuonSeedPtExtractor::scaleDT_
bool scaleDT_
Definition: MuonSeedPtExtractor.h:51
MuonSeedPtExtractor::theScalesForCombo
ScalesMap theScalesForCombo
Definition: MuonSeedPtExtractor.h:49
MuonSeedPtExtractor::stationCode
int stationCode(MuonTransientTrackingRecHit::ConstMuonRecHitPointer hit) const
Definition: MuonSeedPtExtractor.cc:336
MuonSeedPtExtractor::init
void init(const edm::ParameterSet &par)
Definition: MuonSeedPtExtractor.cc:15
MuonSeedPtExtractor::theParametersForCombo
ParametersMap theParametersForCombo
Definition: MuonSeedPtExtractor.h:48
PVValHelper::eta
Definition: PVValidationHelpers.h:69
MuonSeedPtExtractor::theBeamSpot
GlobalVector theBeamSpot
Definition: MuonSeedPtExtractor.h:50
HLT_2018_cff.dPhi
dPhi
Definition: HLT_2018_cff.py:12290
MuonSeedPtExtractor::getPt
std::vector< double > getPt(const std::vector< double > &vPara, double eta, double dPhi) const
Definition: MuonSeedPtExtractor.cc:356
DTChamberId.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonSeedPtExtractor::MuonSeedPtExtractor
MuonSeedPtExtractor(const edm::ParameterSet &)
Constructor with Parameter set and MuonServiceProxy.
Definition: MuonSeedPtExtractor.cc:10
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
MuonSeedVPtExtractor.h
MuonSeedPtExtractor::ScalesMap
std::map< std::string, std::vector< double > > ScalesMap
Definition: MuonSeedPtExtractor.h:47
MuonSeedPtExtractor::pT_extract
virtual std::vector< double > pT_extract(MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstHit, MuonTransientTrackingRecHit::ConstMuonRecHitPointer secondHit) const
Definition: MuonSeedPtExtractor.cc:118
MuonSeedPtExtractor::fillScalesForCombo
void fillScalesForCombo(const std::string &name, const edm::ParameterSet &pset)
Definition: MuonSeedPtExtractor.cc:114
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
MuonSeedPtExtractor::fillParametersForCombo
void fillParametersForCombo(const std::string &name, const edm::ParameterSet &pset)
Definition: MuonSeedPtExtractor.cc:110
DTChamberId
Definition: DTChamberId.h:14
hit
Definition: SiStripHitEffFromCalibTree.cc:88
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27