67 jetModifier_ = std::make_unique<pat::ObjectModifier<pat::Jet>>(mod_config, consumesCollector());
69 produces<std::vector<pat::Jet> >();
94 auto out = std::make_unique<std::vector<pat::Jet>>();
95 out->reserve(src->size());
128 std::vector<reco::CandidatePtr> ptrs;
130 ptrs.push_back( (*pf2pcAny)[oldptr] );
137 std::map<unsigned int,reco::CandidatePtr> ptrs;
138 for(
unsigned int i=0;
i<old.size();
i++)
143 for(std::map<unsigned int,reco::CandidatePtr>::iterator itp=ptrs.begin();itp!=ptrs.end();itp++)
std::unique_ptr< pat::ObjectModifier< pat::Jet > > jetModifier_
T getParameter(std::string const &) const
const StringCutObjectSelector< pat::Jet > dropDaughters_
~PATJetSlimmer() override
CaloTowerFwdPtrVector caloTowersFwdPtr_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Ptr< typename C::value_type > refToPtr(Ref< C, typename C::value_type, refhelper::FindUsingAdvance< C, typename C::value_type > > const &ref)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
TagInfoFwdPtrCollection tagInfosFwdPtr_
edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > pf2pc_
const StringCutObjectSelector< pat::Jet > dropTrackRefs_
edm::EDGetTokenT< edm::ValueMap< reco::CandidatePtr > > pf2pcAny_
const bool mayNeedDaughterMap_
std::vector< PFSpecific > specificPF_
edm::OwnVector< reco::BaseTagInfo > tagInfos_
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) final
#define DEFINE_FWK_MODULE(type)
std::vector< CaloSpecific > specificCalo_
void clearDaughters() override
clear daughter references
const StringCutObjectSelector< pat::Jet > dropSpecific_
const StringCutObjectSelector< pat::Jet > dropTagInfos_
std::vector< std::string > tagInfoLabels_
std::vector< CandidatePtr > daughters
collection of references to daughters
const StringCutObjectSelector< pat::Jet > rekeyDaughters_
void setAssociatedTracks(const reco::TrackRefVector &tracks)
method to set the vector of refs to the tracks associated to this jet
Analysis-level calorimeter jet class.
const edm::EDGetTokenT< edm::View< pat::Jet > > jets_
PATJetSlimmer(const edm::ParameterSet &iConfig)
const StringCutObjectSelector< pat::Jet > dropJetVars_
virtual void setNPasses(int fPasses)
Set number of passes taken by algorithm.
reco::PFCandidateFwdPtrVector pfCandidatesFwdPtr_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
const bool mixedDaughters_
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
void addDaughter(const CandidatePtr &)
add a daughter via a reference
const reco::CompositePtrCandidate::daughters & daughterPtrVector() const override
references to daughtes
Matcher of reconstructed objects to L1 Muons.