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
16 changes: 8 additions & 8 deletions PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
Configurable<float> strangedEdxNSigma{"strangedEdxNSigma", 4, "Nsigmas for strange decay daughters"};
Configurable<float> strangedEdxNSigmaTight{"strangedEdxNSigmaTight", 3, "Nsigmas for strange decay daughters"};

// event filtering
// event filtering
Configurable<std::string> zorroMask{"zorroMask", "", "zorro trigger class to select on (empty: none)"};

// Trigger particle selections in phase space
Expand Down Expand Up @@ -102,11 +102,11 @@
Configurable<float> cascadesetting_mindcav0topv{"cascadesetting_mindcav0topv", 0.01, "cascadesetting_mindcav0topv"};

// invariant mass parametrizations
Configurable<std::vector<float>> massParsK0Mean{"massParsK0Mean", {0.495, 0.000250, 0.0, 0.0}, "pars in [0]+[1]*x+[2]*TMath::Exp(-[3]*x)"};

Check warning on line 105 in PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
Configurable<std::vector<float>> massParsK0Width{"massParsK0Width", {0.00354, 0.000609, 0.0, 0.0}, "pars in [0]+[1]*x+[2]*TMath::Exp(-[3]*x)"};

Check warning on line 106 in PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.

Configurable<std::vector<float>> massParsLambdaMean{"massParsLambdaMean", {1.114, 0.000314, 0.140, 11.9}, "pars in [0]+[1]*x+[2]*TMath::Exp(-[3]*x)"};

Check warning on line 108 in PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.
Configurable<std::vector<float>> massParsLambdaWidth{"massParsLambdaWidth", {0.00127, 0.000172, 0.00261, 2.02}, "pars in [0]+[1]*x+[2]*TMath::Exp(-[3]*x)"};

Check warning on line 109 in PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[root-entity]

Consider replacing ROOT entities with equivalents from standard C++ or from O2.

Configurable<std::vector<float>> massParsCascadeMean{"massParsCascadeMean", {1.32, 0.000278, 0.0, 0.0}, "pars in [0]+[1]*x+[2]*TMath::Exp(-[3]*x)"};
Configurable<std::vector<float>> massParsCascadeWidth{"massParsCascadeWidth", {0.00189, 0.000227, 0.00370, 1.635}, "pars in [0]+[1]*x+[2]*TMath::Exp(-[3]*x)"};
Expand Down Expand Up @@ -192,7 +192,7 @@

zorro.initCCDB(ccdb.service, bc.runNumber(), bc.timestamp(), zorroMask.value);
zorro.populateHistRegistry(histos, bc.runNumber());

mRunNumber = bc.runNumber();
}

Expand Down Expand Up @@ -233,7 +233,7 @@
if (TMath::Abs(collision.posZ()) > 10.0) {
return;
}
if (zorroMask.value != ""){
if (zorroMask.value != "") {
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
initCCDB(bc);
bool zorroSelected = zorro.isSelected(collision.bc_as<aod::BCsWithTimestamps>().globalBC()); /// Just let Zorro do the accounting
Expand Down Expand Up @@ -266,7 +266,7 @@
if (TMath::Abs(collision.posZ()) > 10.0) {
return;
}
if (zorroMask.value != ""){
if (zorroMask.value != "") {
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
initCCDB(bc);
bool zorroSelected = zorro.isSelected(collision.bc_as<aod::BCsWithTimestamps>().globalBC()); /// Just let Zorro do the accounting
Expand Down Expand Up @@ -305,7 +305,7 @@
if (TMath::Abs(collision.posZ()) > 10.0) {
return;
}
if (zorroMask.value != ""){
if (zorroMask.value != "") {
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
initCCDB(bc);
bool zorroSelected = zorro.isSelected(collision.bc_as<aod::BCsWithTimestamps>().globalBC()); /// Just let Zorro do the accounting
Expand Down Expand Up @@ -379,7 +379,7 @@
if (TMath::Abs(collision.posZ()) > 10.0) {
return;
}
if (zorroMask.value != ""){
if (zorroMask.value != "") {
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
initCCDB(bc);
bool zorroSelected = zorro.isSelected(collision.bc_as<aod::BCsWithTimestamps>().globalBC()); /// Just let Zorro do the accounting
Expand Down Expand Up @@ -421,7 +421,7 @@
if (TMath::Abs(collision.posZ()) > 10.0) {
return;
}
if (zorroMask.value != ""){
if (zorroMask.value != "") {
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
initCCDB(bc);
bool zorroSelected = zorro.isSelected(collision.bc_as<aod::BCsWithTimestamps>().globalBC()); /// Just let Zorro do the accounting
Expand Down Expand Up @@ -512,7 +512,7 @@
if (TMath::Abs(collision.posZ()) > 10.0) {
return;
}
if (zorroMask.value != ""){
if (zorroMask.value != "") {
auto bc = collision.bc_as<aod::BCsWithTimestamps>();
initCCDB(bc);
bool zorroSelected = zorro.isSelected(collision.bc_as<aod::BCsWithTimestamps>().globalBC()); /// Just let Zorro do the accounting
Expand Down
6 changes: 3 additions & 3 deletions PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct correlateStrangeness {

HistogramRegistry histos{"Histos", {}, OutputObjHandlingPolicy::AnalysisObject};

// event filtering
// event filtering
Configurable<string> zorroMask{"zorroMask", "", "zorro trigger class to select on (empty: none)"};

Zorro zorro;
Expand Down Expand Up @@ -211,7 +211,7 @@ struct correlateStrangeness {

zorro.initCCDB(ccdb.service, bc.runNumber(), bc.timestamp(), zorroMask.value);
zorro.populateHistRegistry(histos, bc.runNumber());

mRunNumberZorro = bc.runNumber();
}

Expand Down Expand Up @@ -839,7 +839,7 @@ struct correlateStrangeness {
if (!collision.isInelGt0() && selectINELgtZERO) {
return false;
}
if (zorroMask.value != ""){
if (zorroMask.value != "") {
auto bc = collision.template bc_as<aod::BCsWithTimestamps>();
initZorro(bc);
bool zorroSelected = zorro.isSelected(collision.template bc_as<aod::BCsWithTimestamps>().globalBC()); /// Just let Zorro do the accounting
Expand Down
Loading