CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFEnergyResolution.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFClusterTools_PFEnergyResolution_h
2 #define RecoParticleFlow_PFClusterTools_PFEnergyResolution_h
3 
4 // -*- C++ -*-
5 //
6 // Package: PFClusterTools
7 // Class: PFEnergyResolution
8 //
20 //
21 // Original Author: Christian Veelken
22 // Created: Tue Aug 8 16:26:18 CDT 2006
23 //
24 //
25 
26 #include <iostream>
27 
28 //#include "FWCore/ParameterSet/interface/ParameterSet.h"
29 
31 {
32  public:
33  PFEnergyResolution(); // default constructor;
34  // needed by PFRootEvent
35  //PFEnergyResolution(const edm::ParameterSet& parameters);
37 
38  double getEnergyResolutionEm(double CorrectedEnergy, double eta) const; //The resolution must be a function of the corrected energy available in PFEnergyCalibration
39 
40  double getEnergyResolutionHad(double energyHCAL, double eta, double phi) const;
41  //double getEnergyResolutionHad(double energyECAL, double energyHCAL, double eta, double phi) const;
42 };
43 
44 #endif
45 
46 
double getEnergyResolutionHad(double energyHCAL, double eta, double phi) const
double getEnergyResolutionEm(double CorrectedEnergy, double eta) const
double energyHCAL(std::vector< DetId > &vdets, edm::Handle< T > &hits, double hbThr=-100, double heThr=-100, double hfThr=-100, double hoThr=-100, double tMin=-500, double tMax=500, bool useRaw=false, bool debug=false)