Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
#include "
DataFormats/EgammaCandidates/interface/Conversion.h
"
6
7
#include "TMVA/Reader.h"
8
9
class
ConversionLikelihoodCalculator
10
{
11
public
:
12
ConversionLikelihoodCalculator
();
13
void
setWeightsFile
(
const
char
* weightsFile);
14
15
double
calculateLikelihood
(
reco::ConversionRef
conversion
);
16
double
calculateLikelihood
(
reco::Conversion
& conversion);
17
18
private
:
19
TMVA::Reader *
reader_
;
20
float
log_e_over_p_
;
21
float
log_abs_cot_theta_
;
22
float
log_abs_delta_phi_
;
23
float
log_chi2_max_pt_
;
24
float
log_chi2_min_pt_
;
25
26
};
27
28
#endif
29
reco::Conversion
Definition:
Conversion.h:25
Conversion.h
ConversionLikelihoodCalculator::log_chi2_max_pt_
float log_chi2_max_pt_
Definition:
ConversionLikelihoodCalculator.h:23
ConversionLikelihoodCalculator::log_abs_delta_phi_
float log_abs_delta_phi_
Definition:
ConversionLikelihoodCalculator.h:22
ConversionLikelihoodCalculator::reader_
TMVA::Reader * reader_
Definition:
ConversionLikelihoodCalculator.h:19
ConversionLikelihoodCalculator::log_abs_cot_theta_
float log_abs_cot_theta_
Definition:
ConversionLikelihoodCalculator.h:21
ConversionLikelihoodCalculator::setWeightsFile
void setWeightsFile(const char *weightsFile)
Definition:
ConversionLikelihoodCalculator.cc:18
ConversionLikelihoodCalculator::log_e_over_p_
float log_e_over_p_
Definition:
ConversionLikelihoodCalculator.h:20
ConversionLikelihoodCalculator::ConversionLikelihoodCalculator
ConversionLikelihoodCalculator()
Definition:
ConversionLikelihoodCalculator.cc:4
ConversionLikelihoodCalculator::calculateLikelihood
double calculateLikelihood(reco::ConversionRef conversion)
Definition:
ConversionLikelihoodCalculator.cc:25
edm::conversion
void conversion(EventAux const &from, EventAuxiliary &to)
Definition:
EventAux.cc:9
ConversionFwd.h
ConversionLikelihoodCalculator
Definition:
ConversionLikelihoodCalculator.h:9
ConversionLikelihoodCalculator::log_chi2_min_pt_
float log_chi2_min_pt_
Definition:
ConversionLikelihoodCalculator.h:24
edm::Ref< ConversionCollection >
Generated for CMSSW Reference Manual by
1.8.5