@@ -761,7 +761,7 @@ struct tofSpectra {
761761 hDcaXYWrongCollisionPrm[i] = histos.add <TH2>(" dcaxywrongcollprm" + cpName, pTCharge[i], kTH2D , {ptAxis, dcaXyAxis});
762762 hDcaXYWrongCollisionStr[i] = histos.add <TH2>(" dcaxywrongcollstr" + cpName, pTCharge[i], kTH2D , {ptAxis, dcaXyAxis});
763763 hDcaXYWrongCollisionMat[i] = histos.add <TH2>(" dcaxywrongcollmat" + cpName, pTCharge[i], kTH2D , {ptAxis, dcaXyAxis});
764-
764+
765765 histos.add (hdcaxyprm[i].data (), pTCharge[i], kTH2D , {ptAxis, dcaXyAxis});
766766 histos.add (hdcazprm[i].data (), pTCharge[i], kTH2D , {ptAxis, dcaZAxis});
767767 histos.add (hdcaxystr[i].data (), pTCharge[i], kTH2D , {ptAxis, dcaXyAxis});
@@ -1060,7 +1060,7 @@ struct tofSpectra {
10601060 }
10611061 }
10621062 }
1063- }
1063+ }
10641064 const bool isInPtRangeForPhi = track.pt () < 1 .1f && track.pt () > 0 .9f ;
10651065 if (track.sign () > 0 ) {
10661066 histos.fill (HIST (hdcaxy[id]), track.pt (), track.dcaXY ());
@@ -1070,8 +1070,7 @@ struct tofSpectra {
10701070 histos.fill (HIST (hdcaxyphi[id]), track.phi (), track.dcaXY ());
10711071 }
10721072 }
1073- }
1074- else {
1073+ } else {
10751074 histos.fill (HIST (hdcaxy[id + Np]), track.pt (), track.dcaXY ());
10761075 histos.fill (HIST (hdcaz[id + Np]), track.pt (), track.dcaZ ());
10771076 if (isInPtRangeForPhi) {
@@ -1912,7 +1911,7 @@ struct tofSpectra {
19121911
19131912 const auto & nsigmaTOFKa = o2::aod::pidutils::tofNSigma<3 >(track);
19141913 const bool isKaonTOF = std::abs (nsigmaTOFKa) < trkselOptions.cfgCutNsigma ;
1915- if (enablepuredcahist){
1914+ if (enablepuredcahist) {
19161915 // Filling DCA info with the TPC+TOF PID
19171916 bool isDCAPureSample = (std::sqrt (nsigmaTOFKa * nsigmaTOFKa + nsigmaTPCKa * nsigmaTPCKa) < 2 .f );
19181917 if (track.pt () <= 0.4 ) {
@@ -2052,7 +2051,7 @@ struct tofSpectra {
20522051 } else {
20532052 hDcaXYWrongCollisionPrm[i]->Fill (track.pt (), track.dcaXY ());
20542053 }
2055- }
2054+ }
20562055
20572056 if (!passesDCAxyCut (track)) { // Skipping tracks that don't pass the standard cuts
20582057 return ;
@@ -2778,4 +2777,4 @@ struct tofSpectra {
27782777
27792778}; // end of spectra task
27802779
2781- WorkflowSpec defineDataProcessing (ConfigContext const & cfgc) { return WorkflowSpec{adaptAnalysisTask<tofSpectra>(cfgc)}; }
2780+ WorkflowSpec defineDataProcessing (ConfigContext const & cfgc) { return WorkflowSpec{adaptAnalysisTask<tofSpectra>(cfgc)}; }
0 commit comments