![]() |
![]() |
00001 #ifndef EnergyUncertaintyPhotonSpecific_H 00002 #define EnergyUncertaintyPhotonSpecific_H 00003 00010 #include "FWCore/Framework/interface/Event.h" 00011 #include "DataFormats/Common/interface/Handle.h" 00012 #include "FWCore/Framework/interface/ESHandle.h" 00013 #include "FWCore/Framework/interface/EventSetup.h" 00014 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00015 00016 class EnergyUncertaintyPhotonSpecific 00017 { 00018 public: 00019 00020 EnergyUncertaintyPhotonSpecific( const edm::ParameterSet& config); 00021 ~EnergyUncertaintyPhotonSpecific(); 00022 00023 void init(const edm::EventSetup& theEventSetup ); 00024 //void calculate( edm::Event& evt, reco::Photon &, int subdet,const reco::VertexCollection& vtxcol,const edm::EventSetup& iSetup) ; 00025 //double applyCrackCorrection(const reco::SuperCluster &cl, EcalClusterFunctionBaseClass* crackCorrectionFunction); 00026 00027 double computePhotonEnergyUncertainty_lowR9(double eta, double brem, double energy); 00028 double computePhotonEnergyUncertainty_highR9(double eta, double brem, double energy); 00029 00030 00031 private: 00032 00033 00034 } ; 00035 00036 #endif