58 produces<std::vector<pat::Tau> >();
77 auto out = std::make_unique<std::vector<pat::Tau>>();
78 out->reserve(src->size());
94 reco::CandidatePtrVector signalChHPtrs, signalNHPtrs, signalGammaPtrs, isolationChHPtrs, isolationNHPtrs, isolationGammaPtrs;
128 tau.
pfSpecific_[0].signalPiZeroCandidates_.clear();
129 tau.
pfSpecific_[0].isolationPiZeroCandidates_.clear();
132 tau.
pfSpecific_[0].signalTauChargedHadronCandidates_.clear();
133 tau.
pfSpecific_[0].isolationTauChargedHadronCandidates_.clear();
T getParameter(std::string const &) const
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
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
#define DEFINE_FWK_MODULE(type)
void push_back(Ptr< T > const &iPtr)
const std::vector< reco::PFCandidatePtr > & isolationPFChargedHadrCands() const
std::vector< pat::PackedCandidate > PackedCandidateCollection
~PATTauSlimmer() override
const edm::EDGetTokenT< edm::View< pat::Tau > > src_
const bool dropPFSpecific_
const bool dropPiZeroRefs_
void setIsolationGammaCands(const reco::CandidatePtrVector &ptrs)
void beginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) final
void setIsolationNeutralHadrCands(const reco::CandidatePtrVector &ptrs)
void setIsolationChargedHadrCands(const reco::CandidatePtrVector &ptrs)
PATTauSlimmer(const edm::ParameterSet &iConfig)
void setSignalChargedHadrCands(const reco::CandidatePtrVector &ptrs)
setters for the PtrVectors (for miniAOD)
Analysis-level tau class.
IsoDepositPairs isoDeposits_
const std::vector< reco::PFCandidatePtr > & signalPFChargedHadrCands() const
void setSignalGammaCands(const reco::CandidatePtrVector &ptrs)
const std::vector< reco::PFCandidatePtr > & signalPFNeutrHadrCands() const
const std::vector< reco::PFCandidatePtr > & isolationPFGammaCands() const
const edm::EDGetTokenT< edm::Association< pat::PackedCandidateCollection > > pf2pc_
std::vector< float > isolations_
const bool dropTauChargedHadronRefs_
const bool linkToPackedPF_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
const std::vector< reco::PFCandidatePtr > & signalPFGammaCands() const
std::vector< pat::tau::TauPFSpecific > pfSpecific_
holder for PFTau info, or empty vector if CaloTau
const std::vector< reco::PFCandidatePtr > & isolationPFNeutrHadrCands() const
void setSignalNeutralHadrCands(const reco::CandidatePtrVector &ptrs)
std::unique_ptr< pat::ObjectModifier< pat::Tau > > tauModifier_