EgammaAnalysis
ElectronTools
interface
ElectronEPcombinator.h
Go to the documentation of this file.
1
#ifndef ElectronEPcombinator_H
2
#define ElectronEPcombinator_H
3
4
#include "
EgammaAnalysis/ElectronTools/interface/SimpleElectron.h
"
5
#include <cstdio>
6
#include <cmath>
7
8
class
ElectronEPcombinator
{
9
public
:
10
ElectronEPcombinator
() {}
11
void
combine
(
SimpleElectron
&
electron
);
12
void
setCombinationMode
(
int
mode
) {
mode_
=
mode
; }
13
14
private
:
15
SimpleElectron
electron_
;
16
void
computeEPcombination
();
17
double
combinedMomentum_
;
18
double
combinedMomentumError_
;
19
double
scEnergy_
;
20
double
scEnergyError_
;
21
double
trackerMomentum_
;
22
double
trackerMomentumError_
;
23
int
elClass_
;
24
int
mode_
;
25
};
26
27
#endif
ElectronEPcombinator
Definition:
ElectronEPcombinator.h:8
ElectronEPcombinator::setCombinationMode
void setCombinationMode(int mode)
Definition:
ElectronEPcombinator.h:12
ElectronEPcombinator::mode_
int mode_
Definition:
ElectronEPcombinator.h:24
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
ElectronEPcombinator::trackerMomentum_
double trackerMomentum_
Definition:
ElectronEPcombinator.h:21
SimpleElectron.h
ElectronEPcombinator::scEnergyError_
double scEnergyError_
Definition:
ElectronEPcombinator.h:20
SimpleElectron
Definition:
SimpleElectron.h:8
ElectronEPcombinator::combinedMomentum_
double combinedMomentum_
Definition:
ElectronEPcombinator.h:17
ElectronEPcombinator::scEnergy_
double scEnergy_
Definition:
ElectronEPcombinator.h:19
ElectronEPcombinator::trackerMomentumError_
double trackerMomentumError_
Definition:
ElectronEPcombinator.h:22
HPSPFTauProducerPuppi_cfi.electron
electron
Definition:
HPSPFTauProducerPuppi_cfi.py:13
ElectronEPcombinator::electron_
SimpleElectron electron_
Definition:
ElectronEPcombinator.h:15
ElectronEPcombinator::computeEPcombination
void computeEPcombination()
Definition:
ElectronEPcombinator.cc:13
ElectronEPcombinator::ElectronEPcombinator
ElectronEPcombinator()
Definition:
ElectronEPcombinator.h:10
ElectronEPcombinator::combine
void combine(SimpleElectron &electron)
Definition:
ElectronEPcombinator.cc:5
ElectronEPcombinator::combinedMomentumError_
double combinedMomentumError_
Definition:
ElectronEPcombinator.h:18
ElectronEPcombinator::elClass_
int elClass_
Definition:
ElectronEPcombinator.h:23
Generated for CMSSW Reference Manual by
1.8.16