Holds the history of the GHEP event record as it being modified by the processing steps of an event generation thread. The event record history can be used to step back in the generation sequence if a processing step is to be re-run (this the GENIE event generation framework equivalent of an 'Undo') More...
#include <GHepRecordHistory.h>
Public Member Functions | |
GHepRecordHistory () | |
GHepRecordHistory (const GHepRecordHistory &history) | |
~GHepRecordHistory () | |
void | AddSnapshot (int step, GHepRecord *r) |
void | PurgeHistory (void) |
void | PurgeRecentHistory (int start_step) |
void | ReadFlags (void) |
void | Copy (const GHepRecordHistory &history) |
void | Print (ostream &stream) const |
Private Attributes | |
bool | fEnabledFull |
keep the full GHEP record history More... | |
bool | fEnabledBootstrapStep |
keep only the record that bootsrapped the generation cycle More... | |
Friends | |
ostream & | operator<< (ostream &stream, const GHepRecordHistory &history) |
Holds the history of the GHEP event record as it being modified by the processing steps of an event generation thread. The event record history can be used to step back in the generation sequence if a processing step is to be re-run (this the GENIE event generation framework equivalent of an 'Undo')
September 23, 2005
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 40 of file GHepRecordHistory.h.
GHepRecordHistory::GHepRecordHistory | ( | ) |
Definition at line 32 of file GHepRecordHistory.cxx.
GHepRecordHistory::GHepRecordHistory | ( | const GHepRecordHistory & | history | ) |
Definition at line 38 of file GHepRecordHistory.cxx.
GHepRecordHistory::~GHepRecordHistory | ( | ) |
Definition at line 45 of file GHepRecordHistory.cxx.
void GHepRecordHistory::AddSnapshot | ( | int | step, |
GHepRecord * | r | ||
) |
Definition at line 50 of file GHepRecordHistory.cxx.
void GHepRecordHistory::Copy | ( | const GHepRecordHistory & | history | ) |
Definition at line 137 of file GHepRecordHistory.cxx.
void GHepRecordHistory::Print | ( | ostream & | stream | ) | const |
Definition at line 152 of file GHepRecordHistory.cxx.
void GHepRecordHistory::PurgeHistory | ( | void | ) |
Definition at line 80 of file GHepRecordHistory.cxx.
void GHepRecordHistory::PurgeRecentHistory | ( | int | start_step | ) |
Definition at line 101 of file GHepRecordHistory.cxx.
void GHepRecordHistory::ReadFlags | ( | void | ) |
Definition at line 175 of file GHepRecordHistory.cxx.
|
friend |
Definition at line 25 of file GHepRecordHistory.cxx.
|
private |
keep only the record that bootsrapped the generation cycle
Definition at line 61 of file GHepRecordHistory.h.
|
private |
keep the full GHEP record history
Definition at line 60 of file GHepRecordHistory.h.