Skip to content

Commit 5641b3e

Browse files
authored
Merge branch 'AliceO2Group:master' into master
2 parents 6ff22e9 + 26354ff commit 5641b3e

File tree

22 files changed

+2611
-1066
lines changed

22 files changed

+2611
-1066
lines changed

ALICE3/TableProducer/alice3-multicharmTable.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ struct alice3multicharmTable {
723723
histos.fill(HIST("hDCAxyXiCC"), std::fabs(xiccdcaXY * 1e+4));
724724
histos.fill(HIST("hDCAzXiCC"), std::fabs(xiccdcaZ * 1e+4));
725725

726-
if (std::fabs(thisXiCcandidate.eta) > xiccMaxEta)
726+
if (std::fabs(thisXiCCcandidate.eta) > xiccMaxEta)
727727
continue; // not in central barrel
728728

729729
histos.fill(HIST("hCharmBuilding"), 3.0f);

EventFiltering/Zorro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class Zorro
7474

7575
ZorroSummary mZorroSummary{"ZorroSummary", "ZorroSummary"};
7676

77-
std::string mBaseCCDBPath = "Users/m/mpuccio/EventFiltering/OTS/Chunked/";
77+
std::string mBaseCCDBPath = "EventFiltering/Zorro/";
7878
int mRunNumber = 0;
7979
std::pair<int64_t, int64_t> mRunDuration;
8080
int64_t mOrbitResetTimestamp = 0;

PWGCF/EbyEFluctuations/Tasks/eventMeanPtId.cxx

Lines changed: 188 additions & 248 deletions
Large diffs are not rendered by default.

PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx

Lines changed: 264 additions & 155 deletions
Large diffs are not rendered by default.

PWGCF/FemtoUniverse/Tasks/femtoUniverseEfficiencyBase.cxx

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ struct FemtoUniverseEfficiencyBase {
7070

7171
/// Kaon configurable
7272
Configurable<bool> isKaonRun2{"isKaonRun2", false, "Enable kaon selection used in Run2"}; // to check consistency with Run2 results
73+
Configurable<bool> isKaonLF{"isKaonLF", false, "Enable kaon selection used in LF group"}; // select kaons according to the selection in LF group
7374
struct : o2::framework::ConfigurableGroup {
7475
// Momentum thresholds for Run2 and Run3
7576
Configurable<float> confMomKaonRun2{"confMomKaonRun2", 0.4, "Momentum threshold for kaon identification using ToF (Run2)"};
@@ -93,6 +94,10 @@ struct FemtoUniverseEfficiencyBase {
9394
Configurable<float> confKaonNsigmaTOFfrom055to15{"confKaonNsigmaTOFfrom055to15", 3.0, "Reject kaons within pT from 0.55 to 1.5 if ToF n sigma is above this value."};
9495
Configurable<float> confKaonNsigmaTPCfrom15{"confKaonNsigmaTPCfrom15", 3.0, "Reject kaons with pT above 1.5 if TPC n sigma is above this value."};
9596
Configurable<float> confKaonNsigmaTOFfrom15{"confKaonNsigmaTOFfrom15", 2.0, "Reject kaons with pT above 1.5 if ToF n sigma is above this value.."};
97+
// n sigma cuts as in LF
98+
Configurable<float> confMomKaonLF{"confMomKaonLF", 0.5, "Momentum threshold for kaon identification using TOF (LF selection)"};
99+
Configurable<float> confNSigmaTPCKaonLF{"confNSigmaTPCKaonLF", 3.0, "TPC Kaon Sigma as in LF"};
100+
Configurable<float> confNSigmaCombKaonLF{"confNSigmaCombKaonLF", 3.0, "TPC and TOF Kaon Sigma (combined) as in LF"};
96101
} ConfKaonSelection;
97102

98103
/// Deuteron configurables
@@ -259,6 +264,25 @@ struct FemtoUniverseEfficiencyBase {
259264
}
260265
}
261266

267+
bool isKaonNSigmaLF(float mom, float nsigmaTPCK, float nsigmaTOFK)
268+
{
269+
if (mom < ConfKaonSelection.confMomKaonLF) {
270+
if (std::abs(nsigmaTPCK) < ConfKaonSelection.confNSigmaTPCKaonLF) {
271+
return true;
272+
} else {
273+
return false;
274+
}
275+
} else if (mom >= ConfKaonSelection.confMomKaonLF) {
276+
if (std::sqrt(nsigmaTPCK * nsigmaTPCK + nsigmaTOFK * nsigmaTOFK) < ConfKaonSelection.confNSigmaCombKaonLF) {
277+
return true;
278+
} else {
279+
return false;
280+
}
281+
} else {
282+
return false;
283+
}
284+
}
285+
262286
bool isPionNSigma(float mom, float nsigmaTPCPi, float nsigmaTOFPi)
263287
{
264288
if (mom < ConfBothTracks.confMomPion) {
@@ -303,7 +327,11 @@ struct FemtoUniverseEfficiencyBase {
303327
break;
304328
case 321: // Kaon+
305329
case -321: // Kaon-
306-
return isKaonNSigma(mom, nsigmaTPCK, nsigmaTOFK);
330+
if (isKaonLF) {
331+
return isKaonNSigmaLF(mom, nsigmaTPCK, nsigmaTOFK);
332+
} else {
333+
return isKaonNSigma(mom, nsigmaTPCK, nsigmaTOFK);
334+
}
307335
break;
308336
case 1000010020: // Deuteron
309337
case -1000010020: // Antideuteron

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackD0.cxx

Lines changed: 377 additions & 264 deletions
Large diffs are not rendered by default.

PWGCF/Flow/Tasks/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,8 @@ o2physics_add_dpl_workflow(flow-ese-task
8888
SOURCES flowEseTask.cxx
8989
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::GFWCore
9090
COMPONENT_NAME Analysis)
91+
92+
o2physics_add_dpl_workflow(flow-gfw-ese
93+
SOURCES flowGfwEse.cxx
94+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::GFWCore
95+
COMPONENT_NAME Analysis)

PWGCF/Flow/Tasks/flowGfwEse.cxx

Lines changed: 1200 additions & 0 deletions
Large diffs are not rendered by default.

PWGCF/MultiparticleCorrelations/Tasks/threeParticleCorrelations.cxx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct ThreeParticleCorrelations {
4545

4646
// Track PID parameters
4747
double pionID = 0.0, kaonID = 1.0, protonID = 2.0;
48-
float nSigma0 = 0.0, nSigma2 = 2.0, nSigma4 = 4.0, nSigma5 = 5.0;
48+
float nSigma0 = 0.0, nSigma1 = 1.0, nSigma2 = 2.0, nSigma4 = 4.0, nSigma5 = 5.0;
4949

5050
// V0 filter parameters
5151
float tpcNCrossedRowsMin = 70.0;
@@ -55,8 +55,8 @@ struct ThreeParticleCorrelations {
5555
int dcaV0DauMax = 1;
5656

5757
// Track filter parameters
58-
float pionPtMin = 0.3, pionPtMax = 2.3, kaonPtMin = 0.5, kaonPtMax = 2.5, protonPtMin = 0.5, protonPtMax = 2.5;
59-
float pionPtMid = 1.5, kaonPtMid1 = 1.5, kaonPtMid2 = 2.0, protonPtMid = 0.7;
58+
float pionPtMin = 0.3, pionPtMax = 2.3, kaonPtMin = 0.5, kaonPtMax = 2.3, protonPtMin = 0.6;
59+
float pionPtMid1 = 1.6, pionPtMid2 = 2.0, kaonPtMid1 = 1.5, kaonPtMid2 = 2.0, protonPtMid = 2.3;
6060

6161
// RD filter parameters
6262
float dEtaMax = 0.05, dEtaMin = 0.023;
@@ -1002,11 +1002,15 @@ struct ThreeParticleCorrelations {
10021002
}
10031003
if (track.pt() < pionPtMin) {
10041004
return false;
1005-
} else if (track.pt() > pionPtMin && track.pt() < pionPtMid) {
1005+
} else if (track.pt() > pionPtMin && track.pt() < pionPtMid1) {
10061006
if (std::abs(track.tofNSigmaPi()) >= nSigma4) {
10071007
return false;
10081008
}
1009-
} else if (track.pt() > pionPtMid && track.pt() < pionPtMax) {
1009+
} else if (track.pt() > pionPtMid1 && track.pt() < pionPtMid2) {
1010+
if (track.tofNSigmaPi() <= -nSigma4 || track.tofNSigmaPi() >= -nSigma2) {
1011+
return false;
1012+
}
1013+
} else if (track.pt() > pionPtMid2 && track.pt() < pionPtMax) {
10101014
if (track.tofNSigmaPi() <= -nSigma4 || track.tofNSigmaPi() >= nSigma0) {
10111015
return false;
10121016
}
@@ -1025,7 +1029,7 @@ struct ThreeParticleCorrelations {
10251029
return false;
10261030
}
10271031
} else if (track.pt() > kaonPtMid1 && track.pt() < kaonPtMid2) {
1028-
if (track.tofNSigmaKa() <= -nSigma2 || track.tofNSigmaKa() >= nSigma4) {
1032+
if (track.tofNSigmaKa() <= -nSigma1 || track.tofNSigmaKa() >= nSigma4) {
10291033
return false;
10301034
}
10311035
} else if (track.pt() > kaonPtMid2 && track.pt() < kaonPtMax) {
@@ -1043,14 +1047,10 @@ struct ThreeParticleCorrelations {
10431047
if (track.pt() < protonPtMin) {
10441048
return false;
10451049
} else if (track.pt() > protonPtMin && track.pt() < protonPtMid) {
1046-
if (track.tofNSigmaPr() <= -nSigma2 || track.tofNSigmaPr() >= nSigma4) {
1047-
return false;
1048-
}
1049-
} else if (track.pt() > protonPtMid && track.pt() < protonPtMax) {
10501050
if (std::abs(track.tofNSigmaPr()) >= nSigma4) {
10511051
return false;
10521052
}
1053-
} else if (track.pt() > protonPtMax) {
1053+
} else if (track.pt() > protonPtMid) {
10541054
if (track.tofNSigmaPr() <= -nSigma2 || track.tofNSigmaPr() >= nSigma4) {
10551055
return false;
10561056
}

PWGDQ/Core/HistogramsLibrary.cxx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,6 +1621,12 @@ void o2::aod::dqhistograms::DefineHistograms(HistogramManager* hm, const char* h
16211621
hm->AddHistogram(histClass, "MassMult", "", false, 750, 0.0, 15.0, VarManager::kMass, 301, -0.5, 300.5, VarManager::kVtxNcontrib);
16221622
hm->AddHistogram(histClass, "MassVtxZMult", "", false, 300, 0.0, 6.0, VarManager::kMass, 60, -15.0, 15.0, VarManager::kVtxZ, 100, 0.0, 100.0, VarManager::kVtxNcontrib);
16231623
}
1624+
if (subGroupStr.Contains("dimuon-drellyan")) {
1625+
hm->AddHistogram(histClass, "DY_mass", "", false, 5000, 0.0, 50.0, VarManager::kMass); // 10 MeV mass res
1626+
hm->AddHistogram(histClass, "DY_pT", "", false, 2000, 0.0, 100.0, VarManager::kPt); // 50 MeV pT res
1627+
hm->AddHistogram(histClass, "DY_y", "", false, 20, 2.0, 4.0, VarManager::kRap);
1628+
hm->AddHistogram(histClass, "DY_phi", "", false, 180, constants::math::PI, 2 * constants::math::PI, VarManager::kPhi);
1629+
}
16241630
} else if (subGroupStr.Contains("electronmuon")) {
16251631
hm->AddHistogram(histClass, "Mass", "", false, 750, 0.0, 30.0, VarManager::kMass);
16261632
hm->AddHistogram(histClass, "Pt", "", false, 120, 0.0, 30.0, VarManager::kPt);
@@ -1986,13 +1992,6 @@ void o2::aod::dqhistograms::DefineHistograms(HistogramManager* hm, const char* h
19861992
hm->AddHistogram(histClass, "Mass_Pt", "", false, 500, 0.0, 5.0, VarManager::kMassDau, 200, 0.0, 20.0, VarManager::kPt);
19871993
hm->AddHistogram(histClass, "Rapidity", "", false, 400, -4.0, 4.0, VarManager::kRap);
19881994
}
1989-
1990-
if (subGroupStr.Contains("DY-dimuon")) {
1991-
hm->AddHistogram(histClass, "DY_mass", "", false, 5000, 0.0, 50.0, VarManager::kMass); // 10 MeV mass res
1992-
hm->AddHistogram(histClass, "DY_pT", "", false, 2000, 0.0, 100.0, VarManager::kPt); // 50 MeV pT res
1993-
hm->AddHistogram(histClass, "DY_y", "", false, 20, 2.0, 4.0, VarManager::kRap);
1994-
hm->AddHistogram(histClass, "DY_phi", "", false, 180, constants::math::PI, 2 * constants::math::PI, VarManager::kPhi);
1995-
}
19961995
}
19971996

19981997
//__________________________________________________________________

0 commit comments

Comments
 (0)