#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 28 of file InitialClusteringStepBase.h.
References PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, PFLayer::HF_EM, PFLayer::HF_HAD, PFLayer::HGCAL, PFLayer::NONE, PFLayer::PS1, and PFLayer::PS2.
const std::unordered_map< std::string, int > _layerMap
virtual InitialClusteringStepBase::~InitialClusteringStepBase |
( |
| ) |
|
|
virtualdefault |
InitialClusteringStepBase::InitialClusteringStepBase |
( |
const ICSB & |
| ) |
|
|
delete |
InitialClusteringStepBase::_algoName |
( |
conf.getParameter< std::string > |
"algoName" | ) |
|
|
inline |
Definition at line 43 of file InitialClusteringStepBase.h.
References _layerMap, _thresholds, mps_splice::entry, Exception, edm::ParameterSet::getParameterSetVector(), mps_fire::i, TrackValidation_cff::pset, AlCaHLTBitMon_QueryRunRegistry::string, and lowPtGsfElectronSeeds_cfi::thresholds().
44 const std::vector<edm::ParameterSet>&
thresholds = conf.getParameterSetVector(
"thresholdsByDetector");
45 for (
const auto&
pset : thresholds) {
48 std::vector<int> depths;
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!";
const std::unordered_map< std::string, int > _layerMap
std::unordered_map< int, I3tuple > _thresholds
std::ostream& InitialClusteringStepBase::operator<< |
( |
std::ostream & |
o | ) |
const |
|
inline |
ICSB& InitialClusteringStepBase::operator= |
( |
const ICSB & |
| ) |
|
|
delete |
void InitialClusteringStepBase::reset |
( |
void |
| ) |
|
|
inline |
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 |