#include <EcalClusterLocal.h>
Public Member Functions | |
EcalClusterLocal () | |
void | localCoordsEB (const reco::CaloCluster &bclus, const edm::EventSetup &es, float &etacry, float &phicry, int &ieta, int &iphi, float &thetatilt, float &phitilt) const |
void | localCoordsEB (const reco::CaloCluster &bclus, const CaloGeometry &geom, float &etacry, float &phicry, int &ieta, int &iphi, float &thetatilt, float &phitilt) const |
void | localCoordsEE (const reco::CaloCluster &bclus, const edm::EventSetup &es, float &xcry, float &ycry, int &ix, int &iy, float &thetatilt, float &phitilt) const |
void | localCoordsEE (const reco::CaloCluster &bclus, const CaloGeometry &geom, float &xcry, float &ycry, int &ix, int &iy, float &thetatilt, float &phitilt) const |
~EcalClusterLocal () | |
Function to compute local coordinates of Ecal clusters (adapted from RecoEcal/EgammaCoreTools/plugins/EcalClusterLocal)
Definition at line 17 of file EcalClusterLocal.h.
EcalClusterLocal::EcalClusterLocal | ( | ) |
Definition at line 16 of file EcalClusterLocal.cc.
EcalClusterLocal::~EcalClusterLocal | ( | ) |
Definition at line 19 of file EcalClusterLocal.cc.
void EcalClusterLocal::localCoordsEB | ( | const reco::CaloCluster & | bclus, |
const edm::EventSetup & | es, | ||
float & | etacry, | ||
float & | phicry, | ||
int & | ieta, | ||
int & | iphi, | ||
float & | thetatilt, | ||
float & | phitilt | ||
) | const |
Definition at line 22 of file EcalClusterLocal.cc.
References edm::EventSetup::get().
Referenced by EGEnergyCorrector::CorrectedEnergyWithError(), EGEnergyCorrector::CorrectedEnergyWithErrorV3(), EcalRegressionData::fill(), SuperClusterHelper::localCoordinates(), and EGExtraInfoModifierFromDB::modifyObject().
void EcalClusterLocal::localCoordsEB | ( | const reco::CaloCluster & | bclus, |
const CaloGeometry & | geom, | ||
float & | etacry, | ||
float & | phicry, | ||
int & | ieta, | ||
int & | iphi, | ||
float & | thetatilt, | ||
float & | phitilt | ||
) | const |
Definition at line 31 of file EcalClusterLocal.cc.
References reco::deltaR(), particleFlowClusterECALTimeSelected_cfi::depth, runTauDisplay::dr, DetId::Ecal, EcalBarrel, reco::CaloCluster::energy(), reco::tau::disc::Eta(), PV3DBase< T, PVType, FrameType >::eta(), plotBeamSpotDB::first, relativeConstraints::geom, TruncatedPyramid::getPhiAxis(), TruncatedPyramid::getPosition(), CaloGeometry::getSubdetectorGeometry(), TruncatedPyramid::getThetaAxis(), reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), EBDetId::iphi(), cmsBatch::log, colinearityKinematic::Phi, PV3DBase< T, PVType, FrameType >::phi(), Phi_mpi_pi(), Pi, reco::CaloCluster::position(), PV3DBase< T, PVType, FrameType >::theta(), and X0.
void EcalClusterLocal::localCoordsEE | ( | const reco::CaloCluster & | bclus, |
const edm::EventSetup & | es, | ||
float & | xcry, | ||
float & | ycry, | ||
int & | ix, | ||
int & | iy, | ||
float & | thetatilt, | ||
float & | phitilt | ||
) | const |
Definition at line 98 of file EcalClusterLocal.cc.
References edm::EventSetup::get().
Referenced by EcalRegressionData::fill(), SuperClusterHelper::localCoordinates(), and EGExtraInfoModifierFromDB::modifyObject().
void EcalClusterLocal::localCoordsEE | ( | const reco::CaloCluster & | bclus, |
const CaloGeometry & | geom, | ||
float & | xcry, | ||
float & | ycry, | ||
int & | ix, | ||
int & | iy, | ||
float & | thetatilt, | ||
float & | phitilt | ||
) | const |
Definition at line 105 of file EcalClusterLocal.cc.
References Abs(), reco::deltaR(), particleFlowClusterECALTimeSelected_cfi::depth, runTauDisplay::dr, DetId::Ecal, EcalEndcap, reco::CaloCluster::energy(), reco::tau::disc::Eta(), PV3DBase< T, PVType, FrameType >::eta(), reco::CaloCluster::eta(), plotBeamSpotDB::first, relativeConstraints::geom, TruncatedPyramid::getPhiAxis(), TruncatedPyramid::getPosition(), CaloGeometry::getSubdetectorGeometry(), TruncatedPyramid::getThetaAxis(), reco::CaloCluster::hitsAndFractions(), EEDetId::ix(), EEDetId::iy(), cmsBatch::log, colinearityKinematic::Phi, PV3DBase< T, PVType, FrameType >::phi(), Phi_mpi_pi(), reco::CaloCluster::position(), X, PV3DBase< T, PVType, FrameType >::x(), X0, DOFs::Y, and PV3DBase< T, PVType, FrameType >::y().