Main Page
Namespaces
Classes
Package Documentation
PhysicsTools
PatAlgos
interface
SoftMuonMvaEstimator.h
Go to the documentation of this file.
1
#ifndef __PhysicsTools_PatAlgos_SoftMuonMvaEstimator__
2
#define __PhysicsTools_PatAlgos_SoftMuonMvaEstimator__
3
#include "
DataFormats/MuonReco/interface/Muon.h
"
4
#include "
DataFormats/PatCandidates/interface/Muon.h
"
5
#include "TMVA/Reader.h"
6
7
namespace
pat
{
8
class
SoftMuonMvaEstimator
{
9
public
:
10
SoftMuonMvaEstimator
();
11
void
initialize
(
std::string
weightsfile);
12
void
computeMva
(
const
pat::Muon
& imuon);
13
float
mva
()
const
{
return
mva_
;}
14
private
:
15
TMVA::Reader
tmvaReader_
;
16
bool
initialized_
;
17
float
mva_
;
18
19
// MVA Spectator
20
float
pID_
;
21
float
pt_
;
22
float
eta_
;
23
float
momID_
;
24
float
dummy_
;
25
26
// MVA VAriables
27
float
segmentCompatibility_
;
28
float
chi2LocalMomentum_
;
29
float
chi2LocalPosition_
;
30
float
glbTrackProbability_
;
31
float
iValidFraction_
;
32
float
layersWithMeasurement_
;
33
float
trkKink_
;
34
float
log2PlusGlbKink_
;
35
float
timeAtIpInOutErr_
;
36
float
outerChi2_
;
37
float
innerChi2_
;
38
float
trkRelChi2_
;
39
float
vMuonHitComb_
;
40
float
qProd_
;
41
42
};
43
}
44
#endif
pat::SoftMuonMvaEstimator
Definition:
SoftMuonMvaEstimator.h:8
pat::SoftMuonMvaEstimator::computeMva
void computeMva(const pat::Muon &imuon)
Definition:
SoftMuonMvaEstimator.cc:40
pat::SoftMuonMvaEstimator::initialize
void initialize(std::string weightsfile)
Definition:
SoftMuonMvaEstimator.cc:13
pat::SoftMuonMvaEstimator::outerChi2_
float outerChi2_
Definition:
SoftMuonMvaEstimator.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
pat::SoftMuonMvaEstimator::SoftMuonMvaEstimator
SoftMuonMvaEstimator()
Definition:
SoftMuonMvaEstimator.cc:7
pat::SoftMuonMvaEstimator::dummy_
float dummy_
Definition:
SoftMuonMvaEstimator.h:24
pat::SoftMuonMvaEstimator::innerChi2_
float innerChi2_
Definition:
SoftMuonMvaEstimator.h:37
pat::SoftMuonMvaEstimator::trkRelChi2_
float trkRelChi2_
Definition:
SoftMuonMvaEstimator.h:38
pat::SoftMuonMvaEstimator::layersWithMeasurement_
float layersWithMeasurement_
Definition:
SoftMuonMvaEstimator.h:32
pat
Definition:
HeavyIon.h:7
pat::SoftMuonMvaEstimator::initialized_
bool initialized_
Definition:
SoftMuonMvaEstimator.h:16
pat::SoftMuonMvaEstimator::iValidFraction_
float iValidFraction_
Definition:
SoftMuonMvaEstimator.h:31
pat::SoftMuonMvaEstimator::eta_
float eta_
Definition:
SoftMuonMvaEstimator.h:22
pat::SoftMuonMvaEstimator::mva_
float mva_
Definition:
SoftMuonMvaEstimator.h:17
pat::SoftMuonMvaEstimator::chi2LocalMomentum_
float chi2LocalMomentum_
Definition:
SoftMuonMvaEstimator.h:28
Muon.h
pat::SoftMuonMvaEstimator::mva
float mva() const
Definition:
SoftMuonMvaEstimator.h:13
pat::SoftMuonMvaEstimator::glbTrackProbability_
float glbTrackProbability_
Definition:
SoftMuonMvaEstimator.h:30
pat::SoftMuonMvaEstimator::vMuonHitComb_
float vMuonHitComb_
Definition:
SoftMuonMvaEstimator.h:39
pat::SoftMuonMvaEstimator::tmvaReader_
TMVA::Reader tmvaReader_
Definition:
SoftMuonMvaEstimator.h:15
pat::SoftMuonMvaEstimator::timeAtIpInOutErr_
float timeAtIpInOutErr_
Definition:
SoftMuonMvaEstimator.h:35
pat::SoftMuonMvaEstimator::log2PlusGlbKink_
float log2PlusGlbKink_
Definition:
SoftMuonMvaEstimator.h:34
pat::SoftMuonMvaEstimator::chi2LocalPosition_
float chi2LocalPosition_
Definition:
SoftMuonMvaEstimator.h:29
Muon.h
pat::SoftMuonMvaEstimator::pt_
float pt_
Definition:
SoftMuonMvaEstimator.h:21
pat::SoftMuonMvaEstimator::qProd_
float qProd_
Definition:
SoftMuonMvaEstimator.h:40
pat::SoftMuonMvaEstimator::segmentCompatibility_
float segmentCompatibility_
Definition:
SoftMuonMvaEstimator.h:27
pat::SoftMuonMvaEstimator::momID_
float momID_
Definition:
SoftMuonMvaEstimator.h:23
pat::SoftMuonMvaEstimator::pID_
float pID_
Definition:
SoftMuonMvaEstimator.h:20
pat::Muon
Analysis-level muon class.
Definition:
Muon.h:50
pat::SoftMuonMvaEstimator::trkKink_
float trkKink_
Definition:
SoftMuonMvaEstimator.h:33
Generated for CMSSW Reference Manual by
1.8.11