Skip to content

Commit 8c2a0ac

Browse files
author
Lucia Anna Tarasovicova
committed
improvement of configurables
1 parent 6ec95e2 commit 8c2a0ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ALICE3/Tasks/alice3-strangeness.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct alice3strangeness {
6767
HistogramRegistry histos{"histos", {}, OutputObjHandlingPolicy::AnalysisObject};
6868

6969
Configurable<int> idGeometry{"idGeometry", 0, "geometry ID used for propagation"};
70-
struct ConfigurableGroup {
70+
struct : ConfigurableGroup {
7171
ConfigurableAxis axisPt{"axisPt", {VARIABLE_WIDTH, 0.0f, 0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f, 0.9f, 1.0f, 1.1f, 1.2f, 1.3f, 1.4f, 1.5f, 1.6f, 1.7f, 1.8f, 1.9f, 2.0f, 2.2f, 2.4f, 2.6f, 2.8f, 3.0f, 3.2f, 3.4f, 3.6f, 3.8f, 4.0f, 4.4f, 4.8f, 5.2f, 5.6f, 6.0f, 6.5f, 7.0f, 7.5f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 17.0f, 19.0f, 21.0f, 23.0f, 25.0f, 30.0f, 35.0f, 40.0f, 50.0f}, "pt axis for QA histograms"};
7272
ConfigurableAxis axisK0Mass{"axisK0Mass", {200, 0.4f, 0.6f}, ""};
7373
ConfigurableAxis axisLambdaMass{"axisLambdaMass", {200, 1.08f, 1.2f}, ""};
@@ -81,6 +81,7 @@ struct alice3strangeness {
8181
} histAxes;
8282

8383
struct : ConfigurableGroup {
84+
std::string prefix = "selectionFlags";
8485
Configurable<bool> applyRapiditySelection{"applyRapiditySelection", true, "apply rapidity selection"};
8586
Configurable<bool> applyDCAdaughterSelection{"applyDCADaughterSelection", true, "apply DCA daughter selection"};
8687
Configurable<bool> applyCosOfPAngleSelection{"applyCosOfPAngleSelection", true, "apply cosine of pointing angle selection"};
@@ -94,6 +95,7 @@ struct alice3strangeness {
9495
} selectionFlags;
9596

9697
struct : ConfigurableGroup {
98+
std::string prefix = "selectionValues";
9799
Configurable<float> yK0Selection{"yK0Selection", 0.5f, "rapidity selection for K0"};
98100
Configurable<float> yLambdaSelection{"yLambdaSelection", 0.5f, "rapidity selection for Lambda"};
99101
Configurable<float> dcaDaughterSelection{"dcaDaughterSelection", 1.0f, "DCA daughter selection"};

0 commit comments

Comments
 (0)