Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
civanch committed Jan 18, 2022
1 parent f269978 commit f493738
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions SimG4Core/Notification/src/GenParticleInfoExtractor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const GenParticleInfo &GenParticleInfoExtractor::operator()(const G4PrimaryParti
GenParticleInfo *gpi = dynamic_cast<GenParticleInfo *>(up);
if (gpi == nullptr)
G4Exception("SimG4Core/Notification",
"mc001",
FatalException,
"GenParticleInfoExtractor: user information in G4PrimaryParticle is not of GenParticleInfo type");
"mc001",
FatalException,
"GenParticleInfoExtractor: user information in G4PrimaryParticle is not of GenParticleInfo type");
}
return *gpi;
}
6 changes: 2 additions & 4 deletions SimG4Core/Notification/src/NewTrackAction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ void NewTrackAction::addUserInfoToPrimary(G4Track *aTrack) const {

void NewTrackAction::addUserInfoToSecondary(G4Track *aTrack, const TrackInformation &motherInfo, int flag) const {
TrackInformation *trkInfo = new TrackInformation();
LogDebug("SimG4CoreApplication") << "NewTrackAction called for "
<< aTrack->GetTrackID()
<< " mother " << motherInfo.isPrimary()
<< " flag " << flag;
LogDebug("SimG4CoreApplication") << "NewTrackAction called for " << aTrack->GetTrackID() << " mother "
<< motherInfo.isPrimary() << " flag " << flag;

// Take care of cascade decays
if (flag == 1) {
Expand Down

0 comments on commit f493738

Please sign in to comment.