Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:26

0001 #ifndef RecoParticleFlow_PFClusterTools_PFEnergyResolution_h
0002 #define RecoParticleFlow_PFClusterTools_PFEnergyResolution_h
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:    PFClusterTools
0007 // Class:      PFEnergyResolution
0008 //
0009 /**\class
0010 
0011  Description: An auxiliary class of the Particle-Flow algorithm,
0012               for the Estimation of the Energy Resolution in ECAL and HCAL;
0013               the Resolution can be parametrized either as function of raw or as function of calibrated Energy Deposits;
0014               currently, it is parametrized as function of **calibrated** Energy Deposits
0015 
0016  Implementation:
0017      Original Implementation of Resolution functions in PFAlgo/PFBlock by Colin Bernet;
0018      Code moved into separate Class by Christian Veelken 
0019 */
0020 //
0021 // Original Author:  Christian Veelken
0022 //         Created:  Tue Aug  8 16:26:18 CDT 2006
0023 //
0024 //
0025 
0026 #include <iostream>
0027 
0028 //#include "FWCore/ParameterSet/interface/ParameterSet.h"
0029 
0030 class PFEnergyResolution {
0031 public:
0032   PFEnergyResolution();  // default constructor;
0033                          // needed by PFRootEvent
0034   //PFEnergyResolution(const edm::ParameterSet& parameters);
0035   ~PFEnergyResolution();
0036 
0037   double getEnergyResolutionEm(double CorrectedEnergy, double eta)
0038       const;  //The resolution must be a function of the corrected energy available in PFEnergyCalibration
0039 
0040   double getEnergyResolutionHad(double energyHCAL, double eta, double phi) const;
0041   //double getEnergyResolutionHad(double energyECAL, double energyHCAL, double eta, double phi) const;
0042 };
0043 
0044 #endif