Skip to content

Commit 5e28d13

Browse files
committed
A2FileGeneratorMkin: added user info
1 parent 35b39e5 commit 5e28d13

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/A2FileGeneratorMkin.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ G4bool A2FileGeneratorMkin::Init()
120120
LinkBranch(TString::Format("Vy_l%02d%02d", i+1, g3_id).Data(), &fPartVBr[fNPart][1], false);
121121
LinkBranch(TString::Format("Vz_l%02d%02d", i+1, g3_id).Data(), &fPartVBr[fNPart][2], false);
122122
LinkBranch(TString::Format("Vt_l%02d%02d", i+1, g3_id).Data(), &fPartVBr[fNPart][3], false);
123+
G4cout << "A2FileGeneratorMkin::Init(): Found vertex branches for particle " << g3_id <<
124+
" with index " << fNPart+1 << G4endl;
123125
}
124126

125127
// look-up particle
@@ -207,8 +209,8 @@ G4bool A2FileGeneratorMkin::ReadEvent(G4int event)
207209
}
208210
else
209211
{
210-
fPart[i].fX = fVertex;
211-
fPart[i].fT = 0;
212+
fPart[i].fX = fVertex;
213+
fPart[i].fT = 0;
212214
}
213215

214216
// tracking flag

0 commit comments

Comments
 (0)