#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, const edm::InputTag &redEBRecHits, const edm::InputTag &redEERecHits, const edm::ParameterSet &config) | |
EcalClusterLazyToolsBase (const edm::Event &ev, const edm::EventSetup &es, const edm::InputTag &redEBRecHits, const edm::InputTag &redEERecHits) | |
EcalClusterLazyToolsBase (const edm::Event &ev, const edm::EventSetup &es, const edm::InputTag &redEBRecHits, const edm::InputTag &redEERecHits, const edm::InputTag &redESRecHits) | |
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 edm::InputTag &redEBRecHits) |
const EcalRecHitCollection * | getEcalRecHitCollection (const reco::BasicCluster &cluster) |
void | getEERecHits (const edm::Event &ev, const edm::InputTag &redEERecHits) |
void | getESRecHits (const edm::Event &ev, const edm::InputTag &redESRecHits) |
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_ |
const EcalRecHitCollection * | eeRecHits_ |
const EcalRecHitCollection * | esRecHits_ |
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, | ||
const edm::InputTag & | redEBRecHits, | ||
const edm::InputTag & | redEERecHits, | ||
const edm::ParameterSet & | config | ||
) |
Definition at line 61 of file EcalClusterLazyTools.cc.
References getADCToGeV(), getEBRecHits(), getEERecHits(), getGeometry(), getIntercalibConstants(), getLaserDbService(), and getTopology().
EcalClusterLazyToolsBase::EcalClusterLazyToolsBase | ( | const edm::Event & | ev, |
const edm::EventSetup & | es, | ||
const edm::InputTag & | redEBRecHits, | ||
const edm::InputTag & | redEERecHits | ||
) |
Definition at line 26 of file EcalClusterLazyTools.cc.
References getADCToGeV(), getEBRecHits(), getEERecHits(), getGeometry(), getIntercalibConstants(), getLaserDbService(), and getTopology().
EcalClusterLazyToolsBase::EcalClusterLazyToolsBase | ( | const edm::Event & | ev, |
const edm::EventSetup & | es, | ||
const edm::InputTag & | redEBRecHits, | ||
const edm::InputTag & | redEERecHits, | ||
const edm::InputTag & | redESRecHits | ||
) |
Definition at line 76 of file EcalClusterLazyTools.cc.
References getADCToGeV(), getEBRecHits(), getEERecHits(), getESRecHits(), getGeometry(), getIntercalibConstants(), getLaserDbService(), and getTopology().
EcalClusterLazyToolsBase::~EcalClusterLazyToolsBase | ( | ) |
Definition at line 89 of file EcalClusterLazyTools.cc.
float EcalClusterLazyToolsBase::BasicClusterSeedTime | ( | const reco::BasicCluster & | cluster | ) |
Definition at line 195 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 212 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 294 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 311 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 326 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 162 of file EcalClusterLazyTools.cc.
References agc, and edm::EventSetup::get().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 113 of file EcalClusterLazyTools.cc.
References ebRecHits_, edm::Event::getByLabel(), and edm::Handle< T >::product().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 176 of file EcalClusterLazyTools.cc.
References ebRecHits_, EcalBarrel, EcalEndcap, eeRecHits_, edm::hlt::Exception, and first.
Referenced by BasicClusterSeedTime(), and BasicClusterTime().
|
protected |
Definition at line 122 of file EcalClusterLazyTools.cc.
References eeRecHits_, edm::Event::getByLabel(), 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 341 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 131 of file EcalClusterLazyTools.cc.
References esRecHits_, edm::Event::getByLabel(), edm::HandleBase::isValid(), edm::Handle< T >::product(), and rechits_map_.
Referenced by EcalClusterLazyToolsBase().
float EcalClusterLazyToolsBase::getESShape | ( | const std::vector< float > & | ESHits0 | ) |
Definition at line 455 of file EcalClusterLazyTools.cc.
References customizeTrackingMonitorSeedNumber::idx, and mathSSE::sqrt().
Referenced by eseffsirir(), eseffsixix(), and eseffsiyiy().
|
protected |
Definition at line 95 of file EcalClusterLazyTools.cc.
References geometry_, edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 153 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), ical, and icalMap.
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 170 of file EcalClusterLazyTools.cc.
References edm::EventSetup::get(), and laser.
Referenced by EcalClusterLazyToolsBase().
|
protected |
Definition at line 104 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 278 of file EcalClusterLazyTools.cc.
References BasicClusterSeedTime(), and reco::SuperCluster::seed().
float EcalClusterLazyToolsBase::SuperClusterTime | ( | const reco::SuperCluster & | cluster, |
const edm::Event & | ev | ||
) |
Definition at line 286 of file EcalClusterLazyTools.cc.
References BasicClusterTime(), and reco::SuperCluster::seed().
|
protected |
Definition at line 82 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and getADCToGeV().
|
protected |
Definition at line 75 of file EcalClusterLazyTools.h.
Referenced by getEBRecHits(), and getEcalRecHitCollection().
|
protected |
Definition at line 76 of file EcalClusterLazyTools.h.
Referenced by getEcalRecHitCollection(), and getEERecHits().
|
protected |
Definition at line 77 of file EcalClusterLazyTools.h.
Referenced by getESRecHits().
|
protected |
Definition at line 73 of file EcalClusterLazyTools.h.
Referenced by eseffsirir(), eseffsixix(), eseffsiyiy(), and getGeometry().
|
protected |
Definition at line 80 of file EcalClusterLazyTools.h.
Referenced by getIntercalibConstants().
|
protected |
Definition at line 81 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and getIntercalibConstants().
|
protected |
Definition at line 83 of file EcalClusterLazyTools.h.
Referenced by BasicClusterTime(), and getLaserDbService().
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().