112 auto out = std::make_unique<std::vector<pat::Electron>>();
113 out->reserve(
src->size());
121 std::vector<unsigned int>
keys;
132 electron.embeddedSuperCluster_ =
false;
138 electron.pflowSuperCluster_.clear();
139 electron.embeddedPflowSuperCluster_ =
false;
142 electron.pflowBasicClusters_.clear();
145 electron.preshowerClusters_.clear();
148 electron.pflowPreshowerClusters_.clear();
152 electron.embeddedSeedCluster_ =
false;
182 for (
auto const&
pf : (*reco2pf)[
electron.refToOrig_]) {
183 if (pf2pc->contains(
pf.id())) {
187 electron.setAssociatedPackedPFCandidates(
191 if (
keys.size() == 1) {
198 const auto& vCov = lazyToolsNoZS.localCovariances(*(
electron.superCluster()->seed()));
199 electron.full5x5_setSigmaIetaIphi(vCov[1]);
const edm::EDGetTokenT< EcalRecHitCollection > reducedEndcapRecHitCollectionToken_
const StringCutObjectSelector< pat::Electron > dropRecHits_
const StringCutObjectSelector< pat::Electron > dropIsolations_
const bool linkToPackedPF_
const edm::EDGetTokenT< edm::ValueMap< std::vector< reco::PFCandidateRef > > > reco2pf_
const StringCutObjectSelector< pat::Electron > dropSuperClusters_
const StringCutObjectSelector< pat::Electron > dropCorrections_
const edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > pf2pc_
const edm::EDGetTokenT< EcalRecHitCollection > reducedBarrelRecHitCollectionToken_
std::unique_ptr< pat::ObjectModifier< pat::Electron > > electronModifier_
const StringCutObjectSelector< pat::Electron > dropBasicClusters_
const EcalClusterLazyTools::ESGetTokens ecalClusterToolsESGetTokens_
const StringCutObjectSelector< pat::Electron > dropPreshowerClusters_
const StringCutObjectSelector< pat::Electron > dropClassifications_
const StringCutObjectSelector< pat::Electron > dropShapes_
const StringCutObjectSelector< pat::Electron > dropExtrapolations_
const StringCutObjectSelector< pat::Electron > saveNonZSClusterShapes_
key
prepare the HTCondor submission files and eventually submit them
const StringCutObjectSelector< pat::Electron > dropSeedCluster_
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
const StringCutObjectSelector< pat::Electron > dropPFlowClusters_
Analysis-level electron class.
const StringCutObjectSelector< pat::Electron > dropSaturation_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
const edm::EDGetTokenT< edm::View< pat::Electron > > src_
const edm::EDGetTokenT< pat::PackedCandidateCollection > pc_
const bool modifyElectron_
edm::SortedCollection< EcalRecHit > EcalRecHitCollection