13 #include <boost/foreach.hpp> 27 output <<
" ------------------------------------" << std::endl;
28 output << tau << std::endl;
31 output <<
" TTInfoJetRefID: " 37 output <<
" JetRefID: " 40 output <<
" JetRef: " << *(tau.
jetRef());
47 output <<
" ------------------------------------" << std::endl;
48 output << jet << std::endl;
50 output <<
" --> " << *cand << std::endl;
56 output <<
" ------------------------------------" << std::endl;
58 " candidate (pt/eta/phi): (" << cand.
pt() <<
"/" 60 << cand.
phi() <<
")" << std::endl;
70 src_(pset.getParameter<
edm::InputTag>(
"src")),
79 template<
typename T>
void 87 <<
"> Dump - source: [" <<
src_ <<
"]" << std::endl;
89 BOOST_FOREACH(
const T&
obj, *view) {
bool isNonnull() const
Checks for non-null.
const PFJetRef & jetRef() const
virtual void analyze(const edm::Event &evt, const edm::EventSetup &es) override
CollectionDumper(const edm::ParameterSet &pset)
#define DEFINE_FWK_MODULE(type)
CollectionDumper< reco::Candidate > CandidateDumper
key_type key() const
Accessor for product key.
Jets made from PFObjects.
ProductID id() const
Accessor for product ID.
void dump(std::ostream &out=std::cout) const
prints information on this PFTau
CollectionDumper< reco::PFTau > RecoTauDumper
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const PFTauTagInfoRef & pfTauTagInfoRef() const
CollectionDumper< reco::PFJet > PFJetDumper
virtual double eta() const =0
momentum pseudorapidity
virtual double pt() const =0
transverse momentum
virtual std::vector< reco::PFCandidatePtr > getPFConstituents() const
get all constituents
virtual ~CollectionDumper()
virtual double phi() const =0
momentum azimuthal angle