GENIEGenerator
Loading...
Searching...
No Matches
T2KEvGenMetaData.h
Go to the documentation of this file.
1//____________________________________________________________________________
2/*!
3
4\class genie::utils::T2KEvGenMetaData
5
6\brief Utility class to store MC job meta-data
7
8\author Jim Dobson
9 Imperial College London
10
11\created Mar 04, 2010
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 _T2KEVGEN_METADATA_H_
19#define _T2KEVGEN_METADATA_H_
20
21#include <iostream>
22#include <string>
23#include <map>
24
25#include <TObject.h>
26#include <TH1D.h>
27
28using std::ostream;
29using std::string;
30using std::map;
31
32namespace genie {
33namespace utils {
34
36ostream & operator << (ostream & stream, const T2KEvGenMetaData & md);
37
38class T2KEvGenMetaData: public TObject
39{
40public:
41 using TObject::Print; // suppress clang 'hides overloaded virtual function [-Woverloaded-virtual]' warnings
42
45 jnubeam_file(""),
47 geom_file(""),
51 using_root_geom(false),
52 using_hist_flux(false)
53 {
54 }
55
57 {
58 }
59
60 void Print(ostream & stream) const;
61
62 friend ostream & operator << (ostream & stream, const T2KEvGenMetaData & md);
63
67 string geom_file;
73 map<int, double> target_mix;
74 map<int, TH1D*> flux_hists;
75
76 ClassDef(T2KEvGenMetaData,1)
77
78};
79
80
81} // utils namespace
82} // genie namespace
83
84#endif // _T2KEVGEN_METADATA_H_
Utility class to store MC job meta-data.
void Print(ostream &stream) const
friend ostream & operator<<(ostream &stream, const T2KEvGenMetaData &md)
Root of GENIE utility namespaces.
ostream & operator<<(ostream &stream, const T2KEvGenMetaData &md)
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25