src
RecoEgamma
EgammaTools
interface
ConversionLikelihoodCalculator.h
Go to the documentation of this file.
1
#ifndef ConversionLikelihoodCalculator_h
2
#define ConversionLikelihoodCalculator_h
3
4
#include "
DataFormats/EgammaCandidates/interface/ConversionFwd.h
"
5
6
#include "TMVA/Reader.h"
7
#include <memory>
8
9
class
ConversionLikelihoodCalculator
{
10
public
:
11
ConversionLikelihoodCalculator
();
12
void
setWeightsFile
(
const
char
*
weightsFile
);
13
14
double
calculateLikelihood
(
reco::ConversionRef
conversion
);
15
double
calculateLikelihood
(
reco::Conversion
&
conversion
);
16
17
private
:
18
std::unique_ptr<TMVA::Reader>
reader_
;
19
float
log_e_over_p_
;
20
float
log_abs_cot_theta_
;
21
float
log_abs_delta_phi_
;
22
float
log_chi2_max_pt_
;
23
float
log_chi2_min_pt_
;
24
};
25
26
#endif
reco::Conversion
Definition:
Conversion.h:23
ConversionLikelihoodCalculator::reader_
std::unique_ptr< TMVA::Reader > reader_
Definition:
ConversionLikelihoodCalculator.h:18
edm::Ref< ConversionCollection >
ConversionLikelihoodCalculator::log_chi2_max_pt_
float log_chi2_max_pt_
Definition:
ConversionLikelihoodCalculator.h:22
ConversionLikelihoodCalculator::log_abs_delta_phi_
float log_abs_delta_phi_
Definition:
ConversionLikelihoodCalculator.h:21
ConversionLikelihoodCalculator::log_abs_cot_theta_
float log_abs_cot_theta_
Definition:
ConversionLikelihoodCalculator.h:20
ConversionLikelihoodCalculator::setWeightsFile
void setWeightsFile(const char *weightsFile)
Definition:
ConversionLikelihoodCalculator.cc:17
ConversionLikelihoodCalculator::log_e_over_p_
float log_e_over_p_
Definition:
ConversionLikelihoodCalculator.h:19
ConversionLikelihoodCalculator::ConversionLikelihoodCalculator
ConversionLikelihoodCalculator()
Definition:
ConversionLikelihoodCalculator.cc:5
ConversionLikelihoodCalculator::calculateLikelihood
double calculateLikelihood(reco::ConversionRef conversion)
Definition:
ConversionLikelihoodCalculator.cc:23
edm::conversion
void conversion(EventAux const &from, EventAuxiliary &to)
Definition:
EventAux.cc:9
ConversionFwd.h
l1tPFClustersFromHGC3DClusters_cfi.weightsFile
weightsFile
Definition:
l1tPFClustersFromHGC3DClusters_cfi.py:20
ConversionLikelihoodCalculator
Definition:
ConversionLikelihoodCalculator.h:9
ConversionLikelihoodCalculator::log_chi2_min_pt_
float log_chi2_min_pt_
Definition:
ConversionLikelihoodCalculator.h:23
Generated for CMSSW Reference Manual by
1.8.14