Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
]
},
"doBCshift": "1",
"useCustomRunNumber": "1",
"useCustomRunNumber": "0",
"axisPosition": {
"values": [
400,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
]
},
"calculationMethod": "0",
"calculateCascades": "-1",
"calculateCascades": "1",
"cascadeCalibration.qaV0DCADau": "0.5",
"axisNSigma": {
"values": [
Expand All @@ -131,7 +131,7 @@
]
},
"manualRunNumber": "544122",
"calculateV0TOFPIDs": "-1",
"calculateV0TOFPIDs": "1",
"cascadeCalibration.qaCascCosPA": "0.995",
"processDerivedData": "1",
"calculateV0s": "-1",
Expand All @@ -145,7 +145,7 @@
]
},
"doBCshift": "1",
"useCustomRunNumber": "1",
"useCustomRunNumber": "0",
"axisPosition": {
"values": [
400,
Expand All @@ -161,9 +161,9 @@
50000
]
},
"calculateCascTOFPIDs": "-1",
"calculateCascTOFPIDs": "1",
"ccdb.mVtxPath": "GLO/Calib/MeanVertex",
"calculateV0TOFDebugs": "-1",
"calculateV0TOFDebugs": "1",
"axisSnp": {
"values": [
220,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check failure on line 1 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/workflow-file]

Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand Down Expand Up @@ -49,15 +49,15 @@
Configurable<float> cutzvertex{"cutzvertex", 10.0f, "Accepted z-vertex range (cm)"};

// Configurable parameters for cascade selection
Configurable<double> cascadesetting_cospa{"cascadesetting_cospa", 0.98, "Casc CosPA"};

Check failure on line 52 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<double> cascadesetting_v0cospa{"cascadesetting_v0cospa", 0.97, "V0 CosPA"};

Check failure on line 53 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<float> cascadesetting_dcacascdau{"cascadesetting_dcacascdau", 1.0, "DCA cascade daughters"};

Check failure on line 54 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<float> cascadesetting_dcav0dau{"cascadesetting_dcav0dau", 1.0, "DCA v0 daughters"};

Check failure on line 55 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<float> cascadesetting_dcabachtopv{"cascadesetting_dcabachtopv", 0.06, "DCA bachelor to PV"};

Check failure on line 56 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<float> cascadesetting_dcapostopv{"cascadesetting_dcapostopv", 0.06, "DCA positive to PV"};

Check failure on line 57 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<float> cascadesetting_dcanegtopv{"cascadesetting_dcanegtopv", 0.06, "DCA negative to PV"};

Check failure on line 58 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<float> cascadesetting_mindcav0topv{"cascadesetting_mindcav0topv", 0.01, "minimum V0 DCA to PV"};

Check failure on line 59 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<float> cascadesetting_cascradius{"cascadesetting_cascradius", 0.5, "cascradius"};

Check failure on line 60 in Tutorials/PWGLF/Strangeness/Derived/Analysis/strangeness_derived_step3.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<float> cascadesetting_v0radius{"cascadesetting_v0radius", 1.2, "v0radius"};
Configurable<float> cascadesetting_v0masswindow{"cascadesetting_v0masswindow", 0.01, "v0 mass window"};
Configurable<float> cascadesetting_competingmassrej{"cascadesetting_competingmassrej", 0.008, "Competing mass rejection"};
Expand Down Expand Up @@ -117,7 +117,7 @@
using dauTracks = soa::Join<aod::DauTrackExtras, aod::DauTrackTPCPIDs>;

void process(soa::Filtered<soa::Join<aod::StraCollisions, aod::StraEvSels>>::iterator const& collision,
soa::Filtered<soa::Join<aod::CascCores, aod::CascExtras, aod::CascTOFNSigmas>> const& Cascades,
soa::Filtered<soa::Join<aod::CascCores, aod::CascExtras, aod::CascTOFNSigmas, aod::CascTOFPIDs>> const& Cascades,
dauTracks const&)
{
// Fill the event counter
Expand Down Expand Up @@ -167,15 +167,15 @@
bool xiPassTOFSelection = true;
bool omegaPassTOFSelection = true;
if (casc.sign() < 0) {
if (posDaughterTrackCasc.hasTOF()) {
if (casc.positiveHasTOF()) {
if (std::abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) {
xiPassTOFSelection &= false;
}
if (std::abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) {
omegaPassTOFSelection &= false;
}
}
if (negDaughterTrackCasc.hasTOF()) {
if (casc.negativeHasTOF()) {
if (std::abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) {
xiPassTOFSelection &= false;
}
Expand All @@ -184,15 +184,15 @@
}
}
} else {
if (posDaughterTrackCasc.hasTOF()) {
if (casc.positiveHasTOF()) {
if (std::abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) {
xiPassTOFSelection &= false;
}
if (std::abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) {
omegaPassTOFSelection &= false;
}
}
if (negDaughterTrackCasc.hasTOF()) {
if (casc.negativeHasTOF()) {
if (std::abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) {
xiPassTOFSelection &= false;
}
Expand All @@ -202,7 +202,7 @@
}
}

if (bachDaughterTrackCasc.hasTOF()) {
if (casc.bachelorHasTOF()) {
if (std::abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) {
xiPassTOFSelection &= false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ struct strangeness_derived_tutorial {
using dauTracks = soa::Join<aod::DauTrackExtras, aod::DauTrackTPCPIDs, aod::DauTrackMCIds>;

void processRecMC(soa::Filtered<soa::Join<aod::StraCollisions, aod::StraEvSels>>::iterator const& collision,
soa::Filtered<soa::Join<aod::CascCores, aod::CascExtras, aod::CascTOFNSigmas, aod::CascCoreMCLabels>> const& Cascades,
soa::Filtered<soa::Join<aod::CascCores, aod::CascExtras, aod::CascTOFNSigmas, aod::CascTOFPIDs, aod::CascCoreMCLabels>> const& Cascades,
dauTracks const&,
aod::CascMCCores const& /*cascmccores*/)
{
Expand Down Expand Up @@ -186,15 +186,15 @@ struct strangeness_derived_tutorial {
bool xiPassTOFSelection = true;
bool omegaPassTOFSelection = true;
if (casc.sign() < 0) {
if (posDaughterTrackCasc.hasTOF()) {
if (casc.positiveHasTOF()) {
if (std::abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) {
xiPassTOFSelection &= false;
}
if (std::abs(casc.tofNSigmaOmLaPr()) > NSigmaTOFProton) {
omegaPassTOFSelection &= false;
}
}
if (negDaughterTrackCasc.hasTOF()) {
if (casc.negativeHasTOF()) {
if (std::abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) {
xiPassTOFSelection &= false;
}
Expand All @@ -203,15 +203,15 @@ struct strangeness_derived_tutorial {
}
}
} else {
if (posDaughterTrackCasc.hasTOF()) {
if (casc.positiveHasTOF()) {
if (std::abs(casc.tofNSigmaXiLaPi()) > NSigmaTOFPion) {
xiPassTOFSelection &= false;
}
if (std::abs(casc.tofNSigmaOmLaPi()) > NSigmaTOFPion) {
omegaPassTOFSelection &= false;
}
}
if (negDaughterTrackCasc.hasTOF()) {
if (casc.negativeHasTOF()) {
if (std::abs(casc.tofNSigmaXiLaPr()) > NSigmaTOFProton) {
xiPassTOFSelection &= false;
}
Expand All @@ -221,16 +221,7 @@ struct strangeness_derived_tutorial {
}
}

if (bachDaughterTrackCasc.hasTOF()) {
if (std::abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) {
xiPassTOFSelection &= false;
}
if (std::abs(casc.tofNSigmaOmKa()) > NSigmaTOFKaon) {
omegaPassTOFSelection &= false;
}
}

if (bachDaughterTrackCasc.hasTOF()) {
if (casc.bachelorHasTOF()) {
if (std::abs(casc.tofNSigmaXiPi()) > NSigmaTOFPion) {
xiPassTOFSelection &= false;
}
Expand Down
41 changes: 0 additions & 41 deletions Tutorials/PWGLF/Strangeness/PbPb/Analysis/CMakeLists.txt

This file was deleted.

24 changes: 0 additions & 24 deletions Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_skeleton.sh

This file was deleted.

24 changes: 0 additions & 24 deletions Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step0.sh

This file was deleted.

24 changes: 0 additions & 24 deletions Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step1.sh

This file was deleted.

24 changes: 0 additions & 24 deletions Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step2.sh

This file was deleted.

24 changes: 0 additions & 24 deletions Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step3.sh

This file was deleted.

24 changes: 0 additions & 24 deletions Tutorials/PWGLF/Strangeness/PbPb/Analysis/run_step4.sh

This file was deleted.

Loading
Loading