Skip to content

Commit 3743a5f

Browse files
committed
Please consider the following formatting changes
1 parent 1ea968b commit 3743a5f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

PWGMM/Lumi/Tasks/lumiStabilityPP.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
#include "Framework/ASoA.h"
2929
#include "Framework/AnalysisDataModel.h"
3030
#include "Framework/AnalysisTask.h"
31+
#include "Framework/runDataProcessing.h"
3132
#include <Framework/Array2D.h>
3233
#include <Framework/Configurable.h>
33-
#include "Framework/runDataProcessing.h"
3434

3535
#include <limits>
3636
#include <map>
@@ -49,11 +49,11 @@ enum TriggerAliases { AllBCs = 0,
4949
FT0CE = 2,
5050
FDD = 3,
5151
NTriggerAliases };
52-
enum BCCategories { BCA = 0, // A side BCs (bunch-crossings that had beam only from A side)
53-
BCB = 1, // B type BCs (bunch-crossings that had beam from both sides)
54-
BCC = 2, // C side BCs (bunch-crossings that had beam only from C side)
55-
BCE = 3, // empty BCs (bunch-crossings that did not have beam from either side)
56-
BCL = 4, // leading BCs (bunch-crossings that did not have interacting bunches for a configurable number of preceding BCs)
52+
enum BCCategories { BCA = 0, // A side BCs (bunch-crossings that had beam only from A side)
53+
BCB = 1, // B type BCs (bunch-crossings that had beam from both sides)
54+
BCC = 2, // C side BCs (bunch-crossings that had beam only from C side)
55+
BCE = 3, // empty BCs (bunch-crossings that did not have beam from either side)
56+
BCL = 4, // leading BCs (bunch-crossings that did not have interacting bunches for a configurable number of preceding BCs)
5757
BCSLFDD = 5, // super-leading BCs for FDD (bunch-crossings that had beam from both sides but did not have FDD activity for a configurable number of preceding BCs)
5858
BCSLFT0 = 6, // super-leading BCs for FT0 (bunch-crossings that had beam from both sides but did not have FT0 activity for a configurable number of preceding BCs)
5959
NBCCategories };
@@ -222,7 +222,7 @@ struct LumiStabilityPP {
222222

223223
std::string_view injectionScheme = mLHCIFdata->getInjectionScheme();
224224
size_t underScorePos = injectionScheme.find('_');
225-
size_t bPos = injectionScheme.find('b', underScorePos);
225+
size_t bPos = injectionScheme.find('b', underScorePos);
226226
if (underScorePos != std::string_view::npos && bPos != std::string_view::npos && bPos > underScorePos) {
227227
std::string_view nBunchesFillingSchemeStr = injectionScheme.substr(underScorePos + 1, bPos - (underScorePos + 1));
228228
nBunchesFillingScheme = std::stoi(std::string(nBunchesFillingSchemeStr));
@@ -360,7 +360,7 @@ struct LumiStabilityPP {
360360
if (globalBC - globalBCStart > maxBcDiff) { // we changed fill, we should not count all BCs between the current and the previous one
361361
globalBCStart = globalBC;
362362
}
363-
for (int64_t iGlobalBC{globalBCStart}; iGlobalBC<=globalBC; ++iGlobalBC) { // we count all BCs in between one and another stored in the AO2Ds
363+
for (int64_t iGlobalBC{globalBCStart}; iGlobalBC <= globalBC; ++iGlobalBC) { // we count all BCs in between one and another stored in the AO2Ds
364364
int iLocalBC = iGlobalBC % nBCsPerOrbit;
365365
if (bcPatternA[iLocalBC]) {
366366
nBCs[BCA]++;

0 commit comments

Comments
 (0)