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 for(
auto const&
obj : *view) {
bool isNonnull() const
Checks for non-null.
void analyze(const edm::Event &evt, const edm::EventSetup &es) override
CollectionDumper(const edm::ParameterSet &pset)
CollectionDumper< reco::Candidate > CandidateDumper
~CollectionDumper() override
bool isNonnull() const
Checks for non-null.
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
#define DEFINE_FWK_MODULE(type)
CollectionDumper< reco::PFTau > RecoTauDumper
const JetBaseRef & jetRef() const
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 double phi() const =0
momentum azimuthal angle