Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
MINOS-style ntuple record. Each such ntuple record holds a generated EventRecord object....
void CreateGHEPEventBranch(void)
void SetDefaultFilename(string filename_prefix="gntp")
TBranch * fEventBranch
the generated event branch
~NtpWriter()
initialize the ntuple writer
void CustomizeFilename(string filename)
void OpenFile(string filename)
void Initialize(void)
add event
void Save(void)
get the even tree
void CreateEventBranch(void)
NtpMCEventRecord * fNtpMCEventRecord
NtpMCTreeHeader * fNtpMCTreeHeader
void AddEventRecord(int ievent, const EventRecord *ev_rec)
save the event tree
void CustomizeFilenamePrefix(string prefix)
TFile * fOutFile
output file
TTree * fOutTree
output tree
void CreateTreeHeader(void)
NtpMCFormat_t fNtpFormat
enumeration of event formats
string fOutFilename
output filename
NtpWriter(NtpMCFormat_t fmt=kNFGHEP, Long_t runnu=0, Long_t runseed=-1)
THE MAIN GENIE PROJECT NAMESPACE
enum genie::ENtpMCFormat NtpMCFormat_t