Go to the source code of this file.
◆ invalidateTree()
Definition at line 130 of file InputGenJetsParticleSelector.cc.
References reco::Candidate::daughter(), mps_fire::i, heavyIonCSV_trainingSettings::idx, npart, reco::Candidate::numberOfDaughters(), AlCaHLTBitMon_ParallelJobs::p, and partIdx().
Referenced by InputGenJetsParticleSelector::produce().
137 for (
unsigned int i = 0;
i <
npart; ++
i) {
static unsigned int partIdx(const InputGenJetsParticleSelector::ParticleVector &p, const reco::Candidate *particle)
virtual const Candidate * daughter(size_type i) const =0
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) ...
virtual size_type numberOfDaughters() const =0
number of daughters
static void invalidateTree(InputGenJetsParticleSelector::ParticleBitmap &invalid, const InputGenJetsParticleSelector::ParticleVector &p, const reco::Candidate *particle)
◆ partIdx()
Definition at line 120 of file InputGenJetsParticleSelector.cc.
References pfDeepBoostedJetPreprocessParams_cfi::lower_bound, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by InputGenJetsParticleSelector::fromResonance(), ME0ReDigiProducer::TemporaryGeometry::getCentralTOF(), ME0ReDigiProducer::getCustomStripProperties(), ME0ReDigiProducer::TemporaryGeometry::getPartCenter(), ME0ReDigiProducer::TemporaryGeometry::getTopo(), invalidateTree(), edm::CloseByParticleGunProducer::produce(), and InputGenJetsParticleSelector::testPartonChildren().
121 InputGenJetsParticleSelector::ParticleVector::const_iterator
pos =
std::lower_bound(
p.begin(),
p.end(), particle);
122 if (
pos ==
p.end() || *
pos != particle)
123 throw cms::Exception(
"CorruptedData") <<
"reco::GenEvent corrupted: Unlisted particles" 127 return pos -
p.begin();
◆ s_filler_0__LINE__()
◆ s_maker__LINE__()