test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
Basic2DGenericPFlowClusterizer.cc File Reference
#include "Basic2DGenericPFlowClusterizer.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHit.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "Math/GenVector/VectorUtil.h"
#include "vdt/vdtMath.h"
#include <iterator>

Go to the source code of this file.

Macros

#define LOGDRESSED(x)   LogDebug(x)
 
#define LOGERR(x)   edm::LogError(x)
 
#define LOGVERB(x)   LogTrace(x)
 
#define LOGWARN(x)   edm::LogWarning(x)
 

Functions

 for (const auto &pset:thresholds)
 
 if (conf.exists("allCellsPositionCalc"))
 
 if (conf.exists("positionCalcForConvergence"))
 
_allCellsPosCalc reset (NULL)
 

Macro Definition Documentation

#define LOGDRESSED (   x)    LogDebug(x)
#define LOGERR (   x)    edm::LogError(x)

Definition at line 20 of file Basic2DGenericPFlowClusterizer.cc.

#define LOGVERB (   x)    LogTrace(x)

Definition at line 18 of file Basic2DGenericPFlowClusterizer.cc.

#define LOGWARN (   x)    edm::LogWarning(x)

Definition at line 19 of file Basic2DGenericPFlowClusterizer.cc.

Function Documentation

for ( const auto &pset:thresholds  )

Definition at line 45 of file Basic2DGenericPFlowClusterizer.cc.

References Basic2DGenericPFlowClusterizer::_layerMap, Basic2DGenericPFlowClusterizer::_recHitEnergyNorms, edm::hlt::Exception, and AlCaHLTBitMon_QueryRunRegistry::string.

45  : thresholds ) {
46  const std::string& det = pset.getParameter<std::string>("detector");
47  const double& rhE_norm = pset.getParameter<double>("recHitEnergyNorm");
48  auto entry = _layerMap.find(det);
49  if( entry == _layerMap.end() ) {
50  throw cms::Exception("InvalidDetectorLayer")
51  << "Detector layer : " << det << " is not in the list of recognized"
52  << " detector layers!";
53  }
54  _recHitEnergyNorms.emplace(_layerMap.find(det)->second,rhE_norm);
55  }
dictionary thresholds
Definition: fff_deleter.py:273
if ( conf.  exists"allCellsPositionCalc")

Definition at line 58 of file Basic2DGenericPFlowClusterizer.cc.

References Basic2DGenericPFlowClusterizer::_allCellsPosCalc, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by Mixins._TypedParameterizable::__findDefaultsFor(), cfg-viewer.unscheduled::_createObjects(), cfg-viewer.visitor::_doModules(), cfg-viewer.unscheduled::_doNonSequenceType(), cfg-viewer.unscheduled::_doSequenceTypes(), cfg-viewer.unscheduled::_filenames(), cfg-viewer.unscheduled::_getData(), cfg-viewer.unscheduled::_mothersDaughters(), cfg-viewer.unscheduled::_proceed(), cfg-viewer.unscheduled::_producersConsumers(), cfg-viewer.unscheduled::_writeDictParent(), RPCLinkSynchroStat::add(), PedsFullNoiseAlgorithm::analyse(), CosmicMuonTrajectoryBuilder::build(), run_regression::CheckPath(), cfg-viewer::computeConfigs(), CaloTowersCreationAlgo::convert(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), python.cmstools::createBranchBuffer(), validateAlignments::createMergeScript(), validateAlignments::createParallelMergeScript(), iovInspector.WhatDescription::describe(), FWEveDigitSetScalableMarkerGL::DirectDraw(), MEtoEDMConverter::endJob(), cfg-viewer.visitor::enter(), valtools.benchmark::exists(), reference_db::ExtractID(), MonitorElement::Fill(), NtupleManager::FillFitParameters(), HcalSummaryClient::fillReportSummaryLSbyLS(), DTTimingExtractor::fillTiming(), TrackingQualityChecker::fillTrackingStatus(), LogErrorEventFilter::filter(), ElectronMCTruthFinder::find(), PhotonMCTruthFinder::find(), sistrip::SpyUtilities::findAPVErrorBits(), ContainmentCorrectionAnalyzer::findMcTruth(), genlkupmap(), PhysicsTools::SourceVariableSet::get(), HistoManager::getDetIdsForType(), getDQMSummary::getDQMDetSummaryResult(), getDQMSummary::getDQMSegSummaryResult(), SiPixelCPEGenericDBErrorParametrization::getError(), DTKeyedConfigHandler::getNewObjects(), cfg-viewer::getParameters(), CSCOfflineMonitor::getSignal(), CSCValidation::getSignal(), CSCValidation::getthisSignal(), CSCValidation::getWidth(), FWGUIEventFilter::HandleKey(), webApp.Server::index(), MSLayersKeeperX0DetLayer::init(), HiHelperTools::jetCollectionString(), helpers::jetCollectionString(), cfg-viewer.visitor::leave(), cfg-viewer::listBase(), LumiScalers::LumiScalers(), LzmaDec_DecodeToDic(), checkRuns::main(), checkPayloads::main(), MultipleCompare::main(), BeamSpotWorkflow::main(), cfg-viewer::main(), valtools.benchmark::makeRelease(), DQMNet::onMessage(), hitfit::operator<<(), AlCaHLTBitMon_QueryRunRegistry::printLumi(), HcalDigiMonitor::process_Digi(), DDLSpecPar::processElement(), L1ExtraMEtMixerPlugin::produce(), valtools.webpage::readCaption(), lumiQueryAPI::recordedLumiForRange(), web_results_display.WebResultsDisplay::releasesHeaders(), DiscoverProcessedRuns.DiscoverProcessedRuns::runsList(), webApp.Server::ShowTable(), valtools.comparison::submit(), pfTools::switchToPFMET(), HiCoreTools.RestrictInputToAOD::toolCode(), HiCoreTools.RemoveMCMatching::toolCode(), coreTools.RemoveMCMatching::toolCode(), trackTools.MakePATTrackCandidates::toolCode(), HiCoreTools.RemoveSpecificPATObjects::toolCode(), lumiReport::toScreenOverview(), lumiReport::toScreenTotDelivered(), CaloTowerConstituentsMap::towerOf(), CosmicMuonTrajectoryBuilder::trajectories(), ZeroSuppressFP420::trkFEDclusterizer(), reco::KalmanGhostTrackUpdater::update(), CountProcessesAction::update(), myPythia6ServiceWithCallback::upEvnt(), generateWrappers::walkPlugins(), and valtools.website::writeAccess().

58  {
59  const edm::ParameterSet& acConf =
60  conf.getParameterSet("allCellsPositionCalc");
61  const std::string& algoac =
62  acConf.getParameter<std::string>("algoName");
63  PosCalc* accalc =
64  PFCPositionCalculatorFactory::get()->create(algoac, acConf);
65  _allCellsPosCalc.reset(accalc);
66  }
T getParameter(std::string const &) const
tuple conf
Definition: dbtoconf.py:185
T get(const Candidate &c)
Definition: component.h:55
if ( conf.  exists"positionCalcForConvergence")

Definition at line 69 of file Basic2DGenericPFlowClusterizer.cc.

References Basic2DGenericPFlowClusterizer::_convergencePosCalc, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), and AlCaHLTBitMon_QueryRunRegistry::string.

69  {
70  const edm::ParameterSet& convConf =
71  conf.getParameterSet("positionCalcForConvergence");
72  const std::string& algoconv =
73  convConf.getParameter<std::string>("algoName");
74  PosCalc* convcalc =
75  PFCPositionCalculatorFactory::get()->create(algoconv, convConf);
76  _convergencePosCalc.reset(convcalc);
77  }
T getParameter(std::string const &) const
tuple conf
Definition: dbtoconf.py:185
T get(const Candidate &c)
Definition: component.h:55
_timeResolutionCalcEndcap reset ( NULL  )