Main Page
Namespaces
Classes
Package Documentation
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
ParameterSet
Definition:
Functions.h:16
MuonSeedPtExtractor::ScalesMap
std::map< std::string, std::vector< double > > ScalesMap
Definition:
MuonSeedPtExtractor.h:46
Vector3DBase
Definition:
Vector3DBase.h:9
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DTChamberId
Definition:
DTChamberId.h:14
init
int init
Definition:
HydjetWrapper.h:67
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
PVValHelper::eta
Definition:
PVValidationHelpers.h:65
MuonSeedPtExtractor
Definition:
MuonSeedPtExtractor.h:15
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
edm
HLT enums.
Definition:
AlignableModifier.h:17
particleFlow_cfi.dPhi
dPhi
Definition:
particleFlow_cfi.py:80
edm::ParameterSet
Definition:
ParameterSet.h:36
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
Definition:
MuonTransientTrackingRecHit.h:24
dataset.name
name
Definition:
dataset.py:45
MuonSeedVPtExtractor.h
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.11