Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Aug 29, 2024
1 parent 562c133 commit 48fc4c6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions PWGDQ/Core/MCProng.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ void MCProng::Print() const
std::cout << "Generation #" << i << " PDGcode(" << fPDGcodes[i] << ") CheckBothCharges(" << fCheckBothCharges[i]
<< ") ExcludePDG(" << fExcludePDG[i] << ") SourceBits(" << fSourceBits[i] << ") ExcludeSource(" << fExcludeSource[i]
<< ") UseANDonSource(" << fUseANDonSourceBitMap[i] << ") CheckGenerationsInTime(" << fCheckGenerationsInTime << ")";
for (int j = 0; j < fPDGInHistory.size(); j++) {
std::cout << " #" << j << " PDGInHistory(" << fPDGInHistory[j] << ") ExcludePDGInHistory(" << fExcludePDGInHistory[j] << ")";
}
std::cout << std::endl;
for (int j = 0; j < fPDGInHistory.size(); j++) {
std::cout << " #" << j << " PDGInHistory(" << fPDGInHistory[j] << ") ExcludePDGInHistory(" << fExcludePDGInHistory[j] << ")";
}
std::cout << std::endl;
}
}

Expand Down
10 changes: 5 additions & 5 deletions PWGDQ/Core/MCSignal.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ MCSignal::MCSignal(int nProngs, const char* name /*= ""*/, const char* title /*=

//________________________________________________________________________________________________
MCSignal::MCSignal(const char* name, const char* title, std::vector<MCProng> prongs, std::vector<short> commonAncestors, bool excludeCommonAncestor) : TNamed(name, title),
fProngs(prongs),
fNProngs(prongs.size()),
fCommonAncestorIdxs(commonAncestors),
fExcludeCommonAncestor(excludeCommonAncestor),
fTempAncestorLabel(-1)
fProngs(prongs),
fNProngs(prongs.size()),
fCommonAncestorIdxs(commonAncestors),
fExcludeCommonAncestor(excludeCommonAncestor),
fTempAncestorLabel(-1)
{
}

Expand Down
2 changes: 1 addition & 1 deletion PWGDQ/Core/MCSignal.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ bool MCSignal::CheckProng(int i, bool checkSources, const T& track)
else if (currentMCParticle.globalIndex() == fTempAncestorLabel && fExcludeCommonAncestor)
return false;
}
}
}

// Update the currentMCParticle by moving either back in time (towards mothers, grandmothers, etc)
// or in time (towards daughters) depending on how this was configured in the MC Signal
Expand Down

0 comments on commit 48fc4c6

Please sign in to comment.