#include <EcalClusterLazyTools.h>
Classes | |
struct | ESData |
class | ESGetTokens |
Public Member Functions | |
float | BasicClusterSeedTime (const reco::BasicCluster &cluster) |
float | BasicClusterTime (const reco::BasicCluster &cluster, const edm::Event &ev) |
EcalClusterLazyToolsBase (const edm::Event &ev, ESData const &esData, edm::EDGetTokenT< EcalRecHitCollection > token1, edm::EDGetTokenT< EcalRecHitCollection > token2, std::optional< edm::EDGetTokenT< EcalRecHitCollection >> token3) | |
float | eseffsirir (const reco::SuperCluster &cluster) |
float | eseffsixix (const reco::SuperCluster &cluster) |
float | eseffsiyiy (const reco::SuperCluster &cluster) |
std::vector< float > | 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) |
float | getESShape (const std::vector< float > &ESHits0) |
float | SuperClusterSeedTime (const reco::SuperCluster &cluster) |
float | SuperClusterTime (const reco::SuperCluster &cluster, const edm::Event &ev) |
Public Attributes | |
std::map< DetId, EcalRecHit > | rechits_map_ |
Protected Member Functions | |
const EcalRecHitCollection * | getEcalRecHitCollection (const reco::BasicCluster &cluster) const |
Protected Attributes | |
const EcalADCToGeVConstant * | agc = nullptr |
const EcalRecHitCollection * | ebRecHits_ |
std::unique_ptr< CaloSubdetectorTopology const > | ecalPS_topology_ = nullptr |
const EcalRecHitCollection * | eeRecHits_ |
const EcalRecHitCollection * | esRecHits_ |
const CaloGeometry * | geometry_ |
const EcalIntercalibConstants * | ical = nullptr |
const EcalIntercalibConstantMap * | icalMap = nullptr |
const EcalLaserDbService * | laser = nullptr |
const CaloTopology * | topology_ |
Private Member Functions | |
void | getESRecHits (const edm::Event &ev, edm::EDGetTokenT< EcalRecHitCollection > const &esRecHitsToken) |
Definition at line 45 of file EcalClusterLazyTools.h.
EcalClusterLazyToolsBase::EcalClusterLazyToolsBase | ( | const edm::Event & | ev, |
ESData const & | esData, | ||
edm::EDGetTokenT< EcalRecHitCollection > | token1, | ||
edm::EDGetTokenT< EcalRecHitCollection > | token2, | ||
std::optional< edm::EDGetTokenT< EcalRecHitCollection >> | token3 | ||
) |
Definition at line 18 of file EcalClusterLazyTools.cc.
References agc, DetId::Ecal, EcalClusterLazyToolsBase::ESData::ecalADCToGeV, EcalClusterLazyToolsBase::ESData::ecalIntercalibConstants, EcalClusterLazyToolsBase::ESData::ecalLaserDbService, EcalPreshower, ecalPS_topology_, ev, geometry_, getESRecHits(), EcalCondObjectContainer< T >::getMap(), CaloGeometry::getSubdetectorGeometry(), ical, icalMap, and laser.
float EcalClusterLazyToolsBase::BasicClusterSeedTime | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 94 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 108 of file EcalClusterLazyTools.cc.
References gpuClustering::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 183 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 201 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 216 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 76 of file EcalClusterLazyTools.cc.
References ebRecHits_, EcalBarrel, EcalEndcap, eeRecHits_, Exception, 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 231 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, BeamSpotPI::Y, and BeamSpotPI::Z.
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
private |
Definition at line 46 of file EcalClusterLazyTools.cc.
References esRecHits_, ev, and rechits_map_.
Referenced by EcalClusterLazyToolsBase().
float EcalClusterLazyToolsBase::getESShape | ( | const std::vector< float > & | ESHits0 | ) |
Definition at line 367 of file EcalClusterLazyTools.cc.
References heavyIonCSV_trainingSettings::idx, and mathSSE::sqrt().
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
float EcalClusterLazyToolsBase::SuperClusterSeedTime | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 178 of file EcalClusterLazyTools.cc.
References BasicClusterSeedTime(), and reco::SuperCluster::seed().
|
inline |
Definition at line 93 of file EcalClusterLazyTools.h.
References BasicClusterTime(), ev, and reco::SuperCluster::seed().
|
protected |
Definition at line 128 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and EcalClusterLazyToolsBase().
|
protected |
Definition at line 120 of file EcalClusterLazyTools.h.
Referenced by getEcalRecHitCollection().
|
protected |
Definition at line 124 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsBase(), eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 121 of file EcalClusterLazyTools.h.
Referenced by getEcalRecHitCollection().
|
protected |
Definition at line 122 of file EcalClusterLazyTools.h.
Referenced by getESRecHits().
|
protected |
Definition at line 118 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 126 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 127 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and EcalClusterLazyToolsBase().
|
protected |
Definition at line 129 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and EcalClusterLazyToolsBase().
std::map<DetId, EcalRecHit> EcalClusterLazyToolsBase::rechits_map_ |
Definition at line 98 of file EcalClusterLazyTools.h.
Referenced by eseffsirir(), eseffsixix(), eseffsiyiy(), and getESRecHits().
|
protected |
Definition at line 119 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().