#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.
References gpuPixelDoublets::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 LEDCalibrationChannels::ieta, and 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(), LEDCalibrationChannels::depth, DetId::Ecal, EcalBarrel, reco::CaloCluster::energy(), PV3DBase< T, PVType, FrameType >::eta(), dqmdumpme::first, relativeConstraints::geom, reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), EBDetId::iphi(), dqm-mbProfile::log, M_PI, PV3DBase< T, PVType, FrameType >::phi(), VtxSmearedParameters_cfi::Phi, reco::CaloCluster::position(), reco::CaloCluster::seed(), PV3DBase< T, PVType, FrameType >::theta(), and ecalPiZeroTask_cfi::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().