Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoMuon
MuonSeedGenerator
src
MuonSeedPtExtractor.h
Go to the documentation of this file.
1
#ifndef RecoMuon_MuonSeedGenerator_MuonSeedPtExtractor_H
2
#define RecoMuon_MuonSeedGenerator_MuonSeedPtExtractor_H
3
7
#include "
RecoMuon/MuonSeedGenerator/src/MuonSeedVPtExtractor.h
"
8
#include "
DataFormats/MuonDetId/interface/DTChamberId.h
"
9
10
#include <map>
11
12
13
namespace
edm {
class
ParameterSet
;}
14
15
class
MuonSeedPtExtractor
{
16
17
public
:
19
MuonSeedPtExtractor
(
const
edm::ParameterSet
&);
20
22
virtual
~MuonSeedPtExtractor
();
23
26
virtual
std::vector<double>
pT_extract
(
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
firstHit,
27
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
secondHit)
const
;
28
29
30
void
setBeamSpot
(
const
GlobalVector
& gv) {
theBeamSpot
= gv;}
31
32
private
:
33
int
stationCode
(
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
hit
)
const
;
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
;
47
ParametersMap
theParametersForCombo
;
48
ScalesMap
theScalesForCombo
;
49
GlobalVector
theBeamSpot
;
50
bool
scaleDT_
;
51
52
};
53
#endif
MuonSeedPtExtractor::~MuonSeedPtExtractor
virtual ~MuonSeedPtExtractor()
Destructor.
Definition:
MuonSeedPtExtractor.cc:113
ConstReferenceCountingPointer
Definition:
ReferenceCounted.h:69
ParameterSet
Definition:
Functions.h:16
MuonSeedPtExtractor::ScalesMap
std::map< std::string, std::vector< double > > ScalesMap
Definition:
MuonSeedPtExtractor.h:46
Vector3DBase
Definition:
Vector3DBase.h:9
MuonSeedPtExtractor::fillParametersForCombo
void fillParametersForCombo(const std::string &name, const edm::ParameterSet &pset)
Definition:
MuonSeedPtExtractor.cc:117
DTChamberId
Definition:
DTChamberId.h:16
MuonSeedPtExtractor::init
void init(const edm::ParameterSet &par)
Definition:
MuonSeedPtExtractor.cc:17
eta
T eta() const
Definition:
Basic3DVectorLD.h:172
MuonSeedPtExtractor::fillScalesForCombo
void fillScalesForCombo(const std::string &name, const edm::ParameterSet &pset)
Definition:
MuonSeedPtExtractor.cc:123
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
dPhi
double dPhi(double phi1, double phi2)
Definition:
JetUtil.h:30
MuonSeedPtExtractor
Definition:
MuonSeedPtExtractor.h:15
MuonSeedPtExtractor::stationCode
int stationCode(MuonTransientTrackingRecHit::ConstMuonRecHitPointer hit) const
Definition:
MuonSeedPtExtractor.cc:359
DTChamberId.h
MuonSeedPtExtractor::theParametersForCombo
ParametersMap theParametersForCombo
Definition:
MuonSeedPtExtractor.h:47
MuonSeedPtExtractor::ParametersMap
std::map< std::string, std::vector< double > > ParametersMap
Definition:
MuonSeedPtExtractor.h:45
MuonSeedPtExtractor::theBeamSpot
GlobalVector theBeamSpot
Definition:
MuonSeedPtExtractor.h:49
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
MuonSeedPtExtractor::scaleDT_
bool scaleDT_
Definition:
MuonSeedPtExtractor.h:50
MuonSeedPtExtractor::MuonSeedPtExtractor
MuonSeedPtExtractor(const edm::ParameterSet &)
Constructor with Parameter set and MuonServiceProxy.
Definition:
MuonSeedPtExtractor.cc:9
edm::ParameterSet
Definition:
ParameterSet.h:35
MuonSeedPtExtractor::pT_extract
virtual std::vector< double > pT_extract(MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstHit, MuonTransientTrackingRecHit::ConstMuonRecHitPointer secondHit) const
Definition:
MuonSeedPtExtractor.cc:129
MuonSeedVPtExtractor.h
MuonSeedPtExtractor::getPt
std::vector< double > getPt(const std::vector< double > &vPara, double eta, double dPhi) const
Definition:
MuonSeedPtExtractor.cc:381
MuonSeedPtExtractor::setBeamSpot
void setBeamSpot(const GlobalVector &gv)
Definition:
MuonSeedPtExtractor.h:30
MuonSeedPtExtractor::theScalesForCombo
ScalesMap theScalesForCombo
Definition:
MuonSeedPtExtractor.h:48
Generated for CMSSW Reference Manual by
1.8.5