1515
1616// / \author Niveditha Ram , IP2I
1717
18- #include < vector>
19- #include < unordered_map>
18+ #include " PWGUD/DataModel/UDTables.h"
2019
21- #include " Framework/runDataProcessing.h"
22- #include " Framework/O2DatabasePDGPlugin.h"
23- #include " Framework/AnalysisTask.h"
24- #include " Framework/AnalysisDataModel.h"
2520#include " CCDB/BasicCCDBManager.h"
26- #include " DataFormatsParameters/GRPLHCIFData.h"
2721#include " DataFormatsParameters/GRPECSObject.h"
28- #include " PWGUD/DataModel/UDTables.h"
22+ #include " DataFormatsParameters/GRPLHCIFData.h"
23+ #include " Framework/AnalysisDataModel.h"
24+ #include " Framework/AnalysisTask.h"
25+ #include " Framework/O2DatabasePDGPlugin.h"
26+ #include " Framework/runDataProcessing.h"
2927
3028#include " TLorentzVector.h"
31- #include " TSystem.h"
3229#include " TMath.h"
3330#include " TRandom3.h"
31+ #include " TSystem.h"
32+
33+ #include < unordered_map>
34+ #include < vector>
3435
3536// table for saving tree with info on data
3637namespace dimu
@@ -41,7 +42,7 @@ DECLARE_SOA_COLUMN(M, m, float);
4142DECLARE_SOA_COLUMN (Pt, pt, float );
4243DECLARE_SOA_COLUMN (Rap, rap, float );
4344DECLARE_SOA_COLUMN (Phi, phi, float );
44- }
45+ } // namespace dimu
4546
4647namespace o2 ::aod
4748{
@@ -104,7 +105,7 @@ struct upcPolarisationJPsiIncorr {
104105 Configurable<int > nBinsPhi{" nBinsPhi" , 600 , " N bins in phi histo" };
105106 Configurable<float > lowPhi{" lowPhi" , -Pi, " lower limit in phi histo" };
106107 Configurable<float > highPhi{" highPhi" , Pi, " upper limit in phi histo" };
107- // Analysis cuts
108+ // Analysis cuts
108109 Configurable<float > maxJpsiMass{" maxJpsiMass" , 3.18 , " Maximum of the jpsi peak for peak cut" };
109110 Configurable<float > minJpsiMass{" minJpsiMass" , 3.0 , " Minimum of the jpsi peak for peak cut" };
110111
@@ -240,7 +241,7 @@ struct upcPolarisationJPsiIncorr {
240241 for (unsigned int i = 0 ; i < ampsV0A.size (); ++i) {
241242 if (std::abs (ampsRelBCsV0A[i]) <= 1 ) {
242243 if (ampsV0A[i] > kMaxAmpV0A )
243- return ;
244+ return ;
244245 }
245246 }
246247 // MCH-MID match selection
@@ -301,7 +302,7 @@ struct upcPolarisationJPsiIncorr {
301302 registry.fill (HIST (" hRapidity" ), p.Rapidity ());
302303 registry.fill (HIST (" hPhi" ), p.Phi ());
303304
304- dimuSel (cand.runNumber (),p.M (), p.Pt (), p.Rapidity (), p.Phi ());
305+ dimuSel (cand.runNumber (), p.M (), p.Pt (), p.Rapidity (), p.Phi ());
305306 }
306307 // PROCESS FUNCTION
307308 void processData (CandidatesFwd const & eventCandidates,
@@ -311,7 +312,7 @@ struct upcPolarisationJPsiIncorr {
311312
312313 // map with the tracks
313314 std::unordered_map<int32_t , std::vector<int32_t >> tracksPerCand;
314- // takes a tracks table with a coloumn of collision ID and makes it into a map of collision ID to each track.
315+ // takes a tracks table with a coloumn of collision ID and makes it into a map of collision ID to each track.
315316 collectCandIDs (tracksPerCand, fwdTracks);
316317
317318 // map with the ZDC info
@@ -342,7 +343,6 @@ struct upcPolarisationJPsiIncorr {
342343 }
343344
344345 PROCESS_SWITCH (upcPolarisationJPsiIncorr, processData, " " , true );
345-
346346};
347347
348348WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
0 commit comments