Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
PatAlgos
interface
MuonMvaEstimator.h
Go to the documentation of this file.
1
#ifndef __PhysicsTools_PatAlgos_MuonMvaEstimator__
2
#define __PhysicsTools_PatAlgos_MuonMvaEstimator__
3
#include "
DataFormats/MuonReco/interface/Muon.h
"
4
#include "
DataFormats/PatCandidates/interface/Muon.h
"
5
#include "
DataFormats/BTauReco/interface/JetTag.h
"
6
#include "TMVA/Reader.h"
7
8
namespace
reco
{
9
class
JetCorrector
;
10
}
11
namespace
pat
{
12
class
MuonMvaEstimator
{
13
public
:
14
MuonMvaEstimator
();
15
void
initialize
(
std::string
weightsfile,
16
float
dRmax);
17
void
computeMva(
const
pat::Muon
& imuon,
18
const
reco::Vertex
& vertex,
19
const
reco::JetTagCollection
&
bTags
,
20
const
reco::JetCorrector
* correctorL1=
nullptr
,
21
const
reco::JetCorrector
* correctorL1L2L3Res=
nullptr
);
22
float
mva
()
const
{
return
mva_;}
23
float
jetPtRatio
()
const
{
return
jetPtRatio_;}
24
float
jetPtRel
()
const
{
return
jetPtRel_;}
25
private
:
26
TMVA::Reader
tmvaReader_
;
27
bool
initialized_
;
28
float
mva_
;
29
float
dRmax_
;
30
32
float
pt_
;
33
float
eta_
;
34
float
jetNDauCharged_
;
35
float
miniRelIsoCharged_
;
36
float
miniRelIsoNeutral_
;
37
float
jetPtRel_
;
38
float
jetPtRatio_
;
39
float
jetBTagCSV_
;
40
float
sip_
;
41
float
log_abs_dxyBS_
;
42
float
log_abs_dzPV_
;
43
float
segmentCompatibility_
;
44
};
45
}
46
#endif
initialize
static AlgebraicMatrix initialize()
Definition:
BeamSpotTransientTrackingRecHit.cc:27
pat::MuonMvaEstimator::jetBTagCSV_
float jetBTagCSV_
Definition:
MuonMvaEstimator.h:39
pat::MuonMvaEstimator::sip_
float sip_
Definition:
MuonMvaEstimator.h:40
JetCorrector
Definition:
JetCorrector.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
pat::MuonMvaEstimator::jetPtRatio_
float jetPtRatio_
Definition:
MuonMvaEstimator.h:38
pat::MuonMvaEstimator::jetNDauCharged_
float jetNDauCharged_
Definition:
MuonMvaEstimator.h:34
pat::MuonMvaEstimator
Definition:
MuonMvaEstimator.h:12
pat::MuonMvaEstimator::segmentCompatibility_
float segmentCompatibility_
Definition:
MuonMvaEstimator.h:43
pat::MuonMvaEstimator::miniRelIsoCharged_
float miniRelIsoCharged_
Definition:
MuonMvaEstimator.h:35
pat
Definition:
HeavyIon.h:7
pat::MuonMvaEstimator::log_abs_dzPV_
float log_abs_dzPV_
Definition:
MuonMvaEstimator.h:42
reco::Vertex
Definition:
Vertex.h:34
pat::MuonMvaEstimator::initialized_
bool initialized_
Definition:
MuonMvaEstimator.h:27
Muon.h
JetTag.h
pat::MuonMvaEstimator::jetPtRatio
float jetPtRatio() const
Definition:
MuonMvaEstimator.h:23
pat::MuonMvaEstimator::mva
float mva() const
Definition:
MuonMvaEstimator.h:22
pat::MuonMvaEstimator::pt_
float pt_
MVA VAriables.
Definition:
MuonMvaEstimator.h:32
pat::MuonMvaEstimator::eta_
float eta_
Definition:
MuonMvaEstimator.h:33
pat::MuonMvaEstimator::log_abs_dxyBS_
float log_abs_dxyBS_
Definition:
MuonMvaEstimator.h:41
reco::JetCorrector
Definition:
JetCorrector.h:35
edm::AssociationVector< reco::JetRefBaseProd, Values >
pat::MuonMvaEstimator::dRmax_
float dRmax_
Definition:
MuonMvaEstimator.h:29
pat::MuonMvaEstimator::mva_
float mva_
Definition:
MuonMvaEstimator.h:28
Muon.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
pat::MuonMvaEstimator::tmvaReader_
TMVA::Reader tmvaReader_
Definition:
MuonMvaEstimator.h:26
pat::MuonMvaEstimator::jetPtRel
float jetPtRel() const
Definition:
MuonMvaEstimator.h:24
TtFullHadKinFitProducer_cfi.bTags
bTags
Definition:
TtFullHadKinFitProducer_cfi.py:40
pat::MuonMvaEstimator::jetPtRel_
float jetPtRel_
Definition:
MuonMvaEstimator.h:37
pat::MuonMvaEstimator::miniRelIsoNeutral_
float miniRelIsoNeutral_
Definition:
MuonMvaEstimator.h:36
pat::Muon
Analysis-level muon class.
Definition:
Muon.h:50
Generated for CMSSW Reference Manual by
1.8.11