Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoEgamma
EgammaElectronAlgos
interface
ElectronMomentumCorrector.h
Go to the documentation of this file.
1
#ifndef ElectronMomentumCorrector_H
2
#define ElectronMomentumCorrector_H
3
4
//===================================================================
5
// Author: Federico Ferri - INFN Milano, Bicocca university
6
// Ivica Puljak - FESB, Split
7
// 12/2005
8
//adapted to CMSSW by U.Berthon, dec 2006
9
//===================================================================
10
15
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
16
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
17
#include "
DataFormats/Math/interface/LorentzVector.h
"
18
19
class
ElectronMomentumCorrector
20
{
21
public
:
22
23
// ElectronMomentumCorrector(){newMomentum_=CLHEP::HepLorentzVector();}
24
// ElectronMomentumCorrector(){ newMomentum_= math::XYZTLorentzVector();}
25
ElectronMomentumCorrector
() {}
26
//virtual
27
~ElectronMomentumCorrector
(){}
28
29
//virtual
30
void
correct
(
reco::GsfElectron
&,
TrajectoryStateOnSurface
&);
31
32
//DC: USED ??
34
//math::XYZTLorentzVector getBestMomentum() const {return newMomentum_;}
35
//float getSCEnergyError() const {return errorEnergy_;}
36
//float getTrackMomentumError() const {return errorTrackMomentum_;}
37
38
private
:
39
40
float
energyError
(
float
E,
float
*par)
const
;
41
42
// CLHEP::HepLorentzVector newMomentum_;
43
//math::XYZTLorentzVector newMomentum_;
44
//float errorEnergy_;
45
//float errorTrackMomentum_;
46
47
};
48
49
#endif
50
51
52
53
reco::GsfElectron
Definition:
GsfElectron.h:37
ElectronMomentumCorrector::energyError
float energyError(float E, float *par) const
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
ElectronMomentumCorrector
Definition:
ElectronMomentumCorrector.h:19
ElectronMomentumCorrector::ElectronMomentumCorrector
ElectronMomentumCorrector()
Definition:
ElectronMomentumCorrector.h:25
ElectronMomentumCorrector::correct
void correct(reco::GsfElectron &, TrajectoryStateOnSurface &)
Definition:
ElectronMomentumCorrector.cc:28
LorentzVector.h
GsfElectron.h
ElectronMomentumCorrector::~ElectronMomentumCorrector
~ElectronMomentumCorrector()
Definition:
ElectronMomentumCorrector.h:27
TrajectoryStateOnSurface.h
Generated for CMSSW Reference Manual by
1.8.5