CMS 3D CMS Logo

printParticle.h
Go to the documentation of this file.
1 #ifndef AnalysisDataFormats_TopObjects_printParticle_h
2 #define AnalysisDataFormats_TopObjects_printParticle_h
3 // -*- C++ -*-
4 //
5 // Package: AnalysisDataFormats/TopObjects
6 // Class : printParticle
7 //
16 //
17 // Original Author: Christopher Jones
18 // Created: Fri, 16 Oct 2020 13:22:44 GMT
19 //
20 
21 // system include files
22 
23 // user include files
26 
27 // forward declarations
28 
29 namespace ttevent {
31  void printParticle(edm::LogInfo& log, const char* name, const reco::Candidate* cand);
32 } // namespace ttevent
33 #endif
void printParticle(edm::LogInfo &log, const char *name, const reco::Candidate *cand)
print pt, eta, phi, mass of a given candidate into an existing LogInfo