| HepMC3 event record library
    | 
#include <Print.h>
| Public Member Functions | |
| Print & | operator= (const Print &)=delete | 
| deleted copy assignment operator | |
| Static Public Member Functions | |
| static void | content (std::ostream &os, const GenEvent &event) | 
| Print content of all GenEvent containers. | |
| static void | content (const GenEvent &event) | 
| Print content of all GenEvent containers to std::cout. | |
| static void | listing (std::ostream &os, const GenEvent &event, unsigned short precision=2) | 
| Print event in listing (HepMC2) format. | |
| static void | listing (const GenEvent &event, unsigned short precision=2) | 
| Print event in listing (HepMC2) format to std::cout. | |
| static void | listing (std::ostream &os, const GenRunInfo &ri, unsigned short precision=2) | 
| Print runinfo in listing. | |
| static void | listing (const GenRunInfo &ri, unsigned short precision=2) | 
| Print runinfo in listing to std::cout. | |
| static void | line (std::ostream &os, const GenEvent &event, bool attributes=false) | 
| Print one-line info. | |
| static void | line (const GenEvent &event, bool attributes=false) | 
| Print one-line info to std::cout. | |
| static void | line (std::ostream &os, const GenRunInfo &RunInfo, bool attributes=false) | 
| Print one-line info. | |
| static void | line (const GenRunInfo &RunInfo, bool attributes=false) | 
| Print one-line info to std::cout. | |
| static void | line (std::ostream &os, const GenRunInfo::ToolInfo &t) | 
| Print one-line info. | |
| static void | line (const GenRunInfo::ToolInfo &t) | 
| Print one-line info to std::cout. | |
| static void | line (std::ostream &os, ConstGenVertexPtr v, bool attributes=false) | 
| Print one-line info. | |
| static void | line (ConstGenVertexPtr v, bool attributes=false) | 
| Print one-line info to std::cout. | |
| static void | line (std::ostream &os, const FourVector &p) | 
| Print one-line info. | |
| static void | line (const FourVector &p) | 
| Print one-line info to std::cout. | |
| static void | line (std::ostream &os, ConstGenParticlePtr p, bool attributes=false) | 
| Print one-line info. | |
| static void | line (ConstGenParticlePtr p, bool attributes=false) | 
| Print one-line info to std::cout. | |
| static void | line (std::ostream &os, std::shared_ptr< GenCrossSection > &cs) | 
| Print one-line info. | |
| static void | line (std::shared_ptr< GenCrossSection > &cs) | 
| Print one-line info to std::cout. | |
| static void | line (std::ostream &os, std::shared_ptr< GenHeavyIon > &hi) | 
| Print one-line info. | |
| static void | line (std::shared_ptr< GenHeavyIon > &hi) | 
| Print one-line info to std::cout. | |
| static void | line (std::ostream &os, std::shared_ptr< GenPdfInfo > &pi) | 
| Print one-line info. | |
| static void | line (std::shared_ptr< GenPdfInfo > &pi) | 
| Print one-line info to std::cout. | |
| Private Member Functions | |
| virtual | ~Print () | 
| Destructor. | |
| Static Private Member Functions | |
| static void | listing (std::ostream &os, ConstGenVertexPtr v) | 
| Helper function for printing a vertex in listing format. | |
| static void | listing (std::ostream &os, ConstGenParticlePtr p) | 
| Helper function for printing a particle in listing format. | |
| 
 | inlinestatic | 
| 
 | static | 
Print content of all GenEvent containers.
Definition at line 17 of file Print.cc.
References GenEvent::attributes(), line(), GenEvent::particles(), GenEvent::vertices(), and GenEvent::weights().
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | static | 
Print one-line info.
Definition at line 251 of file Print.cc.
References FourVector::e(), FourVector::x(), FourVector::y(), and FourVector::z().
| 
 | static | 
Print one-line info.
Definition at line 204 of file Print.cc.
References GenEvent::attribute_names().
| 
 | static | 
Print one-line info.
Definition at line 213 of file Print.cc.
References GenRunInfo::attribute_as_string(), GenRunInfo::attribute_names(), and GenRunInfo::tools().
| 
 | static | 
Print one-line info.
Definition at line 223 of file Print.cc.
References GenRunInfo::ToolInfo::description, GenRunInfo::ToolInfo::name, and GenRunInfo::ToolInfo::version.
| 
 | static | 
Print one-line info.
Definition at line 270 of file Print.cc.
References FourVector::e(), FourVector::px(), FourVector::py(), and FourVector::pz().
| 
 | static | 
Print one-line info.
Definition at line 227 of file Print.cc.
References FourVector::t(), FourVector::x(), FourVector::y(), and FourVector::z().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | inlinestatic | 
| 
 | static | 
Print event in listing (HepMC2) format.
Definition at line 52 of file Print.cc.
References GenEvent::length_unit(), listing(), GenEvent::momentum_unit(), Units::name(), FourVector::t(), GenEvent::vertices(), FourVector::x(), FourVector::y(), and FourVector::z().
| 
 | static | 
Print runinfo in listing.
Definition at line 89 of file Print.cc.
References GenRunInfo::attributes(), HEPMC3_WARNING, line(), GenRunInfo::tools(), and GenRunInfo::weight_names().
| 
 | staticprivate | 
Helper function for printing a particle in listing format.
Definition at line 169 of file Print.cc.
References FourVector::e(), FourVector::px(), FourVector::py(), and FourVector::pz().
| 
 | staticprivate | 
Helper function for printing a vertex in listing format.
Definition at line 126 of file Print.cc.
References FourVector::is_zero(), listing(), FourVector::t(), FourVector::x(), FourVector::y(), and FourVector::z().