|
| PATJetSlimmer (const edm::ParameterSet &iConfig) |
|
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
|
virtual | ~PATJetSlimmer () |
|
| EDProducer () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducer () |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription
const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
virtual | ~ProducerBase () |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
Matcher of reconstructed objects to L1 Muons.
- Author
- Giovanni Petrucciani
Definition at line 25 of file PATJetSlimmer.cc.
Implements edm::EDProducer.
Definition at line 54 of file PATJetSlimmer.cc.
References reco::CompositePtrCandidate::addDaughter(), pat::Jet::caloTowersFwdPtr_, edm::OwnVector< T, P >::clear(), reco::CompositePtrCandidate::clearDaughters(), reco::CompositePtrCandidate::daughterPtrVector(), edm::Event::getByToken(), i, metsig::jet, combine::key, dbtoconf::out, pat::Jet::pfCandidatesFwdPtr_, edm::Event::put(), edm::refToPtr(), pat::Jet::setAssociatedTracks(), reco::Jet::setNPasses(), pat::Jet::specificCalo_, pat::Jet::specificPF_, alcazmumu_cfi::src, pat::Jet::tagInfos_, and pat::Jet::tagInfosFwdPtr_.
63 auto_ptr<vector<pat::Jet> >
out(
new vector<pat::Jet>());
90 std::map<unsigned int,reco::CandidatePtr> ptrs;
91 for(
unsigned int i=0;
i<old.size();
i++)
96 for(std::map<unsigned int,reco::CandidatePtr>::iterator itp=ptrs.begin();itp!=ptrs.end();itp++)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
CaloTowerFwdPtrVector caloTowersFwdPtr_
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
StringCutObjectSelector< pat::Jet > dropTrackRefs_
TagInfoFwdPtrCollection tagInfosFwdPtr_
edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > pf2pc_
std::vector< PFSpecific > specificPF_
edm::OwnVector< reco::BaseTagInfo > tagInfos_
void setAssociatedTracks(const reco::TrackRefVector &tracks)
method to set the vector of refs to the tracks associated to this jet
std::vector< CaloSpecific > specificCalo_
edm::EDGetTokenT< edm::View< pat::Jet > > jets_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
StringCutObjectSelector< pat::Jet > dropSpecific_
StringCutObjectSelector< pat::Jet > dropJetVars_
std::vector< CandidatePtr > daughters
collection of references to daughters
StringCutObjectSelector< pat::Jet > dropTagInfos_
Analysis-level calorimeter jet class.
void clearDaughters()
clear daughter references
virtual void setNPasses(int fPasses)
Set number of passes taken by algorithm.
reco::PFCandidateFwdPtrVector pfCandidatesFwdPtr_
const daughters & daughterPtrVector() const
references to daughtes
void addDaughter(const CandidatePtr &)
add a daughter via a reference
StringCutObjectSelector< pat::Jet > dropDaughters_