CMS 3D CMS Logo

QGLikelihoodCalculator.h
Go to the documentation of this file.
1 #ifndef JetAlgorithms_QGLikelihoodCalculator_h
2 #define JetAlgorithms_QGLikelihoodCalculator_h
3 
5 
13 public:
16 
17  float computeQGLikelihood(
18  const QGLikelihoodObject &QGLParamsColl, float pt, float eta, float rho, std::vector<float> vars) const;
19  float systematicSmearing(const QGLikelihoodSystematicsObject &QGLParamsColl,
20  float pt,
21  float eta,
22  float rho,
23  float qgValue,
24  int qgIndex) const;
25 
26 private:
27  const QGLikelihoodObject::Entry *findEntry(std::vector<QGLikelihoodObject::Entry> const &data,
28  float eta,
29  float pt,
30  float rho,
31  int qgIndex,
32  int varIndex) const;
33  bool isValidRange(float pt, float rho, float eta, const QGLikelihoodCategory &qgValidRange) const;
34  float smearingFunction(float x0, float a, float b, float min, float max) const;
35 };
36 
37 #endif
float systematicSmearing(const QGLikelihoodSystematicsObject &QGLParamsColl, float pt, float eta, float rho, float qgValue, int qgIndex) const
bool isValidRange(float pt, float rho, float eta, const QGLikelihoodCategory &qgValidRange) const
Check the valid range of this qg tagger.
const QGLikelihoodObject::Entry * findEntry(std::vector< QGLikelihoodObject::Entry > const &data, float eta, float pt, float rho, int qgIndex, int varIndex) const
Find matching entry in vector for a given eta, pt, rho, qgIndex and varIndex.
QGLikelihoodObject containing valid range and entries with category and histogram (mean is not used a...
Category structure: ranges associated with QGLikelihood histograms.
float computeQGLikelihood(const QGLikelihoodObject &QGLParamsColl, float pt, float eta, float rho, std::vector< float > vars) const
Compute likelihood for a jet using the QGLikelihoodObject information and a set of variables...
float smearingFunction(float x0, float a, float b, float min, float max) const
Return the smeared qgLikelihood value, given input x0 and parameters a, b, min and max...
double b
Definition: hdecay.h:120
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
double a
Definition: hdecay.h:121
vars
Definition: DeepTauId.cc:117
QGLikelihoodSystematicsObject containing the parameters for the systematic smearing.