Skip to content

Commit ef431cf

Browse files
Benedikt Volkelsawenzel
authored andcommitted
clang-format
1 parent 959b3f8 commit ef431cf

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

MCReplay/include/MCReplay/MCReplayEngine.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ class MCReplayEngine : public TVirtualMC
663663
/// Set the maximum step allowed till the particle is in the current medium
664664
virtual void SetMaxStep(Double_t) override
665665
{
666-
//Warning("SetMaxStep", "Not yet implemented");
666+
// Warning("SetMaxStep", "Not yet implemented");
667667
}
668668

669669
/// Set the maximum number of steps till the particle is in the current medium
@@ -1015,7 +1015,7 @@ class MCReplayEngine : public TVirtualMC
10151015
virtual Int_t StepProcesses(TArrayI& proc) const override
10161016
{
10171017
// TODO Not possible atm with MCStepLogger, donet have that info
1018-
//Warning("StepProcesses", "Not yet implemented");
1018+
// Warning("StepProcesses", "Not yet implemented");
10191019
return -1;
10201020
}
10211021

@@ -1166,15 +1166,15 @@ class MCReplayEngine : public TVirtualMC
11661166

11671167
// add process or cut values based on name and value
11681168
template <typename P, typename T, std::size_t N>
1169-
bool insertProcessOrCut(std::vector<std::vector<P>*>& insertInto, const std::array<T, N>& allParamsNames, const std::vector<P>& defaultParams, Int_t mediumId, const char* paramName, P parval, bool forceSet=false)
1169+
bool insertProcessOrCut(std::vector<std::vector<P>*>& insertInto, const std::array<T, N>& allParamsNames, const std::vector<P>& defaultParams, Int_t mediumId, const char* paramName, P parval, bool forceSet = false)
11701170
{
11711171
auto paramIndex = physics::paramToIndex(allParamsNames, paramName);
11721172
return insertProcessOrCut(insertInto, allParamsNames, defaultParams, mediumId, paramIndex, parval, forceSet);
11731173
}
11741174

11751175
// add process or cut values based on name and value
11761176
template <typename P, typename T, std::size_t N>
1177-
bool insertProcessOrCut(std::vector<std::vector<P>*>& insertInto, const std::array<T, N>& allParamsNames, const std::vector<P>& defaultParams, Int_t mediumId, int paramIndex, P parval, bool forceSet=false)
1177+
bool insertProcessOrCut(std::vector<std::vector<P>*>& insertInto, const std::array<T, N>& allParamsNames, const std::vector<P>& defaultParams, Int_t mediumId, int paramIndex, P parval, bool forceSet = false)
11781178
{
11791179
if (paramIndex < 0) {
11801180
return false;
@@ -1197,14 +1197,14 @@ class MCReplayEngine : public TVirtualMC
11971197
}
11981198

11991199
template <typename P, typename T, std::size_t N>
1200-
bool insertProcessOrCut(std::vector<P>& insertInto, const std::array<T, N>& allParamsNames, const char* paramName, P parval, bool forceSet=false)
1200+
bool insertProcessOrCut(std::vector<P>& insertInto, const std::array<T, N>& allParamsNames, const char* paramName, P parval, bool forceSet = false)
12011201
{
12021202
auto paramIndex = physics::paramToIndex(allParamsNames, paramName);
12031203
return insertProcessOrCut(insertInto, allParamsNames, paramIndex, parval, forceSet);
12041204
}
12051205

12061206
template <typename P, typename T, std::size_t N>
1207-
bool insertProcessOrCut(std::vector<P>& insertInto, const std::array<T, N>& allParamsNames, int paramIndex, P parval, bool forceSet=false)
1207+
bool insertProcessOrCut(std::vector<P>& insertInto, const std::array<T, N>& allParamsNames, int paramIndex, P parval, bool forceSet = false)
12081208
{
12091209
if (paramIndex < 0) {
12101210
return false;

MCReplay/src/MCReplayEngine.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,6 @@ void MCReplayEngine::Gstpar(Int_t itmed, const char* param, Double_t parval)
909909
}
910910
}
911911

912-
913912
void MCReplayEngine::loadCurrentCutsAndProcesses(int volId)
914913
{
915914
mCurrentProcesses = &mProcessesGlobal;

MCStepLogger/src/MCStepLoggerImpl.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void flushToTTree(const char* branchname, T* address)
121121
branch->Fill();
122122
tree->SetEntries(branch->GetEntries());
123123
// To avoid large number of cycles since whenever the file is opened and things are written, this is done as a new cycle
124-
//f->Write();
124+
// f->Write();
125125
tree->Write("", TObject::kOverwrite);
126126
f->Close();
127127
delete f;

0 commit comments

Comments
 (0)