#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) |
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_ |
const EcalRecHitCollection * | eeRecHits_ |
edm::EDGetTokenT < EcalRecHitCollection > | eeRHToken_ |
const EcalRecHitCollection * | esRecHits_ |
edm::EDGetTokenT < EcalRecHitCollection > | esRHToken_ |
const CaloGeometry * | geometry_ |
edm::ESHandle < EcalIntercalibConstants > | ical |
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 156 of file EcalClusterLazyTools.cc.
References edm::SortedCollection< T, SORT >::find(), getEcalRecHitCollection(), and HLT_50ns_5e33_v3_cff::recHits.
Referenced by SuperClusterSeedTime().
float EcalClusterLazyToolsBase::BasicClusterTime | ( | const reco::BasicCluster & | cluster, |
const edm::Event & | ev | ||
) |
Definition at line 173 of file EcalClusterLazyTools.cc.
References ecalMGPA::adc(), agc, assert(), EcalBarrel, EcalEndcap, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), edm::SortedCollection< T, SORT >::find(), plotBeamSpotDB::first, getEcalRecHitCollection(), icalMap, laser, HLT_50ns_5e33_v3_cff::recHits, mathSSE::sqrt(), and edm::EventBase::time().
Referenced by SuperClusterTime().
float EcalClusterLazyToolsBase::eseffsirir | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 255 of file EcalClusterLazyTools.cc.
References DetId::Ecal, EcalPreshower, reco::CaloCluster::eta(), geometry_, getESHits(), getESShape(), CaloGeometry::getSubdetectorGeometry(), rechits_map_, mathSSE::sqrt(), reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
Referenced by PhotonIDValueMapProducer::produce().
float EcalClusterLazyToolsBase::eseffsixix | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 272 of file EcalClusterLazyTools.cc.
References DetId::Ecal, EcalPreshower, reco::CaloCluster::eta(), geometry_, getESHits(), getESShape(), CaloGeometry::getSubdetectorGeometry(), rechits_map_, reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
float EcalClusterLazyToolsBase::eseffsiyiy | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 287 of file EcalClusterLazyTools.cc.
References DetId::Ecal, EcalPreshower, reco::CaloCluster::eta(), geometry_, getESHits(), getESShape(), CaloGeometry::getSubdetectorGeometry(), rechits_map_, reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
|
protected |
Definition at line 123 of file EcalClusterLazyTools.cc.
References agc, and edm::EventSetup::get().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 70 of file EcalClusterLazyTools.cc.
References ebRecHits_, ebRHToken_, edm::Event::getByToken(), and edm::Handle< T >::product().
Referenced by EcalClusterLazyToolsBase().
|
inline |
Definition at line 94 of file EcalClusterLazyTools.h.
References ebRecHits_.
|
inline |
Definition at line 95 of file EcalClusterLazyTools.h.
References eeRecHits_.
|
inline |
Definition at line 96 of file EcalClusterLazyTools.h.
References esRecHits_.
|
inline |
Definition at line 97 of file EcalClusterLazyTools.h.
References icalMap.
|
protected |
Definition at line 137 of file EcalClusterLazyTools.cc.
References ebRecHits_, EcalBarrel, EcalEndcap, eeRecHits_, edm::hlt::Exception, plotBeamSpotDB::first, and HLT_50ns_5e33_v3_cff::recHits.
Referenced by BasicClusterSeedTime(), and BasicClusterTime().
|
protected |
Definition at line 76 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 * | topology_p, | ||
int | row = 0 , |
||
int | plane = 1 |
||
) |
Definition at line 302 of file EcalClusterLazyTools.cc.
References CaloNavigator< T, TOPO >::east(), DetId::Ecal, EcalPreshower, CaloGeometry::getSubdetectorGeometry(), CaloNavigator< T, TOPO >::home(), i, j, GetRecoTauVFromDQM_MC_cff::next, CaloNavigator< T, TOPO >::north(), point, CaloNavigator< T, TOPO >::setHome(), CaloNavigator< T, TOPO >::south(), and CaloNavigator< T, TOPO >::west().
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 82 of file EcalClusterLazyTools.cc.
References 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 416 of file EcalClusterLazyTools.cc.
References customizeTrackingMonitorSeedNumber::idx, and mathSSE::sqrt().
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 58 of file EcalClusterLazyTools.cc.
References geometry_, edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 114 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), ical, and icalMap.
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 131 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), and laser.
Referenced by EcalClusterLazyToolsBase().
|
inline |
Definition at line 98 of file EcalClusterLazyTools.h.
References laser.
|
protected |
Definition at line 64 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), edm::ESHandle< class >::product(), and topology_.
Referenced by EcalClusterLazyToolsBase().
float EcalClusterLazyToolsBase::SuperClusterSeedTime | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 239 of file EcalClusterLazyTools.cc.
References BasicClusterSeedTime(), and reco::SuperCluster::seed().
float EcalClusterLazyToolsBase::SuperClusterTime | ( | const reco::SuperCluster & | cluster, |
const edm::Event & | ev | ||
) |
Definition at line 247 of file EcalClusterLazyTools.cc.
References BasicClusterTime(), and reco::SuperCluster::seed().
|
protected |
Definition at line 84 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 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 eseffsirir(), eseffsixix(), eseffsiyiy(), and getGeometry().
|
protected |
Definition at line 82 of file EcalClusterLazyTools.h.
Referenced by getIntercalibConstants().
|
protected |
Definition at line 83 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), getEcalIntercalibConstants(), and getIntercalibConstants().
|
protected |
Definition at line 85 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 getTopology().