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
86 output <<
" * * * <" << moduleName_
87 <<
"> Dump - source: [" << src_ <<
"]" << std::endl;
89 BOOST_FOREACH(
const T&
obj, *view) {
const PFJetRef & jetRef() const
virtual void analyze(const edm::Event &evt, const edm::EventSetup &es) override
CollectionDumper(const edm::ParameterSet &pset)
virtual float eta() const =0
momentum pseudorapidity
#define DEFINE_FWK_MODULE(type)
virtual float phi() const =0
momentum azimuthal angle
CollectionDumper< reco::Candidate > CandidateDumper
Jets made from PFObjects.
bool isNonnull() const
Checks for non-null.
void dump(std::ostream &out=std::cout) const
prints information on this PFTau
virtual float pt() const =0
transverse momentum
CollectionDumper< reco::PFTau > RecoTauDumper
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const PFTauTagInfoRef & pfTauTagInfoRef() const
CollectionDumper< reco::PFJet > PFJetDumper
key_type key() const
Accessor for product key.
virtual std::vector< reco::PFCandidatePtr > getPFConstituents() const
get all constituents
ProductID id() const
Accessor for product ID.
virtual ~CollectionDumper()