GENIEGenerator
|
MINOS-style Ntuple Class to hold an output MC Tree Header. More...
#include <NtpMCTreeHeader.h>
Public Member Functions | |
NtpMCTreeHeader () | |
NtpMCTreeHeader (const NtpMCTreeHeader &hdr) | |
virtual | ~NtpMCTreeHeader () |
void | Init (void) |
void | Copy (const NtpMCTreeHeader &hdr) |
void | PrintToStream (ostream &stream) const |
Public Attributes | |
NtpMCFormat_t | format |
Event Record format (GENIE support multiple formats) More... | |
TObjString | cvstag |
GENIE CVS Tag (to keep track of GENIE's version) More... | |
NtpMCDTime | datime |
Date and Time that the event ntuple was generated. More... | |
Long_t | runnu |
MC Job run number. More... | |
Long_t | runseed |
Random seed used in the MC run. More... | |
TObjString | tune |
GENIE Tune Name. More... | |
TObjString | tuneDir |
directory from when tune config came More... | |
TObjString | customDirs |
any custom directories More... | |
Friends | |
ostream & | operator<< (ostream &stream, const NtpMCTreeHeader &hdr) |
MINOS-style Ntuple Class to hold an output MC Tree Header.
Definition at line 37 of file NtpMCTreeHeader.h.
NtpMCTreeHeader::NtpMCTreeHeader | ( | ) |
NtpMCTreeHeader::NtpMCTreeHeader | ( | const NtpMCTreeHeader & | hdr | ) |
|
virtual |
Definition at line 48 of file NtpMCTreeHeader.cxx.
void NtpMCTreeHeader::Copy | ( | const NtpMCTreeHeader & | hdr | ) |
Definition at line 72 of file NtpMCTreeHeader.cxx.
References genie::NtpMCDTime::Copy(), customDirs, cvstag, datime, format, runnu, runseed, tune, and tuneDir.
Referenced by NtpMCTreeHeader().
void NtpMCTreeHeader::Init | ( | void | ) |
Definition at line 84 of file NtpMCTreeHeader.cxx.
References customDirs, cvstag, datime, format, genie::kNFUndefined, LOG, genie::NtpMCDTime::Now(), pERROR, runnu, runseed, tune, and tuneDir.
Referenced by NtpMCTreeHeader().
void NtpMCTreeHeader::PrintToStream | ( | ostream & | stream | ) | const |
Definition at line 53 of file NtpMCTreeHeader.cxx.
References genie::NtpMCFormat::AsString(), customDirs, cvstag, datime, format, runnu, runseed, tune, and tuneDir.
Referenced by genie::operator<<().
|
friend |
Definition at line 29 of file NtpMCTreeHeader.cxx.
TObjString genie::NtpMCTreeHeader::customDirs |
any custom directories
Definition at line 63 of file NtpMCTreeHeader.h.
Referenced by Copy(), Init(), genie::NtpWriter::Initialize(), and PrintToStream().
TObjString genie::NtpMCTreeHeader::cvstag |
GENIE CVS Tag (to keep track of GENIE's version)
Definition at line 57 of file NtpMCTreeHeader.h.
Referenced by Copy(), Init(), and PrintToStream().
NtpMCDTime genie::NtpMCTreeHeader::datime |
Date and Time that the event ntuple was generated.
Definition at line 58 of file NtpMCTreeHeader.h.
Referenced by Copy(), Init(), and PrintToStream().
NtpMCFormat_t genie::NtpMCTreeHeader::format |
Event Record format (GENIE support multiple formats)
Definition at line 56 of file NtpMCTreeHeader.h.
Referenced by Copy(), genie::NtpWriter::CreateTreeHeader(), Init(), and PrintToStream().
Long_t genie::NtpMCTreeHeader::runnu |
MC Job run number.
Definition at line 59 of file NtpMCTreeHeader.h.
Referenced by Copy(), genie::NtpWriter::CreateTreeHeader(), Init(), and PrintToStream().
Long_t genie::NtpMCTreeHeader::runseed |
Random seed used in the MC run.
Definition at line 60 of file NtpMCTreeHeader.h.
Referenced by Copy(), genie::NtpWriter::CreateTreeHeader(), Init(), and PrintToStream().
TObjString genie::NtpMCTreeHeader::tune |
GENIE Tune Name.
Definition at line 61 of file NtpMCTreeHeader.h.
Referenced by Copy(), Init(), genie::NtpWriter::Initialize(), and PrintToStream().
TObjString genie::NtpMCTreeHeader::tuneDir |
directory from when tune config came
Definition at line 62 of file NtpMCTreeHeader.h.
Referenced by Copy(), Init(), genie::NtpWriter::Initialize(), and PrintToStream().