#include <EcalBasicClusterLocalContCorrection.h>
Public Member Functions | |
void | checkInit () const |
EcalBasicClusterLocalContCorrection (edm::ConsumesCollector &&cc) | |
void | init (const edm::EventSetup &es) |
float | operator() (const reco::BasicCluster &, const EcalRecHitCollection &) const |
Private Member Functions | |
int | getEcalModule (DetId id) const |
Private Attributes | |
CaloGeometry const * | caloGeometry_ |
const edm::ESGetToken < CaloGeometry, CaloGeometryRecord > | caloGeometryToken_ |
EcalClusterLocalContCorrParameters const * | params_ |
const edm::ESGetToken < EcalClusterLocalContCorrParameters, EcalClusterLocalContCorrParametersRcd > | paramsToken_ |
Function to correct em object energy for energy not contained in a 5x5 crystal area in the calorimeter
$Id: EcalBasicClusterLocalContCorrection.h $Date: $Revision:
Definition at line 22 of file EcalBasicClusterLocalContCorrection.h.
EcalBasicClusterLocalContCorrection::EcalBasicClusterLocalContCorrection | ( | edm::ConsumesCollector && | cc | ) |
Definition at line 8 of file EcalBasicClusterLocalContCorrection.cc.
void EcalBasicClusterLocalContCorrection::checkInit | ( | ) | const |
Definition at line 16 of file EcalBasicClusterLocalContCorrection.cc.
References Exception, and params_.
|
private |
Definition at line 157 of file EcalBasicClusterLocalContCorrection.cc.
References mod().
void EcalBasicClusterLocalContCorrection::init | ( | const edm::EventSetup & | es | ) |
Definition at line 11 of file EcalBasicClusterLocalContCorrection.cc.
References caloGeometry_, caloGeometryToken_, edm::EventSetup::getData(), params_, and paramsToken_.
float EcalBasicClusterLocalContCorrection::operator() | ( | const reco::BasicCluster & | basicCluster, |
const EcalRecHitCollection & | recHit | ||
) | const |
Definition at line 28 of file EcalBasicClusterLocalContCorrection.cc.
References funct::abs(), funct::cos(), HLT_FULL_cff::depth, DetId::Ecal, EcalBarrel, reco::CaloCluster::energy(), PV3DBase< T, PVType, FrameType >::eta(), first, relativeConstraints::geom, CaloSubdetectorGeometry::getGeometry(), reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), EBDetId::iphi(), log, M_PI, colinearityKinematic::Phi, PV3DBase< T, PVType, FrameType >::phi(), reco::CaloCluster::position(), createTree::pp, reco::CaloCluster::seed(), PV3DBase< T, PVType, FrameType >::theta(), and X0.
|
private |
Definition at line 42 of file EcalBasicClusterLocalContCorrection.h.
Referenced by init().
|
private |
Definition at line 39 of file EcalBasicClusterLocalContCorrection.h.
Referenced by init().
|
private |
Definition at line 41 of file EcalBasicClusterLocalContCorrection.h.
Referenced by checkInit(), and init().
|
private |
Definition at line 38 of file EcalBasicClusterLocalContCorrection.h.
Referenced by init().