CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoParticleFlow/PFClusterTools/interface/PFSCEnergyCalibration.h

Go to the documentation of this file.
00001 #ifndef RecoParticleFlow_PFClusterTools_PFSCEnergyCalibration_h
00002 #define RecoParticleFlow_PFClusterTools_PFSCEnergyCalibration_h 
00003 #include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
00004 #include <iostream>
00005 
00006 
00007 // -*- C++ -*-
00008 //
00009 // Package:    PFClusterTools
00010 // Class:      PFSuperClusterEnergyCalibration
00011 // 
00022 //
00023 // Original Author:  Daniele Benedetti
00024 //         Created:  Fri Dec  4 10:18:18 CDT 2006
00025 
00026 
00027 
00028 
00029 class PFSCEnergyCalibration 
00030 {
00031  public:
00032   PFSCEnergyCalibration(); // default constructor;
00033                            // needed by PFRootEvent
00034   
00035   PFSCEnergyCalibration(std::vector<double> &barrelCorr,
00036                         std::vector<double> &endcapCorr);
00037   
00038   
00039   ~PFSCEnergyCalibration();
00040 
00041   // ecal calibration
00042   double SCCorrEtEtaBarrel(double et, double eta);
00043   double SCCorrEtEtaEndcap(double et, double eta);
00044   
00045 
00046  private:
00047   std::vector<double> barrelCorr_;
00048   std::vector<double> endcapCorr_;
00049   double cc[9];
00050   double bb[11];
00051 
00052 };
00053 
00054 #endif
00055 
00056