CMS 3D CMS Logo

HistogramProbabilityEstimator.h
Go to the documentation of this file.
1 #ifndef HistogramProbabilityEstimator_H
2 #define HistogramProbabilityEstimator_H
3 
7 
10 
11 // #include "RecoBTag/XMLCalibration/interface/AlgorithmCalibration.h"
12 
16 #include <utility>
17 
19 public:
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 
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:
41 };
42 
43 #endif
const TrackProbabilityCalibration * m_calibration2D
Base class for all types of Jets.
Definition: Jet.h:20
string quality
const TrackProbabilityCalibration * m_calibration3D
std::pair< bool, double > probability(bool quality, int ipType, float significance, const reco::Track &, const reco::Jet &, const reco::Vertex &) const
significance
Definition: met_cff.py:15
HistogramProbabilityEstimator(const TrackProbabilityCalibration *calib3D, const TrackProbabilityCalibration *calib2D)