Skip to content
Merged
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
36 changes: 18 additions & 18 deletions Common/Tasks/centralityQa.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

struct CentralityQa {
Configurable<int> nBins{"nBins", 1050, "number of bins"};
Configurable<bool> INELgtZERO{"INELgtZERO", 1, "0 - no, 1 - yes"};

Check failure on line 30 in Common/Tasks/centralityQa.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> vertexZcut{"vertexZcut", 10, "vertex-Z position cut (absolute value in cm)"};
OutputObj<TH1F> hCentRun2V0M{TH1F("hCentRun2V0M", "V0M", nBins, 0, 105.)};
OutputObj<TH1F> hCentRun2V0A{TH1F("hCentRun2V0A", "V0A", nBins, 0, 105.)};
Expand Down Expand Up @@ -116,11 +116,11 @@
if (INELgtZERO && col.multNTracksPVeta1() < 1) {
return;
}
if (!col.sel8()){
if (!col.sel8()) {
return;
}
if (std::abs(col.posZ()) > vertexZcut){
return;
if (std::abs(col.posZ()) > vertexZcut) {
return;
}
LOGF(debug, "centFV0A=%.0f", col.centFV0A());
hCentFV0A->Fill(col.centFV0A());
Expand All @@ -133,11 +133,11 @@
if (INELgtZERO && col.multNTracksPVeta1() < 1) {
return;
}
if (!col.sel8()){
if (!col.sel8()) {
return;
}
if (std::abs(col.posZ()) > vertexZcut){
return;
if (std::abs(col.posZ()) > vertexZcut) {
return;
}
LOGF(debug, "centFT0M=%.0f", col.centFT0M());
hCentFT0M->Fill(col.centFT0M());
Expand All @@ -150,11 +150,11 @@
if (INELgtZERO && col.multNTracksPVeta1() < 1) {
return;
}
if (!col.sel8()){
if (!col.sel8()) {
return;
}
if (std::abs(col.posZ()) > vertexZcut){
return;
if (std::abs(col.posZ()) > vertexZcut) {
return;
}
hCentFT0A->Fill(col.centFT0A());
hCentProfileFT0A->Fill(col.centFT0A(), col.multNTracksPVetaHalf());
Expand All @@ -166,11 +166,11 @@
if (INELgtZERO && col.multNTracksPVeta1() < 1) {
return;
}
if (!col.sel8()){
if (!col.sel8()) {
return;
}
if (std::abs(col.posZ()) > vertexZcut){
return;
if (std::abs(col.posZ()) > vertexZcut) {
return;
}
hCentFT0C->Fill(col.centFT0C());
hCentProfileFT0C->Fill(col.centFT0C(), col.multNTracksPVetaHalf());
Expand All @@ -182,11 +182,11 @@
if (INELgtZERO && col.multNTracksPVeta1() < 1) {
return;
}
if (!col.sel8()){
if (!col.sel8()) {
return;
}
if (std::abs(col.posZ()) > vertexZcut){
return;
if (std::abs(col.posZ()) > vertexZcut) {
return;
}
hCentFDDM->Fill(col.centFDDM());
hCentProfileFDDM->Fill(col.centFDDM(), col.multNTracksPVetaHalf());
Expand All @@ -198,11 +198,11 @@
if (INELgtZERO && col.multNTracksPVeta1() < 1) {
return;
}
if (!col.sel8()){
if (!col.sel8()) {
return;
}
if (std::abs(col.posZ()) > vertexZcut){
return;
if (std::abs(col.posZ()) > vertexZcut) {
return;
}
hCentNTPV->Fill(col.centNTPV());
hCentProfileNTPV->Fill(col.centNTPV(), col.multNTracksPVetaHalf());
Expand Down
Loading