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 // $Id: PFEnergyResolution.h,v 1.3 2008/09/04 09:29:43 benedet Exp $
24 //
25 //
26 
27 #include <iostream>
28 
29 //#include "FWCore/ParameterSet/interface/ParameterSet.h"
30 
32 {
33  public:
34  PFEnergyResolution(); // default constructor;
35  // needed by PFRootEvent
36  //PFEnergyResolution(const edm::ParameterSet& parameters);
38 
39  double getEnergyResolutionEm(double CorrectedEnergy, double eta) const; //The resolution must be a function of the corrected energy available in PFEnergyCalibration
40 
41  double getEnergyResolutionHad(double energyHCAL, double eta, double phi) const;
42  //double getEnergyResolutionHad(double energyECAL, double energyHCAL, double eta, double phi) const;
43 };
44 
45 #endif
46 
47 
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 debug=false)
double getEnergyResolutionHad(double energyHCAL, double eta, double phi) const
T eta() const
double getEnergyResolutionEm(double CorrectedEnergy, double eta) const
Definition: DDAxes.h:10