@@ -37,7 +37,7 @@ using namespace o2::framework;
3737using namespace o2 ::framework::expressions;
3838
3939// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
40- struct UPCAnalysis {
40+ struct exclusiveRhoTo4Pi {
4141 SGSelector sgSelector;
4242 HistogramRegistry histos{" HistoReg" , {}, OutputObjHandlingPolicy::AnalysisObject, true , true };
4343
@@ -78,14 +78,26 @@ struct UPCAnalysis {
7878 histos.add (" EventCounts" , " Total Events; Events" , kTH1F , {{10 , 0 , 10 }}); // 2=#Events, 3= #Selected Events, 5=#Selected Events with Zero Net charge, 6=Selected Events with Non-Zero Net charge
7979
8080 // TPC nSigma
81- histos.add (" tpcNSigmaPi_WOTS" , " TPC nSigma Pion without track selection; Events" , kTH1F , {{100 , -15 , 15 }});
82- histos.add (" tpcNSigmaPi_WTS" , " TPC nSigma Pion with track selection; Events" , kTH1F , {{100 , -15 , 15 }});
83- histos.add (" tpcNSigmaPi_WTS_PID_Pi" , " TPC nSigma Pion with track selection and PID Selection of Pi; Entries" , kTH1F , {{100 , -15 , 15 }});
81+ histos.add (" tpcNSigmaPi_WOTS" , " TPC nSigma Pion without track selection; Events" , kTH1F , {{1000 , -15 , 15 }});
82+ histos.add (" tpcNSigmaPi_WTS" , " TPC nSigma Pion with track selection; Events" , kTH1F , {{1000 , -15 , 15 }});
83+ histos.add (" tpcNSigmaPi_WTS_PID_Pi" , " TPC nSigma Pion with track selection and PID Selection of Pi; Entries" , kTH1F , {{1000 , -15 , 15 }});
84+
85+ // TPC nSigma of other particles with selected pion tracks
86+ histos.add (" tpcNSigmaPi_WTS_PID_Pi_Ka" , " TPC nSigma Kaon with track selection and PID Selection of Pion; Entries" , kTH1F , {{1000 , -15 , 15 }});
87+ histos.add (" tpcNSigmaPi_WTS_PID_Pi_Pr" , " TPC nSigma Proton with track selection and PID Selection of Pion; Entries" , kTH1F , {{1000 , -15 , 15 }});
88+ histos.add (" tpcNSigmaPi_WTS_PID_Pi_El" , " TPC nSigma Electron with track selection and PID Selection of Pion; Entries" , kTH1F , {{1000 , -15 , 15 }});
89+ histos.add (" tpcNSigmaPi_WTS_PID_Pi_Mu" , " TPC nSigma Muon with track selection and PID Selection of Pion; Entries" , kTH1F , {{1000 , -15 , 15 }});
8490
8591 // TOF nSigma
86- histos.add (" tofNSigmaPi_WTS" , " TOF nSigma Pion with track selection; Events" , kTH1F , {{100 , -15 , 15 }});
87- histos.add (" tofNSigmaPi_WOTS" , " TOF nSigma Pion without track selection; Events" , kTH1F , {{100 , -15 , 15 }});
88- histos.add (" tofNSigmaPi_WTS_PID_Pi" , " TOF nSigma Pion with track selection and PID Selection of Pi; Entries" , kTH1F , {{100 , -15 , 15 }});
92+ histos.add (" tofNSigmaPi_WTS" , " TOF nSigma Pion with track selection; Events" , kTH1F , {{1000 , -15 , 15 }});
93+ histos.add (" tofNSigmaPi_WOTS" , " TOF nSigma Pion without track selection; Events" , kTH1F , {{1000 , -15 , 15 }});
94+ histos.add (" tofNSigmaPi_WTS_PID_Pi" , " TOF nSigma Pion with track selection and PID Selection of Pi; Entries" , kTH1F , {{1000 , -15 , 15 }});
95+
96+ // TOF nSigma of other particles with selected pion tracks
97+ histos.add (" tofNSigmaPi_WTS_PID_Pi_Ka" , " TOF nSigma Kaon with track selection and PID Selection of Pion; Entries" , kTH1F , {{1000 , -15 , 15 }});
98+ histos.add (" tofNSigmaPi_WTS_PID_Pi_Pr" , " TOF nSigma Proton with track selection and PID Selection of Pion; Entries" , kTH1F , {{1000 , -15 , 15 }});
99+ histos.add (" tofNSigmaPi_WTS_PID_Pi_El" , " TOF nSigma Electron with track selection and PID Selection of Pion; Entries" , kTH1F , {{1000 , -15 , 15 }});
100+ histos.add (" tofNSigmaPi_WTS_PID_Pi_Mu" , " TOF nSigma Muon with track selection and PID Selection of Pion; Entries" , kTH1F , {{1000 , -15 , 15 }});
89101
90102 // Track Transverse Momentum
91103 histos.add (" pT_track_WOTS" , " pT without track selection; pT [GeV/c]; Events" , kTH1F , {{nBins_pT, 0 , 2 }});
@@ -291,8 +303,19 @@ struct UPCAnalysis {
291303
292304 histos.fill (HIST (" tpcSignal_Pi" ), TMath::Sqrt (WTS_PID_Pi_tracks[i].px () * WTS_PID_Pi_tracks[i].px () + WTS_PID_Pi_tracks[i].py () * WTS_PID_Pi_tracks[i].py () + WTS_PID_Pi_tracks[i].pz () * WTS_PID_Pi_tracks[i].pz ()), WTS_PID_Pi_tracks[i].tpcSignal ());
293305 histos.fill (HIST (" tofBeta_Pi" ), TMath::Sqrt (WTS_PID_Pi_tracks[i].px () * WTS_PID_Pi_tracks[i].px () + WTS_PID_Pi_tracks[i].py () * WTS_PID_Pi_tracks[i].py () + WTS_PID_Pi_tracks[i].pz () * WTS_PID_Pi_tracks[i].pz ()), WTS_PID_Pi_tracks[i].beta ());
306+
294307 histos.fill (HIST (" tpcNSigmaPi_WTS_PID_Pi" ), WTS_PID_Pi_tracks[i].tpcNSigmaPi ());
308+ histos.fill (HIST (" tpcNSigmaPi_WTS_PID_Pi_Ka" ), WTS_PID_Pi_tracks[i].tpcNSigmaKa ());
309+ histos.fill (HIST (" tpcNSigmaPi_WTS_PID_Pi_Pr" ), WTS_PID_Pi_tracks[i].tpcNSigmaPr ());
310+ histos.fill (HIST (" tpcNSigmaPi_WTS_PID_Pi_El" ), WTS_PID_Pi_tracks[i].tpcNSigmaEl ());
311+ histos.fill (HIST (" tpcNSigmaPi_WTS_PID_Pi_Mu" ), WTS_PID_Pi_tracks[i].tpcNSigmaMu ());
312+
295313 histos.fill (HIST (" tofNSigmaPi_WTS_PID_Pi" ), WTS_PID_Pi_tracks[i].tofNSigmaPi ());
314+ histos.fill (HIST (" tofNSigmaPi_WTS_PID_Pi_Ka" ), WTS_PID_Pi_tracks[i].tofNSigmaKa ());
315+ histos.fill (HIST (" tofNSigmaPi_WTS_PID_Pi_Pr" ), WTS_PID_Pi_tracks[i].tofNSigmaPr ());
316+ histos.fill (HIST (" tofNSigmaPi_WTS_PID_Pi_El" ), WTS_PID_Pi_tracks[i].tofNSigmaEl ());
317+ histos.fill (HIST (" tofNSigmaPi_WTS_PID_Pi_Mu" ), WTS_PID_Pi_tracks[i].tofNSigmaMu ());
318+
296319 histos.fill (HIST (" pT_track_WTS_PID_Pi" ), TMath::Sqrt (WTS_PID_Pi_tracks[i].px () * WTS_PID_Pi_tracks[i].px () + WTS_PID_Pi_tracks[i].py () * WTS_PID_Pi_tracks[i].py ()));
297320 } // End of loop over tracks with selection and PID selection of Pions
298321
@@ -324,7 +347,7 @@ struct UPCAnalysis {
324347 k23 = k2 + k3;
325348 k24 = k2 + k4;
326349
327- if (fabs (p1234.Rapidity ()) < 0.5 ) {
350+ if (std:: fabs (p1234.Rapidity ()) < 0.5 ) {
328351 histos.fill (HIST (" pT_event_0charge_WTS_PID_Pi" ), p1234.Pt ());
329352 if (p1234.Pt () < 0.15 ) {
330353 histos.fill (HIST (" rapidity_event_0charge_WTS_PID_Pi_domainA" ), p1234.Rapidity ());
@@ -363,7 +386,7 @@ struct UPCAnalysis {
363386
364387 p1234 = p1 + p2 + p3 + p4;
365388
366- if (fabs (p1234.Rapidity ()) < 0.5 ) {
389+ if (std:: fabs (p1234.Rapidity ()) < 0.5 ) {
367390 histos.fill (HIST (" pT_event_non0charge_WTS_PID_Pi" ), p1234.Pt ());
368391
369392 if (p1234.Pt () < 0.15 ) {
@@ -391,5 +414,5 @@ struct UPCAnalysis {
391414WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
392415{
393416 return WorkflowSpec{
394- adaptAnalysisTask<UPCAnalysis >(cfgc)};
417+ adaptAnalysisTask<exclusiveRhoTo4Pi >(cfgc)};
395418}
0 commit comments