#include <EcalClusterLazyTools.h>
Public Attributes | |
std::map< DetId, EcalRecHit > | rechits_map_ |
Protected Member Functions | |
void | getADCToGeV (const edm::EventSetup &es) |
const EcalRecHitCollection * | getEcalRecHitCollection (const reco::BasicCluster &cluster) const |
void | getIntercalibConstants (const edm::EventSetup &es) |
void | getLaserDbService (const edm::EventSetup &es) |
Protected Attributes | |
edm::ESHandle< EcalADCToGeVConstant > | agc |
const EcalRecHitCollection * | ebRecHits_ |
std::shared_ptr< CaloSubdetectorTopology const > | ecalPS_topology_ |
const EcalRecHitCollection * | eeRecHits_ |
const EcalRecHitCollection * | esRecHits_ |
edm::EDGetTokenT< EcalRecHitCollection > | esRHToken_ |
const CaloGeometry * | geometry_ |
edm::ESHandle< EcalIntercalibConstants > | ical |
const EcalIntercalibConstantMap * | icalMap |
edm::ESHandle< EcalLaserDbService > | laser |
const CaloTopology * | topology_ |
Private Member Functions | |
void | getESRecHits (const edm::Event &ev) |
Definition at line 33 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 getADCToGeV(), getIntercalibConstants(), and getLaserDbService().
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 38 of file EcalClusterLazyTools.cc.
References DetId::Ecal, EcalPreshower, ecalPS_topology_, esRHToken_, ev, geometry_, getADCToGeV(), getESRecHits(), getIntercalibConstants(), getLaserDbService(), and CaloGeometry::getSubdetectorGeometry().
float EcalClusterLazyToolsBase::BasicClusterSeedTime | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 127 of file EcalClusterLazyTools.cc.
References getEcalRecHitCollection(), FastTrackerRecHitMaskProducer_cfi::recHits, and reco::CaloCluster::seed().
Referenced by SuperClusterSeedTime().
float EcalClusterLazyToolsBase::BasicClusterTime | ( | const reco::BasicCluster & | cluster, |
const edm::Event & | ev | ||
) |
Definition at line 141 of file EcalClusterLazyTools.cc.
References ecalMGPA::adc(), agc, cms::cuda::assert(), EcalBarrel, EcalEndcap, EcalCondObjectContainer< T >::end(), ev, EcalCondObjectContainer< T >::find(), EcalADCToGeVConstant::getEBValue(), getEcalRecHitCollection(), EcalADCToGeVConstant::getEEValue(), EcalLaserDbService::getLaserCorrection(), icalMap, laser, FastTrackerRecHitMaskProducer_cfi::recHits, and mathSSE::sqrt().
Referenced by SuperClusterTime().
float EcalClusterLazyToolsBase::eseffsirir | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 223 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 241 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 256 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 99 of file EcalClusterLazyTools.cc.
References agc, edm::EventSetup::get(), and get.
Referenced by EcalClusterLazyToolsBase().
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 109 of file EcalClusterLazyTools.cc.
References ebRecHits_, EcalBarrel, EcalEndcap, eeRecHits_, Exception, dqmdumpme::first, reco::CaloCluster::hitsAndFractions(), FastTrackerRecHitMaskProducer_cfi::recHits, and reco::CaloCluster::size().
Referenced by BasicClusterSeedTime(), BasicClusterTime(), EcalClusterLazyToolsT< ClusterTools >::covariances(), EcalClusterLazyToolsT< ClusterTools >::e1x3(), EcalClusterLazyToolsT< ClusterTools >::e1x5(), EcalClusterLazyToolsT< ClusterTools >::e2nd(), EcalClusterLazyToolsT< ClusterTools >::e2x2(), EcalClusterLazyToolsT< ClusterTools >::e2x5Bottom(), EcalClusterLazyToolsT< ClusterTools >::e2x5Left(), EcalClusterLazyToolsT< ClusterTools >::e2x5Max(), EcalClusterLazyToolsT< ClusterTools >::e2x5Right(), EcalClusterLazyToolsT< ClusterTools >::e2x5Top(), EcalClusterLazyToolsT< ClusterTools >::e3x1(), EcalClusterLazyToolsT< ClusterTools >::e3x2(), EcalClusterLazyToolsT< ClusterTools >::e3x3(), EcalClusterLazyToolsT< ClusterTools >::e4x4(), EcalClusterLazyToolsT< ClusterTools >::e5x1(), EcalClusterLazyToolsT< ClusterTools >::e5x5(), EcalClusterLazyToolsT< ClusterTools >::eBottom(), EcalClusterLazyToolsT< ClusterTools >::eLeft(), EcalClusterLazyToolsT< ClusterTools >::eMax(), EcalClusterLazyToolsT< ClusterTools >::energyBasketFractionEta(), EcalClusterLazyToolsT< ClusterTools >::energyBasketFractionPhi(), EcalClusterLazyToolsT< ClusterTools >::energyMatrix(), EcalClusterLazyToolsT< ClusterTools >::eRight(), EcalClusterLazyToolsT< ClusterTools >::eTop(), EcalClusterLazyToolsT< ClusterTools >::getMaximum(), EcalClusterLazyToolsT< ClusterTools >::lat(), EcalClusterLazyToolsT< ClusterTools >::localCovariances(), EcalClusterLazyToolsT< ClusterTools >::n5x5(), EcalClusterLazyToolsT< ClusterTools >::scLocalCovariances(), EcalClusterLazyToolsT< ClusterTools >::zernike20(), and EcalClusterLazyToolsT< ClusterTools >::zernike42().
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 271 of file EcalClusterLazyTools.cc.
References CaloNavigator< T, TOPO >::east(), DetId::Ecal, EcalPreshower, CaloNavigator< T, TOPO >::home(), mps_fire::i, dqmiolumiharvest::j, GetRecoTauVFromDQM_MC_cff::next, CaloNavigator< T, TOPO >::north(), point, CaloNavigator< T, TOPO >::setHome(), CaloNavigator< T, TOPO >::south(), digitizers_cfi::strip, CaloNavigator< T, TOPO >::west(), X, DOFs::Y, and DOFs::Z.
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
private |
Definition at line 62 of file EcalClusterLazyTools.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), esRecHits_, esRHToken_, ev, edm::HandleBase::isValid(), edm::Handle< T >::product(), and rechits_map_.
Referenced by EcalClusterLazyToolsBase().
float EcalClusterLazyToolsBase::getESShape | ( | const std::vector< float > & | ESHits0 | ) |
Definition at line 407 of file EcalClusterLazyTools.cc.
References training_settings::idx, and mathSSE::sqrt().
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 93 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), get, ical, and icalMap.
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 104 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), get, and laser.
Referenced by EcalClusterLazyToolsBase().
|
inline |
float EcalClusterLazyToolsBase::SuperClusterSeedTime | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 213 of file EcalClusterLazyTools.cc.
References BasicClusterSeedTime(), and reco::SuperCluster::seed().
float EcalClusterLazyToolsBase::SuperClusterTime | ( | const reco::SuperCluster & | cluster, |
const edm::Event & | ev | ||
) |
Definition at line 218 of file EcalClusterLazyTools.cc.
References BasicClusterTime(), ev, and reco::SuperCluster::seed().
|
protected |
Definition at line 93 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and getADCToGeV().
|
protected |
Definition at line 83 of file EcalClusterLazyTools.h.
Referenced by getEcalEBRecHitCollection(), and getEcalRecHitCollection().
|
protected |
Definition at line 89 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsBase(), eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 84 of file EcalClusterLazyTools.h.
Referenced by getEcalEERecHitCollection(), and getEcalRecHitCollection().
|
protected |
Definition at line 85 of file EcalClusterLazyTools.h.
Referenced by getEcalESRecHitCollection(), and getESRecHits().
|
protected |
Definition at line 87 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsBase(), and getESRecHits().
|
protected |
Definition at line 81 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsT< ClusterTools >::covariances(), EcalClusterLazyToolsBase(), eseffsirir(), eseffsixix(), eseffsiyiy(), EcalClusterLazyToolsT< ClusterTools >::lat(), EcalClusterLazyToolsT< ClusterTools >::zernike20(), and EcalClusterLazyToolsT< ClusterTools >::zernike42().
|
protected |
Definition at line 91 of file EcalClusterLazyTools.h.
Referenced by getIntercalibConstants().
|
protected |
Definition at line 92 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), getEcalIntercalibConstants(), and getIntercalibConstants().
|
protected |
Definition at line 94 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), getLaserDbService(), and getLaserHandle().
std::map<DetId, EcalRecHit> EcalClusterLazyToolsBase::rechits_map_ |
Definition at line 55 of file EcalClusterLazyTools.h.
Referenced by eseffsirir(), eseffsixix(), eseffsiyiy(), and getESRecHits().
|
protected |
Definition at line 82 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsT< ClusterTools >::covariances(), EcalClusterLazyToolsT< ClusterTools >::e1x3(), EcalClusterLazyToolsT< ClusterTools >::e1x5(), EcalClusterLazyToolsT< ClusterTools >::e2x2(), EcalClusterLazyToolsT< ClusterTools >::e2x5Bottom(), EcalClusterLazyToolsT< ClusterTools >::e2x5Left(), EcalClusterLazyToolsT< ClusterTools >::e2x5Max(), EcalClusterLazyToolsT< ClusterTools >::e2x5Right(), EcalClusterLazyToolsT< ClusterTools >::e2x5Top(), EcalClusterLazyToolsT< ClusterTools >::e3x1(), EcalClusterLazyToolsT< ClusterTools >::e3x2(), EcalClusterLazyToolsT< ClusterTools >::e3x3(), EcalClusterLazyToolsT< ClusterTools >::e4x4(), EcalClusterLazyToolsT< ClusterTools >::e5x1(), EcalClusterLazyToolsT< ClusterTools >::e5x5(), EcalClusterLazyToolsT< ClusterTools >::eBottom(), EcalClusterLazyToolsT< ClusterTools >::eLeft(), EcalClusterLazyToolsT< ClusterTools >::energyMatrix(), EcalClusterLazyToolsT< ClusterTools >::eRight(), EcalClusterLazyToolsT< ClusterTools >::eTop(), EcalClusterLazyToolsT< ClusterTools >::localCovariances(), EcalClusterLazyToolsT< ClusterTools >::n5x5(), and EcalClusterLazyToolsT< ClusterTools >::scLocalCovariances().