#include <EcalClusterLazyTools.h>
Public Member Functions | |
float | BasicClusterSeedTime (const reco::BasicCluster &cluster) |
float | BasicClusterTime (const reco::BasicCluster &cluster, const edm::Event &ev) |
EcalClusterLazyToolsBase (const edm::Event &ev, const edm::EventSetup &es, edm::EDGetTokenT< EcalRecHitCollection > token1, edm::EDGetTokenT< EcalRecHitCollection > token2) | |
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 *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) |
~EcalClusterLazyToolsBase () | |
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 | ( | ) |
Definition at line 39 of file EcalClusterLazyTools.cc.
float EcalClusterLazyToolsBase::BasicClusterSeedTime | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 140 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 157 of file EcalClusterLazyTools.cc.
References ecalMGPA::adc(), agc, EcalBarrel, EcalEndcap, EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), edm::SortedCollection< T, SORT >::find(), first, getEcalRecHitCollection(), icalMap, laser, mathSSE::sqrt(), and edm::EventBase::time().
Referenced by SuperClusterTime().
float EcalClusterLazyToolsBase::eseffsirir | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 239 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().
float EcalClusterLazyToolsBase::eseffsixix | ( | const reco::SuperCluster & | cluster | ) |
Definition at line 256 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 271 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 107 of file EcalClusterLazyTools.cc.
References agc, and edm::EventSetup::get().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 54 of file EcalClusterLazyTools.cc.
References ebRecHits_, ebRHToken_, edm::Event::getByToken(), and edm::Handle< T >::product().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 121 of file EcalClusterLazyTools.cc.
References ebRecHits_, EcalBarrel, EcalEndcap, eeRecHits_, edm::hlt::Exception, and first.
Referenced by BasicClusterSeedTime(), and BasicClusterTime().
|
protected |
Definition at line 60 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 286 of file EcalClusterLazyTools.cc.
References DetId::Ecal, EcalPreshower, CaloGeometry::getSubdetectorGeometry(), i, j, GetRecoTauVFromDQM_MC_cff::next, and point.
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 66 of file EcalClusterLazyTools.cc.
References esRecHits_, esRHToken_, edm::Event::getByToken(), edm::HandleBase::isValid(), edm::Handle< T >::product(), and rechits_map_.
float EcalClusterLazyToolsBase::getESShape | ( | const std::vector< float > & | ESHits0 | ) |
Definition at line 400 of file EcalClusterLazyTools.cc.
References customizeTrackingMonitorSeedNumber::idx, and mathSSE::sqrt().
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 42 of file EcalClusterLazyTools.cc.
References geometry_, edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 98 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), ical, and icalMap.
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 115 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), and laser.
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 48 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 223 of file EcalClusterLazyTools.cc.
References BasicClusterSeedTime(), and reco::SuperCluster::seed().
float EcalClusterLazyToolsBase::SuperClusterTime | ( | const reco::SuperCluster & | cluster, |
const edm::Event & | ev | ||
) |
Definition at line 231 of file EcalClusterLazyTools.cc.
References BasicClusterTime(), and reco::SuperCluster::seed().
|
protected |
Definition at line 83 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and getADCToGeV().
|
protected |
Definition at line 74 of file EcalClusterLazyTools.h.
Referenced by getEBRecHits(), and getEcalRecHitCollection().
|
protected |
Definition at line 78 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsBase(), and getEBRecHits().
|
protected |
Definition at line 75 of file EcalClusterLazyTools.h.
Referenced by getEcalRecHitCollection(), and getEERecHits().
|
protected |
Definition at line 78 of file EcalClusterLazyTools.h.
Referenced by EcalClusterLazyToolsBase(), and getEERecHits().
|
protected |
Definition at line 76 of file EcalClusterLazyTools.h.
Referenced by getESRecHits().
|
protected |
Definition at line 78 of file EcalClusterLazyTools.h.
Referenced by getESRecHits().
|
protected |
Definition at line 72 of file EcalClusterLazyTools.h.
Referenced by eseffsirir(), eseffsixix(), eseffsiyiy(), and getGeometry().
|
protected |
Definition at line 81 of file EcalClusterLazyTools.h.
Referenced by getIntercalibConstants().
|
protected |
Definition at line 82 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and getIntercalibConstants().
|
protected |
Definition at line 84 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and getLaserDbService().
std::map<DetId, EcalRecHit> EcalClusterLazyToolsBase::rechits_map_ |
Definition at line 50 of file EcalClusterLazyTools.h.
Referenced by eseffsirir(), eseffsixix(), eseffsiyiy(), and getESRecHits().
|
protected |
Definition at line 73 of file EcalClusterLazyTools.h.
Referenced by getTopology().