Skip to content

Commit 5557522

Browse files
Merge pull request #2 from alibuild/alibot-cleanup-14077
Please consider the following formatting changes to #14077
2 parents aba7a9f + eec7072 commit 5557522

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

PWGUD/Tasks/sgExclusiveJpsiCB.cxx

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,21 @@
1313
/// \author Levi Van Ryder (based on Anisa Khatun's UD Tutorial 5 example)
1414
/// \file upcExclusiveJpsiCB.cxx
1515

16+
#include "PWGUD/Core/SGSelector.h"
17+
#include "PWGUD/Core/SGTrackSelector.h"
18+
#include "PWGUD/DataModel/UDTables.h"
19+
20+
#include "Framework/AnalysisDataModel.h"
21+
#include "Framework/AnalysisTask.h"
22+
#include "Framework/runDataProcessing.h"
23+
24+
#include "Math/Vector4D.h"
25+
#include "TMath.h"
26+
1627
#include <cmath>
1728
#include <cstdlib>
1829
#include <string>
1930
#include <vector>
20-
#include "Math/Vector4D.h"
21-
#include "TMath.h"
22-
23-
#include "Framework/runDataProcessing.h"
24-
#include "Framework/AnalysisTask.h"
25-
#include "Framework/AnalysisDataModel.h"
26-
#include "PWGUD/DataModel/UDTables.h"
27-
#include "PWGUD/Core/SGSelector.h"
28-
#include "PWGUD/Core/SGTrackSelector.h"
2931

3032
using namespace o2;
3133
using namespace o2::aod;
@@ -88,7 +90,7 @@ struct sgExclusiveJpsiCB {
8890
auto hSelectionCounter = registry.add<TH1>("hSelectionCounter", "hSelectionCounter;;NEvents", HistType::kTH1I, {{20, 0., 20.}});
8991

9092
TString SelectionCuts[16] = {"NoSelection", "gapside", "goodtracks", "truegap", "2collcontrib", "2goodtrk", "TPCPID", "Rap_cut", "unlikesign", "mass_cut", "coherent", "incoherent", "likesign", "mass_cut", "coherent", "incoherent"};
91-
93+
9294
for (int i = 0; i < numSelectionCuts; i++) {
9395
hSelectionCounter->GetXaxis()->SetBinLabel(i + 1, SelectionCuts[i].Data());
9496
}
@@ -169,7 +171,8 @@ struct sgExclusiveJpsiCB {
169171

170172
registry.fill(HIST("hSelectionCounter"), 2);
171173

172-
if(collision.flags()!=1) return; //UPC setting vs std setting
174+
if (collision.flags() != 1)
175+
return; // UPC setting vs std setting
173176
//____________________________________________________________________________________
174177

175178
// Create LorentzVector to store all tracks, Pion tracks and TPC Pion PID

0 commit comments

Comments
 (0)