22 class GenCrossSection;
33 static void listing(std::ostream& os,
const GenEvent &event,
unsigned short precision = 2);
34 inline static void listing(
const GenEvent &event,
unsigned short precision = 2) {
35 listing(std::cout, event, precision);
39 static void line(std::ostream& os,
const GenEvent &event,
bool attributes=
false);
40 inline static void line(
const GenEvent &event,
bool attributes=
false) {
41 line(std::cout, event, attributes); std::cout<<std::endl;
45 static void line(std::ostream& os, ConstGenVertexPtr v,
bool attributes=
false);
46 inline static void line(ConstGenVertexPtr v,
bool attributes=
false) {
47 line(std::cout, v, attributes); std::cout << std::endl;
51 static void line(std::ostream& os, ConstGenParticlePtr p,
bool attributes=
false);
52 inline static void line(ConstGenParticlePtr p,
bool attributes=
false) {
53 line(std::cout, p, attributes); std::cout << std::endl;
57 static void line(std::ostream& os, shared_ptr<GenCrossSection> &cs);
58 inline static void line(shared_ptr<GenCrossSection> &cs) {
59 line(std::cout, cs); std::cout<<std::endl;
63 static void line(std::ostream& os, shared_ptr<GenHeavyIon> &hi);
64 inline static void line(shared_ptr<GenHeavyIon> &hi) {
65 line(std::cout, hi); std::cout<<std::endl;
69 static void line(std::ostream& os, shared_ptr<GenPdfInfo> &pi);
70 inline static void line(shared_ptr<GenPdfInfo> &pi) {
71 line(std::cout, pi); std::cout<<std::endl;
76 static void listing(std::ostream& os, ConstGenVertexPtr v);
79 static void listing(std::ostream& os, ConstGenParticlePtr p);
Provides different printing formats.
Definition of class GenParticle.
Definition of class GenVertex.
static void listing(std::ostream &os, const GenEvent &event, unsigned short precision=2)
Print event in listing (HepMC2) format.
Stores event-related information.
static void line(std::ostream &os, const GenEvent &event, bool attributes=false)
Print one-line info.
Definition of class GenEvent.
static void content(std::ostream &os, const GenEvent &event)
Print content of all GenEvent containers.