109 <<
"Purging recent GHEP history buffer (processing step >= "
110 << start_step <<
")";
112 if(start_step < -1) {
114 <<
"Invalid starting step: " << start_step <<
" - Ignoring";
118 if(start_step == -1) {
124 GHepRecordHistory::iterator history_iter;
125 for(history_iter = this->begin();
126 history_iter != this->end(); ++history_iter) {
128 if(history_iter->first >= start_step) {
129 int step = history_iter->first;
131 <<
"Deleting GHEP snapshot for processing step: " << step;
132 this->erase(history_iter);
154 stream <<
"\n ****** Printing GHEP record history"
155 <<
" [depth: " << this->size() <<
"]" << endl;
157 GHepRecordHistory::const_iterator history_iter;
158 for(history_iter = this->begin();
159 history_iter != this->end(); ++history_iter) {
161 unsigned int step = history_iter->first;
164 stream <<
"\n[After processing step = " << step <<
"] :";
168 <<
"** ERR: No history record available for this processing step!";
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE,...
void Print(ostream &stream) const
void AddSnapshot(int step, GHepRecord *r)
bool fEnabledFull
keep the full GHEP record history
void PurgeRecentHistory(int start_step)
bool fEnabledBootstrapStep
keep only the record that bootsrapped the generation cycle
void Copy(const GHepRecordHistory &history)