RecoBTag
TrackProbability
interface
HistogramProbabilityEstimator.h
Go to the documentation of this file.
1
#ifndef HistogramProbabilityEstimator_H
2
#define HistogramProbabilityEstimator_H
3
4
#include "
DataFormats/TrackReco/interface/Track.h
"
5
#include "
DataFormats/JetReco/interface/Jet.h
"
6
#include "
DataFormats/VertexReco/interface/Vertex.h
"
7
8
#include "
CondFormats/BTauObjects/interface/CalibratedHistogram.h
"
9
#include "
CondFormats/BTauObjects/interface/TrackProbabilityCalibration.h
"
10
11
// #include "RecoBTag/XMLCalibration/interface/AlgorithmCalibration.h"
12
16
#include <utility>
17
18
class
HistogramProbabilityEstimator
{
19
public
:
20
HistogramProbabilityEstimator
(
const
TrackProbabilityCalibration
*calib3D,
const
TrackProbabilityCalibration
*calib2D)
21
:
m_calibration3D
(calib3D),
m_calibration2D
(calib2D) {}
22
23
/* HistogramProbabilityEstimator( AlgorithmCalibration<TrackClassFilterCategory,CalibratedHistogramXML> * calib3D,
24
AlgorithmCalibration<TrackClassFilterCategory,CalibratedHistogramXML> * calib2D)
25
: m_calibration3D(calib3D),m_calibrationTransverse(calib2D)
26
27
{
28
}
29
*/
30
31
~HistogramProbabilityEstimator
() {
32
// if(m_calibration3D!=0) delete m_calibration3D;
33
// if(m_calibration2D!=0) delete m_calibration2D;
34
}
35
std::pair<bool, double>
probability
(
36
bool
quality
,
int
ipType,
float
significance
,
const
reco::Track
&,
const
reco::Jet
&,
const
reco::Vertex
&)
const
;
37
38
private
:
39
const
TrackProbabilityCalibration
*
m_calibration3D
;
40
const
TrackProbabilityCalibration
*
m_calibration2D
;
41
};
42
43
#endif
CalibratedHistogram.h
Vertex.h
HistogramProbabilityEstimator::m_calibration2D
const TrackProbabilityCalibration * m_calibration2D
Definition:
HistogramProbabilityEstimator.h:40
reco::Jet
Base class for all types of Jets.
Definition:
Jet.h:20
HistogramProbabilityEstimator::m_calibration3D
const TrackProbabilityCalibration * m_calibration3D
Definition:
HistogramProbabilityEstimator.h:39
reco::Vertex
Definition:
Vertex.h:35
HistogramProbabilityEstimator::~HistogramProbabilityEstimator
~HistogramProbabilityEstimator()
Definition:
HistogramProbabilityEstimator.h:31
HistogramProbabilityEstimator::probability
std::pair< bool, double > probability(bool quality, int ipType, float significance, const reco::Track &, const reco::Jet &, const reco::Vertex &) const
Definition:
HistogramProbabilityEstimator.cc:11
TrackProbabilityCalibration.h
Jet.h
TrackProbabilityCalibration
Definition:
TrackProbabilityCalibration.h:11
reco::Track
Definition:
Track.h:27
met_cff.significance
significance
Definition:
met_cff.py:18
Track.h
quality
string quality
Definition:
beamSpotDipStandalone.cc:53
HistogramProbabilityEstimator::HistogramProbabilityEstimator
HistogramProbabilityEstimator(const TrackProbabilityCalibration *calib3D, const TrackProbabilityCalibration *calib2D)
Definition:
HistogramProbabilityEstimator.h:20
HistogramProbabilityEstimator
Definition:
HistogramProbabilityEstimator.h:18
Generated for CMSSW Reference Manual by
1.8.14