Skip to content

Commit 04a0777

Browse files
committed
A2EventAction: updated user info message, added GiBUU
1 parent 07dea96 commit 04a0777

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/A2EventAction.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ void A2EventAction::EndOfEventAction(const G4Event* evt)
9595
{
9696
TString timeFmt;
9797
FormatTimeSec((fReqEvents - evtNb) / (Double_t)fEventRate, timeFmt);
98-
G4cout << TString::Format(", %s remaining for %d events", timeFmt.Data(), fReqEvents) << G4endl;
98+
G4cout << TString::Format(", %s remaining for %d/%d events",
99+
timeFmt.Data(), fReqEvents-evtNb, fReqEvents) << G4endl;
99100
}
100101
else
101102
G4cout << G4endl;
@@ -292,6 +293,8 @@ void A2EventAction::CloseOutput(){
292293
trackedPart = "";
293294
if (fPGA->GetFileGen()->GetType() == A2FileGenerator::kPlutoCocktail)
294295
trackedPart = "all stable (Pluto cocktail)";
296+
else if (fPGA->GetFileGen()->GetType() == A2FileGenerator::kGiBUU)
297+
trackedPart = "all (GiBUU)";
295298
else
296299
{
297300
for (G4int i = 0; i < fPGA->GetFileGen()->GetNParticles(); i++)

0 commit comments

Comments
 (0)