Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
20
public
:
21
22
23
HistogramProbabilityEstimator
(
const
TrackProbabilityCalibration
* calib3D,
24
const
TrackProbabilityCalibration
* calib2D)
25
:
m_calibration3D
(calib3D),
m_calibration2D
(calib2D)
26
{}
27
28
/* HistogramProbabilityEstimator( AlgorithmCalibration<TrackClassFilterCategory,CalibratedHistogramXML> * calib3D,
29
AlgorithmCalibration<TrackClassFilterCategory,CalibratedHistogramXML> * calib2D)
30
: m_calibration3D(calib3D),m_calibrationTransverse(calib2D)
31
32
{
33
}
34
*/
35
36
~HistogramProbabilityEstimator
()
37
{
38
39
// if(m_calibration3D!=0) delete m_calibration3D;
40
// if(m_calibration2D!=0) delete m_calibration2D;
41
}
42
std::pair<bool,double>
probability
(
bool
quality
,
int
ipType,
float
significance,
const
reco::Track
&,
const
reco::Jet
&,
const
reco::Vertex
&)
const
;
43
44
private
:
45
const
TrackProbabilityCalibration
*
m_calibration3D
;
46
const
TrackProbabilityCalibration
*
m_calibration2D
;
47
48
};
49
50
#endif
51
52
53
54
55
56
57
CalibratedHistogram.h
HistogramProbabilityEstimator::m_calibration2D
const TrackProbabilityCalibration * m_calibration2D
Definition:
HistogramProbabilityEstimator.h:46
reco::Jet
Base class for all types of Jets.
Definition:
Jet.h:20
HistogramProbabilityEstimator::m_calibration3D
const TrackProbabilityCalibration * m_calibration3D
Definition:
HistogramProbabilityEstimator.h:45
reco::Vertex
Definition:
Vertex.h:34
HistogramProbabilityEstimator::~HistogramProbabilityEstimator
~HistogramProbabilityEstimator()
Definition:
HistogramProbabilityEstimator.h:36
TrackProbabilityCalibration.h
Jet.h
TrackProbabilityCalibration
Definition:
TrackProbabilityCalibration.h:11
Vertex.h
reco::Track
Definition:
Track.h:28
HLT_25ns14e33_v1_cff.quality
tuple quality
Definition:
HLT_25ns14e33_v1_cff.py:33032
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
Track.h
HistogramProbabilityEstimator::HistogramProbabilityEstimator
HistogramProbabilityEstimator(const TrackProbabilityCalibration *calib3D, const TrackProbabilityCalibration *calib2D)
Definition:
HistogramProbabilityEstimator.h:23
HistogramProbabilityEstimator
Definition:
HistogramProbabilityEstimator.h:18
Generated for CMSSW Reference Manual by
1.8.5