CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
32  PFEnergyResolution(); // default constructor;
33  // needed by PFRootEvent
34  //PFEnergyResolution(const edm::ParameterSet& parameters);
36 
37  double getEnergyResolutionEm(double CorrectedEnergy, double eta)
38  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
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, int useRaw=0, bool debug=false)