CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
13 namespace edm {class ParameterSet;}
14 
16 
17  public:
20 
22  virtual ~MuonSeedPtExtractor();
23 
26  virtual std::vector<double> pT_extract(MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstHit,
28 
29 
30  void setBeamSpot(const GlobalVector & gv) {theBeamSpot = gv;}
31 
32  private:
34  // because compiler duplicaes constructors
35  void init(const edm::ParameterSet& par);
36  void fillParametersForCombo(const std::string & name, const edm::ParameterSet&pset);
37  void fillScalesForCombo(const std::string & name, const edm::ParameterSet&pset);
38 
39  std::vector<double> getPt(const std::vector<double> & vPara, double eta, double dPhi ) const;
40 
41  std::vector<double> getPt(const std::vector<double> & vPara, double eta, double dPhi, const std::string & combination, const DTChamberId & outerDetId ) const;
42 
43 
44 
45  typedef std::map<std::string, std::vector<double> > ParametersMap;
46  typedef std::map<std::string, std::vector<double> > ScalesMap;
50  bool scaleDT_;
51 
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)
T eta() const
void fillScalesForCombo(const std::string &name, const edm::ParameterSet &pset)
double dPhi(double phi1, double phi2)
Definition: JetUtil.h:30
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.
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)