- Author
- Nancy Marinelli, U. of Notre Dame, US
Definition at line 23 of file GEDPhotonCoreProducer.h.
Definition at line 52 of file GEDPhotonCoreProducer.cc.
57 auto outputPhotonCoreCollection_p = std::make_unique<reco::PhotonCoreCollection>();
62 if (!pfCandidateHandle.
isValid()) {
63 edm::LogError(
"GEDPhotonCoreProducer") <<
"Error! Can't get the pfEgammaCandidates";
71 if (!pixelSeedHandle.
isValid()) {
78 for (
unsigned int lCand = 0; lCand < pfCandidateHandle->size(); lCand++) {
100 for (
unsigned int lConv = 0; lConv < doubleLegConv.
size(); lConv++) {
104 for (
unsigned int lConv = 0; lConv < singleLegConv.
size(); lConv++) {
113 for (
unsigned int icp = 0; icp < pixelSeedHandle->size(); icp++) {
115 if (boxSC.
isNonnull() && boxSC.
id() == cpRef->caloCluster().
id() && boxSC.
key() == cpRef->caloCluster().key()) {
121 outputPhotonCoreCollection.push_back(newCandidate);
126 outputPhotonCoreCollection_p->assign(outputPhotonCoreCollection.begin(), outputPhotonCoreCollection.end());
References reco::PhotonCore::addConversion(), reco::PhotonCore::addElectronPixelSeed(), reco::PhotonCore::addOneLegConversion(), GEDPhotonCoreCollection_, edm::Event::getByToken(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), edm::Ref< C, T, F >::key(), eostools::move(), pfEgammaCandidates_, pixelSeedProducer_, edm::Event::put(), edm::refToPtr(), reco::PhotonCore::setParentSuperCluster(), reco::PhotonCore::setPFlowPhoton(), reco::PhotonCore::setStandardPhoton(), reco::PhotonCore::setSuperCluster(), edm::RefVector< C, T, F >::size(), and validPixelSeeds_.