34 if(this->jnubeam_version.size() > 0) {
35 stream <<
"jnubeam version = " << this->jnubeam_version <<
endl;
37 if(this->jnubeam_file.size() > 0) {
38 stream <<
"flux ntuple filename = " << this->jnubeam_file <<
endl;
40 if(this->detector_location.size() > 0) {
41 stream <<
"detector location = " << this->detector_location <<
endl;
43 if(this->geom_file.size() > 0) {
44 stream <<
"detector geometry file = " << this->geom_file <<
endl;
47 map<int, TH1D*> fluxhists = this->flux_hists;
48 if(fluxhists.size()>0) {
49 stream <<
"found flux histograms:" <<
endl;
52 while(hist_iter != fluxhists.end()){
53 TH1D * curr_hist = (TH1D*) hist_iter->second;
55 stream <<
" - name = " << curr_hist->GetName()
56 <<
" (entries: " << curr_hist->GetEntries()
57 <<
", mean: " << curr_hist->GetMean()
58 <<
") --> neutrino pdg = " << hist_iter->first <<
endl;
63 map<int, double> targetmix = this->target_mix;
64 if(targetmix.size()>0) {
65 stream <<
"found target mix:" <<
endl;
68 while(target_iter != targetmix.end()){
69 stream <<
" - target pdg = " << target_iter->first
70 <<
", weight fraction = " << target_iter->second <<
endl;
THE MAIN GENIE PROJECT NAMESPACE
ostream & operator<<(ostream &stream, const T2KEvGenMetaData &md)
QTextStream & endl(QTextStream &s)