#include <InitialClusteringStepBase.h>
|
typedef std::tuple< std::vector< int >,std::vector< double >, std::vector< double > > | I3tuple |
|
Definition at line 24 of file InitialClusteringStepBase.h.
Definition at line 27 of file InitialClusteringStepBase.h.
References particleFlowClusterHBHE_cfi::depths, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, mps_splice::entry, Exception, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, PFLayer::HF_EM, PFLayer::HF_HAD, PFLayer::HGCAL, mps_fire::i, createfilelist::int, PFLayer::NONE, PFLayer::PS1, PFLayer::PS2, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, and particleFlowZeroSuppressionECAL_cff::thresholds.
43 const std::vector<edm::ParameterSet>&
thresholds =
45 for(
const auto&
pset : thresholds ) {
49 std::vector<double> thresh_E;
50 std::vector<double> thresh_pT ;
51 std::vector<double> thresh_pT2;
54 depths =
pset.getParameter<std::vector<int> >(
"depths");
55 thresh_E =
pset.getParameter<std::vector<double> >(
"gatheringThreshold");
56 thresh_pT =
pset.getParameter<std::vector<double> >(
"gatheringThresholdPt");
57 if(thresh_E.size()!=depths.size() || thresh_pT.size()!=depths.size()) {
59 <<
"gatheringThresholds mismatch with the numbers of depths";
63 thresh_E.push_back(
pset.getParameter<
double>(
"gatheringThreshold"));
64 thresh_pT.push_back(
pset.getParameter<
double>(
"gatheringThresholdPt"));
67 for(
unsigned int i=0;
i < thresh_pT.size();++
i){
68 thresh_pT2.push_back(thresh_pT[
i]*thresh_pT[
i]);
74 <<
"Detector layer : " << det <<
" is not in the list of recognized" 75 <<
" detector layers!";
78 std::make_tuple(depths,thresh_E,thresh_pT2));
T getParameter(std::string const &) const
VParameterSet const & getParameterSetVector(std::string const &name) const
std::unordered_map< int, I3tuple > _thresholds
const std::unordered_map< std::string, int > _layerMap
const std::string _algoName
virtual InitialClusteringStepBase::~InitialClusteringStepBase |
( |
| ) |
|
|
virtualdefault |
InitialClusteringStepBase::InitialClusteringStepBase |
( |
const ICSB & |
| ) |
|
|
delete |
std::ostream& InitialClusteringStepBase::operator<< |
( |
std::ostream & |
o | ) |
const |
|
inline |
ICSB& InitialClusteringStepBase::operator= |
( |
const ICSB & |
| ) |
|
|
delete |
void InitialClusteringStepBase::reset |
( |
void |
| ) |
|
|
inline |
Reimplemented in RealisticSimClusterMapper.
Definition at line 86 of file InitialClusteringStepBase.h.
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(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
virtual void InitialClusteringStepBase::updateEvent |
( |
const edm::Event & |
| ) |
|
|
inlinevirtual |
const std::string InitialClusteringStepBase::_algoName |
|
private |
const std::unordered_map<std::string,int> InitialClusteringStepBase::_layerMap |
|
protected |
unsigned InitialClusteringStepBase::_nClustersFound |
|
protected |
unsigned InitialClusteringStepBase::_nSeeds |
|
protected |
std::unordered_map<int,I3tuple > InitialClusteringStepBase::_thresholds |
|
protected |