Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:01

0001 #ifndef ElectronMomentumCorrector_H
0002 #define ElectronMomentumCorrector_H
0003 
0004 //===================================================================
0005 // Author: Federico Ferri - INFN Milano, Bicocca university
0006 //         Ivica Puljak - FESB, Split
0007 // 12/2005
0008 //adapted to CMSSW by U.Berthon, dec 2006
0009 //===================================================================
0010 
0011 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
0012 #include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
0013 #include "DataFormats/Math/interface/LorentzVector.h"
0014 
0015 namespace egamma {
0016 
0017   struct ElectronMomentum {
0018     const math::XYZTLorentzVector momentum;
0019     const float trackError;
0020     const float finalError;
0021   };
0022 
0023   ElectronMomentum correctElectronMomentum(reco::GsfElectron const&, TrajectoryStateOnSurface const&);
0024 }  // namespace egamma
0025 
0026 #endif