CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
virtual ~MuonSeedPtExtractor()
Destructor.
std::map< std::string, std::vector< double > > ScalesMap
void fillParametersForCombo(const std::string &name, const edm::ParameterSet &pset)
void init(const edm::ParameterSet &par)
void fillScalesForCombo(const std::string &name, const edm::ParameterSet &pset)
int stationCode(MuonTransientTrackingRecHit::ConstMuonRecHitPointer hit) const
ParametersMap theParametersForCombo
std::map< std::string, std::vector< double > > ParametersMap
MuonSeedPtExtractor(const edm::ParameterSet &)
Constructor with Parameter set and MuonServiceProxy.
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
virtual std::vector< double > pT_extract(MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstHit, MuonTransientTrackingRecHit::ConstMuonRecHitPointer secondHit) const
std::vector< double > getPt(const std::vector< double > &vPara, double eta, double dPhi) const
void setBeamSpot(const GlobalVector &gv)