CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/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> &barrelFbremCorr,
00036                         std::vector<double> &endcapFbremCorr,
00037                         std::vector<double> &barrelCorr,
00038                         std::vector<double> &endcapCorr);
00039   
00040   
00041   ~PFSCEnergyCalibration();
00042 
00043   // ecal calibration
00044   double SCCorrFBremBarrel(double e, double et, double brLinear);
00045   double SCCorrFBremEndcap(double e, double eta, double brLinear);
00046 
00047   double SCCorrEtEtaBarrel(double et, double eta);
00048   double SCCorrEtEtaEndcap(double et, double eta);
00049   
00050 
00051  private:
00052 
00053   //fBrem values
00054   std::vector<double> barrelFbremCorr_;
00055   std::vector<double> endcapFbremCorr_;
00056   double pbb[13];
00057   double pbe[13];
00058 
00059   //Eta / ET values
00060   std::vector<double> barrelCorr_;
00061   std::vector<double> endcapCorr_;
00062   double cc[9];
00063   double bb[17];
00064 
00065 };
00066 
00067 #endif
00068 
00069