You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx
+27-14Lines changed: 27 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,7 @@ struct HStrangeCorrelation {
128
128
Configurable<bool> useCentralityinPrediction{"useCentralityinPrediction", false, "if true, use centrality instead of multiplisity"};
129
129
Configurable<bool> doMirroringInDelataEta{"doMirroringInDelataEta", false, "if true, fill only positive delta eta and mirror the negative side in post processing, Adjust the delta axis!"};
130
130
Configurable<bool> fillCorrelationHistWithMass{"fillCorrelationHistWithMass", false, "if true, fill correlation histograms with particle mass"};
131
+
Configurable<bool> doMassSpectrumCheck{"doMassSpectrumCheck", false, "if true, add and fill invariant-mass spectrum"};
131
132
} masterConfigurations;
132
133
133
134
// master analysis switches
@@ -380,6 +381,19 @@ struct HStrangeCorrelation {
380
381
staticconstexprint IndexLambda = 1;
381
382
staticconstexprint IndexAntiLambda = 2;
382
383
384
+
template <int Index, typenameTV0>
385
+
staticfloatgetV0InvariantMass(TV0const& v0)
386
+
{
387
+
static_assert(Index >= IndexK0 && Index <= IndexAntiLambda);
0 commit comments