5151
5252#include < fairlogger/Logger.h>
5353
54- #include < fstream> // delete after debugging
55- #include < iostream> // delete in the end
5654#include < string>
5755#include < vector>
5856
@@ -385,7 +383,7 @@ struct femtoDreamProducerTaskResoKshort {
385383 }
386384
387385 if (ConfIsActivateReso.value ) {
388- // resoCuts.setDaughterCuts(femtoDreamResoSelection::kPosdaugh,Resonance.ConfDaughterCharge, femtoDreamTrackSelection::kSign, femtoDreamSelection::kEqual);
386+ resoCuts.setDaughterCuts (femtoDreamResoSelection::kPosdaugh ,Resonance.ConfDaughterCharge , femtoDreamTrackSelection::kSign , femtoDreamSelection::kEqual );
389387 resoCuts.setDaughterCuts (femtoDreamResoSelection::kPosdaugh , Resonance.ConfDaughterPtMax , femtoDreamTrackSelection::kpTMax, femtoDreamSelection::kUpperLimit );
390388 resoCuts.setDaughterCuts (femtoDreamResoSelection::kPosdaugh , Resonance.ConfDaughterPtMin , femtoDreamTrackSelection::kpTMin, femtoDreamSelection::kLowerLimit );
391389 resoCuts.setDaughterCuts (femtoDreamResoSelection::kPosdaugh , Resonance.ConfDaughterEtaMax , femtoDreamTrackSelection::kEtaMax , femtoDreamSelection::kAbsUpperLimit );
@@ -396,7 +394,7 @@ struct femtoDreamProducerTaskResoKshort {
396394 resoCuts.setDaughterCuts (femtoDreamResoSelection::kPosdaugh , Resonance.ConfDaughterDCAzMax , femtoDreamTrackSelection::kDCAzMax , femtoDreamSelection::kAbsUpperLimit );
397395 resoCuts.setDaughterCuts (femtoDreamResoSelection::kPosdaugh , Resonance.ConfDaughterPIDnSigmaMax , femtoDreamTrackSelection::kPIDnSigmaMax , femtoDreamSelection::kAbsUpperLimit );
398396
399- // resoCuts.setDaughterCuts(femtoDreamResoSelection::kNegdaugh,Resonance.ConfDaughterCharge, femtoDreamTrackSelection::kSign, femtoDreamSelection::kEqual);
397+ resoCuts.setDaughterCuts (femtoDreamResoSelection::kNegdaugh ,Resonance.ConfDaughterCharge , femtoDreamTrackSelection::kSign , femtoDreamSelection::kEqual );
400398 resoCuts.setDaughterCuts (femtoDreamResoSelection::kNegdaugh , Resonance.ConfDaughterPtMax , femtoDreamTrackSelection::kpTMax, femtoDreamSelection::kUpperLimit );
401399 resoCuts.setDaughterCuts (femtoDreamResoSelection::kNegdaugh , Resonance.ConfDaughterPtMin , femtoDreamTrackSelection::kpTMin, femtoDreamSelection::kLowerLimit );
402400 resoCuts.setDaughterCuts (femtoDreamResoSelection::kNegdaugh , Resonance.ConfDaughterEtaMax , femtoDreamTrackSelection::kEtaMax , femtoDreamSelection::kAbsUpperLimit );
@@ -700,7 +698,6 @@ struct femtoDreamProducerTaskResoKshort {
700698
701699 std::vector<int > childIDs = {0 , 0 }; // these IDs are necessary to keep track of the children
702700 std::vector<int > tmpIDtrack; // this vector keeps track of the matching of the primary track table row <-> aod::track table global index
703-
704701 for (auto & track : tracksWithItsPid) {
705702
706703 // / if the most open selection criteria are not fulfilled there is no
@@ -871,7 +868,6 @@ struct femtoDreamProducerTaskResoKshort {
871868 ResoIsNotAnti = isNormal;
872869 }
873870 // / Resos, where both daughters have the same PID are defaulted to sign 1. and ResoIsNotAnti = true
874-
875871 ResoRegistry.fill (HIST (" AnalysisQA/Reso/Daughter1/Pt" ), track1.pt ());
876872 ResoRegistry.fill (HIST (" AnalysisQA/Reso/Daughter2/Pt" ), track2.pt ());
877873 ResoRegistry.fill (HIST (" AnalysisQA/Reso/Daughter1/Eta" ), track1.eta ());
@@ -1055,7 +1051,6 @@ struct femtoDreamProducerTaskResoKshort {
10551051 // fill the tables
10561052 auto tracksWithItsPid = soa::Attach<aod::FemtoFullTracks, aod::pidits::ITSNSigmaEl, aod::pidits::ITSNSigmaPi, aod::pidits::ITSNSigmaKa,
10571053 aod::pidits::ITSNSigmaPr, aod::pidits::ITSNSigmaDe, aod::pidits::ITSNSigmaTr, aod::pidits::ITSNSigmaHe>(tracks);
1058-
10591054 if (ConfUseItsPid.value ) {
10601055 fillCollisionsAndTracksAndV0<false , true , true , true >(col, tracks, tracksWithItsPid, fullV0s);
10611056 } else {
0 commit comments