#include <BaselinePFSCRegression.h>
Public Member Functions | |
BaselinePFSCRegression () | |
void | set (const reco::SuperCluster &, std::vector< float > &) const |
void | setEvent (const edm::Event &) |
void | setTokens (const edm::ParameterSet &, edm::ConsumesCollector &&) |
void | update (const edm::EventSetup &) |
Private Attributes | |
edm::ESHandle< CaloGeometry > | calogeom |
edm::ESHandle< CaloTopology > | calotopo |
const CaloGeometryRecord * | geom_record |
edm::EDGetTokenT < EcalRecHitCollection > | inputTagEBRecHits_ |
edm::EDGetTokenT < EcalRecHitCollection > | inputTagEERecHits_ |
edm::EDGetTokenT < reco::VertexCollection > | inputTagVertices_ |
EcalRecHitCollection const * | rechitsEB = nullptr |
EcalRecHitCollection const * | rechitsEE = nullptr |
const CaloTopologyRecord * | topo_record |
reco::VertexCollection const * | vertices = nullptr |
Definition at line 27 of file BaselinePFSCRegression.h.
|
inline |
Definition at line 29 of file BaselinePFSCRegression.h.
void BaselinePFSCRegression::set | ( | const reco::SuperCluster & | sc, |
std::vector< float > & | vars | ||
) | const |
Definition at line 22 of file BaselinePFSCRegression.cc.
References calogeom, calotopo, EcalBarrel, EcalEndcap, Exception, EcalRegressionData::fill(), EcalRegressionData::fillVec(), edm::ESHandle< class >::product(), rechitsEB, rechitsEE, reco::SuperCluster::seed(), and vertices.
void BaselinePFSCRegression::setEvent | ( | const edm::Event & | ev | ) |
Definition at line 41 of file BaselinePFSCRegression.cc.
References edm::Event::get(), inputTagEBRecHits_, inputTagEERecHits_, inputTagVertices_, rechitsEB, rechitsEE, and vertices.
void BaselinePFSCRegression::setTokens | ( | const edm::ParameterSet & | ps, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 35 of file BaselinePFSCRegression.cc.
References edm::ParameterSet::getParameter(), inputTagEBRecHits_, inputTagEERecHits_, and inputTagVertices_.
void BaselinePFSCRegression::update | ( | const edm::EventSetup & | es | ) |
Definition at line 9 of file BaselinePFSCRegression.cc.
References edm::eventsetup::EventSetupRecord::cacheIdentifier(), calogeom, calotopo, geom_record, edm::EventSetup::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), and topo_record.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 39 of file BaselinePFSCRegression.h.
|
private |
Definition at line 38 of file BaselinePFSCRegression.h.
|
private |
Definition at line 37 of file BaselinePFSCRegression.h.
Referenced by update().
|
private |
Definition at line 40 of file BaselinePFSCRegression.h.
Referenced by setEvent(), and setTokens().
|
private |
Definition at line 41 of file BaselinePFSCRegression.h.
Referenced by setEvent(), and setTokens().
|
private |
Definition at line 42 of file BaselinePFSCRegression.h.
Referenced by setEvent(), and setTokens().
|
private |
Definition at line 44 of file BaselinePFSCRegression.h.
Referenced by set(), and setEvent().
|
private |
Definition at line 45 of file BaselinePFSCRegression.h.
Referenced by set(), and setEvent().
|
private |
Definition at line 36 of file BaselinePFSCRegression.h.
Referenced by update().
|
private |
Definition at line 43 of file BaselinePFSCRegression.h.
Referenced by set(), and setEvent().