CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
EgammaHcalIsolation.cc File Reference
#include <Math/VectorUtil.h>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "DataFormats/RecoCandidate/interface/RecoCandidate.h"
#include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
#include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
#include "RecoEgamma/EgammaIsolationAlgos/interface/EgammaHcalIsolation.h"

Go to the source code of this file.

Functions

double scaleToE (const double &eta)
 
double scaleToEt (const double &eta)
 

Function Documentation

double scaleToE ( const double &  eta)

Definition at line 21 of file EgammaHcalIsolation.cc.

Referenced by EgammaHcalIsolation::getHcalESum(), and EgammaHcalIsolation::getHcalESumBc().

21 { return 1.; }
double scaleToEt ( const double &  eta)

Definition at line 22 of file EgammaHcalIsolation.cc.

References funct::exp(), and funct::sin().

Referenced by EgammaHcalIsolation::getHcalEtSum(), EgammaHcalIsolation::getHcalEtSumBc(), and EgammaHcalIsolation::goodHitEnergy().

22 { return std::sin(2. * std::atan(std::exp(-eta))); }
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
Exp< T >::type exp(const T &t)
Definition: Exp.h:22