GENIEGenerator
Loading...
Searching...
No Matches
PrintUtils.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\namespace genie::utils::print
5
6\brief Simple printing utilities
7
8\author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9 University of Liverpool
10
11\created May 06, 2004
12
13\cpright Copyright (c) 2003-2025, The GENIE Collaboration
14 For the full text of the license visit http://copyright.genie-mc.org
15*/
16//____________________________________________________________________________
17
18#ifndef _PRINT_UTILS_H_
19#define _PRINT_UTILS_H_
20
21#include <string>
22
23#include <TVector3.h>
24#include <TLorentzVector.h>
25
26using std::string;
27
28namespace genie {
29namespace utils {
30
31namespace print
32{
33 string P4AsString (const TLorentzVector * p);
34 string P4AsShortString (const TLorentzVector * p);
35 string X4AsString (const TLorentzVector * x);
36 string P3AsString (const TVector3 * vec);
37 string Vec3AsString (const TVector3 * vec);
38 string BoolAsString (bool b);
39 string BoolAsTFString (bool b);
40 string BoolAsIOString (bool b);
41 string BoolAsYNString (bool b);
42 void PrintBanner (void);
43 void PrintBanner (string filename, UInt_t wait_msec);
44 string PrintFramedMesg (string mesg, unsigned int nl=1, const char f='*');
45
46} // print namespace
47} // utils namespace
48} // genie namespace
49
50#endif // _PRINT_UTILS_H_
Simple printing utilities.
string Vec3AsString(const TVector3 *vec)
string BoolAsString(bool b)
string BoolAsIOString(bool b)
string BoolAsTFString(bool b)
string PrintFramedMesg(string mesg, unsigned int nl=1, const char f=' *')
string X4AsString(const TLorentzVector *x)
string BoolAsYNString(bool b)
string P3AsString(const TVector3 *vec)
string P4AsString(const TLorentzVector *p)
string P4AsShortString(const TLorentzVector *p)
Root of GENIE utility namespaces.
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25