#include <EcalClusterLazyTools.h>
Public Attributes | |
std::map< DetId, EcalRecHit > | rechits_map_ |
Protected Member Functions | |
void | getADCToGeV (const edm::EventSetup &es) |
void | getEBRecHits (const edm::Event &ev) |
const EcalRecHitCollection * | getEcalRecHitCollection (const reco::BasicCluster &cluster) |
void | getEERecHits (const edm::Event &ev) |
void | getESRecHits (const edm::Event &ev) |
void | getGeometry (const edm::EventSetup &es, bool doES=true) |
void | getIntercalibConstants (const edm::EventSetup &es) |
void | getLaserDbService (const edm::EventSetup &es) |
void | getTopology (const edm::EventSetup &es) |
Protected Attributes | |
edm::ESHandle< EcalADCToGeVConstant > | agc |
const EcalRecHitCollection * | ebRecHits_ |
edm::EDGetTokenT< EcalRecHitCollection > | ebRHToken_ |
std::shared_ptr< CaloSubdetectorTopology const > | ecalPS_topology_ |
const EcalRecHitCollection * | eeRecHits_ |
edm::EDGetTokenT< EcalRecHitCollection > | eeRHToken_ |
const EcalRecHitCollection * | esRecHits_ |
edm::EDGetTokenT< EcalRecHitCollection > | esRHToken_ |
const CaloGeometry * | geometry_ |
edm::ESHandle< EcalIntercalibConstants > | ical |
const EcalIntercalibConstantMap * | icalMap |
edm::ESHandle< EcalLaserDbService > | laser |
const CaloTopology * | topology_ |
Definition at line 34 of file EcalClusterLazyTools.h.
EcalClusterLazyToolsBase::EcalClusterLazyToolsBase | ( | const edm::Event & | ev, |
const edm::EventSetup & | es, | ||
edm::EDGetTokenT< EcalRecHitCollection > | token1, | ||
edm::EDGetTokenT< EcalRecHitCollection > | token2 | ||
) |
Definition at line 25 of file EcalClusterLazyTools.cc.
References ebRHToken_, eeRHToken_, getADCToGeV(), getEBRecHits(), getEERecHits(), getGeometry(), getIntercalibConstants(), getLaserDbService(), and getTopology().
EcalClusterLazyToolsBase::EcalClusterLazyToolsBase | ( | const edm::Event & | ev, |
const edm::EventSetup & | es, | ||
edm::EDGetTokenT< EcalRecHitCollection > | token1, | ||
edm::EDGetTokenT< EcalRecHitCollection > | token2, | ||
edm::EDGetTokenT< EcalRecHitCollection > | token3 | ||
) |
Definition at line 39 of file EcalClusterLazyTools.cc.
References ebRHToken_, eeRHToken_, esRHToken_, getADCToGeV(), getEBRecHits(), getEERecHits(), getESRecHits(), getGeometry(), getIntercalibConstants(), getLaserDbService(), and getTopology().
EcalClusterLazyToolsBase::~EcalClusterLazyToolsBase | ( | ) |
Definition at line 55 of file EcalClusterLazyTools.cc.
float EcalClusterLazyToolsBase::BasicClusterSeedTime | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 169 of file EcalClusterLazyTools.cc.
References edm::SortedCollection< T, SORT >::find(), and getEcalRecHitCollection().
Referenced by SuperClusterSeedTime().
float EcalClusterLazyToolsBase::BasicClusterTime | ( | const reco::BasicCluster & | cluster, |
const edm::Event & | ev | ||
) |
Definition at line 186 of file EcalClusterLazyTools.cc.
References ecalMGPA::adc(), agc, EcalBarrel, EcalEndcap, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), edm::SortedCollection< T, SORT >::find(), plotBeamSpotDB::first, objects.autophobj::float, EcalADCToGeVConstant::getEBValue(), getEcalRecHitCollection(), EcalADCToGeVConstant::getEEValue(), EcalLaserDbService::getLaserCorrection(), icalMap, laser, mathSSE::sqrt(), and edm::EventBase::time().
Referenced by SuperClusterTime().
float EcalClusterLazyToolsBase::eseffsirir | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 268 of file EcalClusterLazyTools.cc.
References ecalPS_topology_, reco::CaloCluster::eta(), geometry_, getESHits(), getESShape(), rechits_map_, mathSSE::sqrt(), reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
float EcalClusterLazyToolsBase::eseffsixix | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 283 of file EcalClusterLazyTools.cc.
References ecalPS_topology_, reco::CaloCluster::eta(), geometry_, getESHits(), getESShape(), rechits_map_, reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
float EcalClusterLazyToolsBase::eseffsiyiy | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 296 of file EcalClusterLazyTools.cc.
References ecalPS_topology_, reco::CaloCluster::eta(), geometry_, getESHits(), getESShape(), rechits_map_, reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
|
protected |
Definition at line 136 of file EcalClusterLazyTools.cc.
References agc, and edm::EventSetup::get().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 83 of file EcalClusterLazyTools.cc.
References ebRecHits_, ebRHToken_, edm::Event::getByToken(), and edm::Handle< T >::product().
Referenced by EcalClusterLazyToolsBase().
|
inline |
Definition at line 96 of file EcalClusterLazyTools.h.
References ebRecHits_.
|
inline |
Definition at line 97 of file EcalClusterLazyTools.h.
References eeRecHits_.
|
inline |
Definition at line 98 of file EcalClusterLazyTools.h.
References esRecHits_.
|
inline |
Definition at line 99 of file EcalClusterLazyTools.h.
References icalMap.
|
protected |
Definition at line 150 of file EcalClusterLazyTools.cc.
References ebRecHits_, EcalBarrel, EcalEndcap, eeRecHits_, Exception, and plotBeamSpotDB::first.
Referenced by BasicClusterSeedTime(), BasicClusterTime(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::covariances(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e1x3(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e1x5(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2nd(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x2(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Bottom(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Left(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Max(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Right(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Top(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e3x1(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e3x2(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e3x3(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e4x4(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e5x1(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e5x5(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::eBottom(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::eLeft(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::eMax(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::energyBasketFractionEta(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::energyBasketFractionPhi(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::eRight(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::eTop(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::getMaximum(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::lat(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::localCovariances(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::matrixEnergy(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::n5x5(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::scLocalCovariances(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::zernike20(), and EcalClusterLazyToolsT< EcalClusterToolsImpl >::zernike42().
|
protected |
Definition at line 89 of file EcalClusterLazyTools.cc.
References eeRecHits_, eeRHToken_, edm::Event::getByToken(), and edm::Handle< T >::product().
Referenced by EcalClusterLazyToolsBase().
std::vector< float > EcalClusterLazyToolsBase::getESHits | ( | double | X, |
double | Y, | ||
double | Z, | ||
const std::map< DetId, EcalRecHit > & | rechits_map, | ||
const CaloGeometry * | geometry, | ||
CaloSubdetectorTopology const * | topology_p, | ||
int | row = 0 , |
||
int | plane = 1 |
||
) |
Definition at line 309 of file EcalClusterLazyTools.cc.
References CaloNavigator< T, TOPO >::east(), DetId::Ecal, EcalPreshower, CaloGeometry::getSubdetectorGeometry(), CaloNavigator< T, TOPO >::home(), mps_fire::i, GetRecoTauVFromDQM_MC_cff::next, CaloNavigator< T, TOPO >::north(), point, CaloNavigator< T, TOPO >::setHome(), CaloNavigator< T, TOPO >::south(), digitizers_cfi::strip, and CaloNavigator< T, TOPO >::west().
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 95 of file EcalClusterLazyTools.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), esRecHits_, esRHToken_, edm::Event::getByToken(), edm::HandleBase::isValid(), edm::Handle< T >::product(), and rechits_map_.
Referenced by EcalClusterLazyToolsBase().
float EcalClusterLazyToolsBase::getESShape | ( | const std::vector< float > & | ESHits0 | ) |
Definition at line 422 of file EcalClusterLazyTools.cc.
References training_settings::idx, and mathSSE::sqrt().
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 58 of file EcalClusterLazyTools.cc.
References DetId::Ecal, EcalPreshower, ecalPS_topology_, geometry_, edm::EventSetup::get(), CaloGeometry::getSubdetectorGeometry(), and edm::ESHandle< T >::product().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 127 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), ical, and icalMap.
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 144 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), and laser.
Referenced by EcalClusterLazyToolsBase().
|
inline |
Definition at line 100 of file EcalClusterLazyTools.h.
References laser.
|
protected |
Definition at line 77 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), edm::ESHandle< T >::product(), and topology_.
Referenced by EcalClusterLazyToolsBase().
float EcalClusterLazyToolsBase::SuperClusterSeedTime | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 252 of file EcalClusterLazyTools.cc.
References BasicClusterSeedTime(), and reco::SuperCluster::seed().
float EcalClusterLazyToolsBase::SuperClusterTime | ( | const reco::SuperCluster & | cluster, |
const edm::Event & | ev | ||
) |
Definition at line 260 of file EcalClusterLazyTools.cc.
References BasicClusterTime(), and reco::SuperCluster::seed().
|
protected |
Definition at line 86 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and getADCToGeV().
|
protected |
Definition at line 75 of file EcalClusterLazyTools.h.
Referenced by getEBRecHits(), getEcalEBRecHitCollection(), and getEcalRecHitCollection().
|
protected |
Definition at line 79 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsBase(), and getEBRecHits().
|
protected |
Definition at line 81 of file EcalClusterLazyTools.h.
Referenced by eseffsirir(), eseffsixix(), eseffsiyiy(), and getGeometry().
|
protected |
Definition at line 76 of file EcalClusterLazyTools.h.
Referenced by getEcalEERecHitCollection(), getEcalRecHitCollection(), and getEERecHits().
|
protected |
Definition at line 79 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsBase(), and getEERecHits().
|
protected |
Definition at line 77 of file EcalClusterLazyTools.h.
Referenced by getEcalESRecHitCollection(), and getESRecHits().
|
protected |
Definition at line 79 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsBase(), and getESRecHits().
|
protected |
Definition at line 73 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsT< EcalClusterToolsImpl >::covariances(), eseffsirir(), eseffsixix(), eseffsiyiy(), getGeometry(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::lat(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::zernike20(), and EcalClusterLazyToolsT< EcalClusterToolsImpl >::zernike42().
|
protected |
Definition at line 84 of file EcalClusterLazyTools.h.
Referenced by getIntercalibConstants().
|
protected |
Definition at line 85 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), getEcalIntercalibConstants(), and getIntercalibConstants().
|
protected |
Definition at line 87 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), getLaserDbService(), and getLaserHandle().
std::map<DetId, EcalRecHit> EcalClusterLazyToolsBase::rechits_map_ |
Definition at line 51 of file EcalClusterLazyTools.h.
Referenced by eseffsirir(), eseffsixix(), eseffsiyiy(), and getESRecHits().
|
protected |
Definition at line 74 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsT< EcalClusterToolsImpl >::covariances(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e1x3(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e1x5(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x2(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Bottom(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Left(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Max(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Right(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e2x5Top(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e3x1(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e3x2(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e3x3(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e4x4(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e5x1(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::e5x5(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::eBottom(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::eLeft(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::eRight(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::eTop(), getTopology(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::localCovariances(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::matrixDetId(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::matrixEnergy(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::n5x5(), and EcalClusterLazyToolsT< EcalClusterToolsImpl >::scLocalCovariances().