Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef EnergyUncertaintyPhotonSpecific_H
0002 #define EnergyUncertaintyPhotonSpecific_H
0003 
0004 /** \class EnergyUncertaintyPhotonSpecific
0005  **  
0006  **  \author Nicolas Chanon, ETH Zurich, Switzerland
0007  **
0008  ***/
0009 
0010 #include <array>
0011 
0012 #include "FWCore/Framework/interface/Event.h"
0013 #include "DataFormats/Common/interface/Handle.h"
0014 #include "FWCore/Framework/interface/ESHandle.h"
0015 #include "FWCore/Framework/interface/EventSetup.h"
0016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0017 
0018 class EnergyUncertaintyPhotonSpecific {
0019 public:
0020   EnergyUncertaintyPhotonSpecific(const edm::ParameterSet& config);
0021   ~EnergyUncertaintyPhotonSpecific();
0022 
0023   void init(const edm::EventSetup& theEventSetup);
0024   //void calculate( edm::Event& evt, reco::Photon &, int subdet,const reco::VertexCollection& vtxcol,const edm::EventSetup& iSetup) ;
0025   //double applyCrackCorrection(const reco::SuperCluster &cl, EcalClusterFunctionBaseClass* crackCorrectionFunction);
0026 
0027   double computePhotonEnergyUncertainty_lowR9(double eta, double brem, double energy);
0028   double computePhotonEnergyUncertainty_highR9(double eta, double brem, double energy);
0029 
0030 private:
0031 };
0032 
0033 #endif