Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:46

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