#include <EcalClusterLocal.h>
Public Member Functions | |
EcalClusterLocal () | |
void | localCoordsEB (const reco::BasicCluster &bclus, const edm::EventSetup &es, float &etacry, float &phicry, int &ieta, int &iphi, float &thetatilt, float &phitilt) const |
void | localCoordsEE (const reco::BasicCluster &bclus, const edm::EventSetup &es, 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) $Id: EcalClusterLocal.h $Date: $Revision:
Definition at line 19 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::BasicCluster & | 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 reco::deltaR(), DetId::Ecal, EcalBarrel, reco::tau::disc::Eta(), PV3DBase< T, PVType, FrameType >::eta(), first, relativeConstraints::geom, edm::EventSetup::get(), CaloSubdetectorGeometry::getGeometry(), EBDetId::ieta(), EBDetId::iphi(), create_public_lumi_plots::log, colinearityKinematic::Phi, PV3DBase< T, PVType, FrameType >::phi(), Phi_mpi_pi(), Pi, PV3DBase< T, PVType, FrameType >::theta(), and X0.
Referenced by EGEnergyCorrector::CorrectedEnergyWithError().
void EcalClusterLocal::localCoordsEE | ( | const reco::BasicCluster & | bclus, |
const edm::EventSetup & | es, | ||
float & | xcry, | ||
float & | ycry, | ||
int & | ix, | ||
int & | iy, | ||
float & | thetatilt, | ||
float & | phitilt | ||
) | const |
Definition at line 92 of file EcalClusterLocal.cc.
References reco::deltaR(), DetId::Ecal, EcalEndcap, reco::tau::disc::Eta(), PV3DBase< T, PVType, FrameType >::eta(), first, relativeConstraints::geom, edm::EventSetup::get(), CaloSubdetectorGeometry::getGeometry(), EEDetId::ix(), EEDetId::iy(), create_public_lumi_plots::log, colinearityKinematic::Phi, PV3DBase< T, PVType, FrameType >::phi(), Phi_mpi_pi(), X, PV3DBase< T, PVType, FrameType >::x(), X0, and PV3DBase< T, PVType, FrameType >::y().