Description: EDProducer of ElectronSeed objects
Implementation: <Notes on="" implementation>="">
Definition at line 33 of file ElectronSeedProducer.cc.
Definition at line 162 of file ElectronSeedProducer.cc.
167 auto const& scl = (*superClusters)[
i];
168 double sclEta =
EleRelPoint(scl.position(), beamSpotPosition).
eta();
169 if (scl.energy() / cosh(sclEta) >
SCEtCut_) {
171 bool hoeVeto =
false;
173 double scle = scl.energy();
174 int det_group = scl.seed()->hitsAndFractions()[0].first.det();
175 int detector = scl.seed()->hitsAndFractions()[0].first.subdetId();
181 float had_fraction =
hgcClusterTools_->getClusterHadronFraction(*(scl.seed()));
192 LogDebug(
"ElectronSeedProducer") <<
"Filtered out " << sclRefs.
size() <<
" superclusters from "
References allowHGCal_, applyHOverECut_, hgcalTestNeighbor_cfi::detector, EcalBarrel, EcalEndcap, PVValHelper::eta, hcalHelper_, hgcClusterTools_, mps_fire::i, EcalTools::isHGCalDet(), LogDebug, maxHOverEBarrel_, maxHOverEEndcaps_, edm::RefVector< C, T, F >::push_back(), SCEtCut_, edm::RefVector< C, T, F >::size(), and HLT_2018_cff::superClusters.
Referenced by produce().
Definition at line 112 of file ElectronSeedProducer.cc.
113 LogDebug(
"ElectronSeedProducer") <<
"[ElectronSeedProducer::produce] entering ";
115 std::vector<TrajectorySeedCollection const*> initialSeedCollections;
116 std::unique_ptr<TrajectorySeedCollection> initialSeedCollectionPtr =
nullptr;
130 initialSeedCollections.clear();
132 initialSeedCollections.push_back(&
e.get(
seeds));
135 auto seeds = std::make_unique<ElectronSeedCollection>();
136 auto const& beamSportPosition =
e.get(
beamSpotTag_).position();
139 for (
unsigned int i = 0;
i < 2;
i++) {
141 matcher_->run(
e, iSetup, clusterRefs, initialSeedCollections, *
seeds);
148 LogDebug(
"ElectronSeedProducer") <<
"new seed with " <<
seed.nHits() <<
" hits"
149 <<
", charge " <<
seed.getCharge() <<
" and cluster energy "
150 << superCluster->energy() <<
" PID " << superCluster.
id();
References allowHGCal_, beamSpotTag_, MillePedeFileConverter_cfg::e, filterClusters(), hcalHelper_, hgcClusterTools_, mps_fire::i, edm::Ref< C, T, F >::id(), initialSeeds_, LogDebug, matcher_, eostools::move(), SurveyInfoScenario_cff::seed, InitialStep_cff::seeds, and superClusters_.