Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoParticleFlow
PFClusterTools
interface
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
31
class
PFEnergyResolution
32
{
33
public
:
34
PFEnergyResolution
();
// default constructor;
35
// needed by PFRootEvent
36
//PFEnergyResolution(const edm::ParameterSet& parameters);
37
~PFEnergyResolution
();
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
spr::energyHCAL
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)
PFEnergyResolution::getEnergyResolutionHad
double getEnergyResolutionHad(double energyHCAL, double eta, double phi) const
Definition:
PFEnergyResolution.cc:37
eta
T eta() const
Definition:
Basic3DVectorLD.h:179
PFEnergyResolution::PFEnergyResolution
PFEnergyResolution()
Definition:
PFEnergyResolution.cc:10
PFEnergyResolution::~PFEnergyResolution
~PFEnergyResolution()
Definition:
PFEnergyResolution.cc:15
PFEnergyResolution::getEnergyResolutionEm
double getEnergyResolutionEm(double CorrectedEnergy, double eta) const
Definition:
PFEnergyResolution.cc:21
PFEnergyResolution
Definition:
PFEnergyResolution.h:31
phi
Definition:
DDAxes.h:10
Generated for CMSSW Reference Manual by
1.8.5