#include <RealisticSimClusterMapper.h>
Public Member Functions | |
void | buildClusters (const edm::Handle< reco::PFRecHitCollection > &, const std::vector< bool > &, const std::vector< bool > &, reco::PFClusterCollection &) override |
RealisticSimClusterMapper & | operator= (const RealisticSimClusterMapper &)=delete |
RealisticSimClusterMapper (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes) | |
RealisticSimClusterMapper (const RealisticSimClusterMapper &)=delete | |
void | update (const edm::EventSetup &) final |
void | updateEvent (const edm::Event &) final |
~RealisticSimClusterMapper () override | |
Public Member Functions inherited from InitialClusteringStepBase | |
InitialClusteringStepBase (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes) | |
InitialClusteringStepBase (const ICSB &)=delete | |
std::ostream & | operator<< (std::ostream &o) const |
ICSB & | operator= (const ICSB &)=delete |
void | reset () |
virtual | ~InitialClusteringStepBase ()=default |
Private Attributes | |
const float | calibMaxEta_ = 3.0 |
const float | calibMinEta_ = 1.4 |
std::vector< double > | egammaCalib_ |
const float | exclusiveFraction_ = 0.7f |
std::vector< double > | hadronCalib_ |
const float | invisibleFraction_ = 0.3f |
const float | maxDforTimingSquared_ = 4.0f |
const float | maxDistance_ = 10.f |
const bool | maxDistanceFilter_ = false |
const unsigned int | minNHitsforTiming_ = 3 |
hgcal::RecHitTools | rhtools_ |
edm::Handle< SimClusterCollection > | simClusterH_ |
edm::EDGetTokenT< SimClusterCollection > | simClusterToken_ |
const float | timeOffset_ |
const bool | useMCFractionsForExclEnergy_ = false |
Additional Inherited Members | |
Protected Types inherited from InitialClusteringStepBase | |
typedef std::tuple< std::vector< int >, std::vector< double >, std::vector< double > > | I3tuple |
Protected Member Functions inherited from InitialClusteringStepBase | |
reco::PFRecHitRef | makeRefhit (const edm::Handle< reco::PFRecHitCollection > &h, const unsigned i) const |
Protected Attributes inherited from InitialClusteringStepBase | |
const std::unordered_map< std::string, int > | _layerMap |
unsigned | _nClustersFound |
unsigned | _nSeeds |
std::unordered_map< int, I3tuple > | _thresholds |
Definition at line 14 of file RealisticSimClusterMapper.h.
|
inline |
Definition at line 16 of file RealisticSimClusterMapper.h.
References edm::ConsumesCollector::consumes(), egammaCalib_, edm::ParameterSet::getParameter(), hadronCalib_, and simClusterToken_.
Referenced by ~RealisticSimClusterMapper().
|
inlineoverride |
Definition at line 33 of file RealisticSimClusterMapper.h.
References buildClusters(), operator=(), RealisticSimClusterMapper(), update(), and updateEvent().
|
delete |
|
overridevirtual |
Implements InitialClusteringStepBase.
Definition at line 48 of file RealisticSimClusterMapper.cc.
References funct::abs(), reco::PFCluster::addRecHitFraction(), calibMaxEta_, calibMinEta_, RealisticHitToClusterAssociator::computeAssociation(), egammaCalib_, relativeConstraints::empty, PVValHelper::eta, exclusiveFraction_, f, RealisticHitToClusterAssociator::filterHitsByDistance(), RealisticHitToClusterAssociator::findAndMergeInvisibleClusters(), RealisticHitToClusterAssociator::findCentersOfGravity(), hgcalsimclustertime::fixSizeHighestDensity(), DetId::Forward, ForwardEmpty, HLT_2018_cff::fraction, spr::getEnergy(), hgcal::RecHitTools::getGeometryType(), hgcal::RecHitTools::getLayer(), hgcal::RecHitTools::getLayerWithOffset(), hgcal::RecHitTools::getPosition(), hadronCalib_, hfClusterShapes_cfi::hits, SimCluster::hits_and_fractions(), reco::CaloCluster::hitsAndFractions(), mps_fire::i, RealisticHitToClusterAssociator::init(), input, RealisticHitToClusterAssociator::insertHitEnergy(), RealisticHitToClusterAssociator::insertHitPosition(), RealisticHitToClusterAssociator::insertLayerId(), RealisticHitToClusterAssociator::insertSimClusterIdAndFraction(), invisibleFraction_, hgcal::RecHitTools::lastLayerEE(), hgcal::RecHitTools::lastLayerFH(), InitialClusteringStepBase::makeRefhit(), maxDforTimingSquared_, maxDistance_, maxDistanceFilter_, minNHitsforTiming_, heavyionUCCDQM_cfi::nClusters, numberOfLayers(), or, EgammaValidation_cff::pdgId, funct::pow(), RealisticHitToClusterAssociator::realisticClusters(), rhtools_, SimDataFormats::CaloAnalysis::sc, SurveyInfoScenario_cff::seed, reco::CaloCluster::setCorrectedEnergy(), reco::CaloCluster::setEnergy(), reco::CaloCluster::setSeed(), reco::PFCluster::setTime(), simClusterH_, timeOffset_, and useMCFractionsForExclEnergy_.
Referenced by ~RealisticSimClusterMapper().
|
delete |
Referenced by ~RealisticSimClusterMapper().
|
finalvirtual |
Reimplemented from InitialClusteringStepBase.
Definition at line 46 of file RealisticSimClusterMapper.cc.
References hgcal::RecHitTools::getEventSetup(), and rhtools_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), Vispa.Gui.PortConnection.PointToPointConnection::updateConnection(), and ~RealisticSimClusterMapper().
|
finalvirtual |
Reimplemented from InitialClusteringStepBase.
Definition at line 44 of file RealisticSimClusterMapper.cc.
References edm::Event::getByToken(), simClusterH_, and simClusterToken_.
Referenced by ~RealisticSimClusterMapper().
|
private |
Definition at line 56 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().
|
private |
Definition at line 55 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().
|
private |
Definition at line 58 of file RealisticSimClusterMapper.h.
Referenced by buildClusters(), and RealisticSimClusterMapper().
|
private |
Definition at line 48 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().
|
private |
Definition at line 57 of file RealisticSimClusterMapper.h.
Referenced by buildClusters(), and RealisticSimClusterMapper().
|
private |
Definition at line 47 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().
|
private |
Definition at line 51 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().
|
private |
Definition at line 50 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().
|
private |
Definition at line 49 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().
|
private |
Definition at line 53 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().
|
private |
Definition at line 46 of file RealisticSimClusterMapper.h.
Referenced by buildClusters(), and update().
|
private |
Definition at line 61 of file RealisticSimClusterMapper.h.
Referenced by buildClusters(), and updateEvent().
|
private |
Definition at line 60 of file RealisticSimClusterMapper.h.
Referenced by RealisticSimClusterMapper(), and updateEvent().
|
private |
Definition at line 52 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().
|
private |
Definition at line 54 of file RealisticSimClusterMapper.h.
Referenced by buildClusters().