|
13 | 13 | /// \author Levi Van Ryder (based on Anisa Khatun's UD Tutorial 5 example) |
14 | 14 | /// \file sgExclusiveJpsiMidrapidity.cxx |
15 | 15 |
|
| 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 | + |
16 | 27 | #include <cmath> |
17 | 28 | #include <cstdlib> |
18 | 29 | #include <string> |
19 | 30 | #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" |
29 | 31 |
|
30 | 32 | using namespace o2; |
31 | 33 | using namespace o2::aod; |
@@ -88,7 +90,7 @@ struct SGExclusiveJpsiMidrapidity { |
88 | 90 | auto hSelectionCounter = registry.add<TH1>("hSelectionCounter", "hSelectionCounter;;NEvents", HistType::kTH1I, {{20, 0., 20.}}); |
89 | 91 |
|
90 | 92 | TString SelectionCuts[16] = {"NoSelection", "gapside", "goodtracks", "truegap", "2collcontrib", "2goodtrk", "TPCPID", "rapCut", "unlikesign", "mass_cut", "coherent", "incoherent", "likesign", "mass_cut", "coherent", "incoherent"}; |
91 | | - |
| 93 | + |
92 | 94 | for (int i = 0; i < numSelectionCuts; i++) { |
93 | 95 | hSelectionCounter->GetXaxis()->SetBinLabel(i + 1, SelectionCuts[i].Data()); |
94 | 96 | } |
@@ -169,7 +171,8 @@ struct SGExclusiveJpsiMidrapidity { |
169 | 171 |
|
170 | 172 | registry.fill(HIST("hSelectionCounter"), 2); |
171 | 173 |
|
172 | | - if(collision.flags()!=1) return; //UPC setting vs std setting |
| 174 | + if (collision.flags() != 1) |
| 175 | + return; // UPC setting vs std setting |
173 | 176 | //____________________________________________________________________________________ |
174 | 177 |
|
175 | 178 | // Create LorentzVector to store all tracks, Pion tracks and TPC Pion PID |
|
0 commit comments