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
namespace
edm
{
13
class
ParameterSet
;
14
}
15
16
class
MuonSeedPtExtractor
{
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
void
setBeamSpot
(
const
GlobalVector
& gv) {
theBeamSpot
= gv; }
30
31
private
:
32
int
stationCode
(
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
hit
)
const
;
33
// because compiler duplicaes constructors
34
void
init
(
const
edm::ParameterSet
& par);
35
void
fillParametersForCombo
(
const
std::string
&
name
,
const
edm::ParameterSet
&
pset
);
36
void
fillScalesForCombo
(
const
std::string
&
name
,
const
edm::ParameterSet
&
pset
);
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
;
48
ParametersMap
theParametersForCombo
;
49
ScalesMap
theScalesForCombo
;
50
GlobalVector
theBeamSpot
;
51
bool
scaleDT_
;
52
};
53
#endif
MuonSeedPtExtractor::~MuonSeedPtExtractor
virtual ~MuonSeedPtExtractor()
Destructor.
Definition:
MuonSeedPtExtractor.cc:108
HLT_2022v15_cff.dPhi
dPhi
Definition:
HLT_2022v15_cff.py:10666
ParameterSet
Definition:
Functions.h:16
MuonSeedPtExtractor::ScalesMap
std::map< std::string, std::vector< double > > ScalesMap
Definition:
MuonSeedPtExtractor.h:47
Vector3DBase
Definition:
Vector3DBase.h:8
MuonSeedPtExtractor::fillParametersForCombo
void fillParametersForCombo(const std::string &name, const edm::ParameterSet &pset)
Definition:
MuonSeedPtExtractor.cc:110
DTChamberId
Definition:
DTChamberId.h:14
MuonSeedPtExtractor::init
void init(const edm::ParameterSet &par)
Definition:
MuonSeedPtExtractor.cc:15
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
MuonSeedPtExtractor::fillScalesForCombo
void fillScalesForCombo(const std::string &name, const edm::ParameterSet &pset)
Definition:
MuonSeedPtExtractor.cc:114
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MuonSeedPtExtractor
Definition:
MuonSeedPtExtractor.h:16
DTChamberId.h
MuonSeedPtExtractor::getPt
std::vector< double > getPt(const std::vector< double > &vPara, double eta, double dPhi) const
Definition:
MuonSeedPtExtractor.cc:356
MuonSeedPtExtractor::theParametersForCombo
ParametersMap theParametersForCombo
Definition:
MuonSeedPtExtractor.h:48
MuonSeedPtExtractor::ParametersMap
std::map< std::string, std::vector< double > > ParametersMap
Definition:
MuonSeedPtExtractor.h:46
MuonSeedPtExtractor::theBeamSpot
GlobalVector theBeamSpot
Definition:
MuonSeedPtExtractor.h:50
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
MuonSeedPtExtractor::scaleDT_
bool scaleDT_
Definition:
MuonSeedPtExtractor.h:51
edm
HLT enums.
Definition:
AlignableModifier.h:19
MuonSeedPtExtractor::stationCode
int stationCode(MuonTransientTrackingRecHit::ConstMuonRecHitPointer hit) const
Definition:
MuonSeedPtExtractor.cc:336
MuonSeedPtExtractor::pT_extract
virtual std::vector< double > pT_extract(MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstHit, MuonTransientTrackingRecHit::ConstMuonRecHitPointer secondHit) const
Definition:
MuonSeedPtExtractor.cc:118
MuonSeedPtExtractor::MuonSeedPtExtractor
MuonSeedPtExtractor(const edm::ParameterSet &)
Constructor with Parameter set and MuonServiceProxy.
Definition:
MuonSeedPtExtractor.cc:10
edm::ParameterSet
Definition:
ParameterSet.h:47
MuonTransientTrackingRecHit::ConstMuonRecHitPointer
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
Definition:
MuonTransientTrackingRecHit.h:22
MuonSeedVPtExtractor.h
MuonSeedPtExtractor::setBeamSpot
void setBeamSpot(const GlobalVector &gv)
Definition:
MuonSeedPtExtractor.h:29
MuonSeedPtExtractor::theScalesForCombo
ScalesMap theScalesForCombo
Definition:
MuonSeedPtExtractor.h:49
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14