#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(), RegressionHelper::getEcalRegression(), SuperClusterHelper::localCoordinates(), pat::PATPhotonProducer::produce(), and BaselinePFSCRegression::set().
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(), DetId::Ecal, EcalBarrel, reco::CaloCluster::energy(), reco::tau::disc::Eta(), PV3DBase< T, PVType, FrameType >::eta(), first, relativeConstraints::geom, CaloGeometry::getSubdetectorGeometry(), reco::CaloCluster::hitsAndFractions(), EBDetId::ieta(), EBDetId::iphi(), fff_deletion::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 SuperClusterHelper::localCoordinates().
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 reco::deltaR(), DetId::Ecal, EcalEndcap, reco::CaloCluster::energy(), reco::tau::disc::Eta(), PV3DBase< T, PVType, FrameType >::eta(), reco::CaloCluster::eta(), first, relativeConstraints::geom, CaloGeometry::getSubdetectorGeometry(), reco::CaloCluster::hitsAndFractions(), EEDetId::ix(), EEDetId::iy(), fff_deletion::log, colinearityKinematic::Phi, PV3DBase< T, PVType, FrameType >::phi(), Phi_mpi_pi(), reco::CaloCluster::position(), X, PV3DBase< T, PVType, FrameType >::x(), X0, and PV3DBase< T, PVType, FrameType >::y().