Skip to content

Commit b2879de

Browse files
author
Christopher Klumm
committed
update on K0Short selection added to resoselection.
Updated producer task and necessary header.
1 parent 75e6ca4 commit b2879de

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

PWGCF/FemtoDream/TableProducer/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ o2physics_add_dpl_workflow(femtodream-producer-reso
2020
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::EventFilteringUtils
2121
COMPONENT_NAME Analysis)
2222

23+
24+
o2physics_add_dpl_workflow(femtodream-producer-withcascades
25+
SOURCES femtoDreamProducerTaskWithCascades.cxx
26+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::EventFilteringUtils
27+
COMPONENT_NAME Analysis)
28+
2329
o2physics_add_dpl_workflow(femtodream-producer-reduced
2430
SOURCES femtoDreamProducerReducedTask.cxx
2531
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore

PWGCF/FemtoDream/TableProducer/femtoDreamProducerTaskResoKshort.cxx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
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

Comments
 (0)