Skip to content

Commit

Permalink
Update centralityStudy.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
ddobrigk authored Oct 29, 2024
1 parent 4fb8ce1 commit 7edd547
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Common/Tasks/centralityStudy.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ struct centralityStudy {
Configurable<bool> selectCollidingBCs{"selectCollidingBCs", true, "BC analysis: select colliding BCs"};
Configurable<bool> selectTVX{"selectTVX", true, "BC analysis: select TVX"};
Configurable<bool> selectFV0OrA{"selectFV0OrA", true, "BC analysis: select FV0OrA"};
Configurable<float> vertexZwithT0{"vertexZwithT0", 1000.0f, "require a certain vertex-Z in BC analysis"};

Configurable<float> minTimeDelta{"minTimeDelta", -1.0f, "reject collision if another collision is this close or less in time"};
Configurable<float> minFT0CforVertexZ{"minFT0CforVertexZ", 250, "minimum FT0C for vertex-Z profile calculation"};
Expand Down Expand Up @@ -259,6 +260,13 @@ struct centralityStudy {
if (selectFV0OrA && !multbc.multBCFV0OrA())
return;
histos.fill(HIST("hBCSelection"), 3); // FV0OrA
if(vertexZwithT0<100.0f){

Check failure on line 263 in Common/Tasks/centralityStudy.cxx

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
if (!multbc.multBCFT0PosZValid())
return;
if (TMath::Abs(multbc.multBCFT0PosZ())>vertexZwithT0)
return;
}
histos.fill(HIST("hBCSelection"), 4); // FV0OrA

// if we got here, we also finally fill the FT0C histogram, please
histos.fill(HIST("hFT0C_BCs"), multbc.multBCFT0C());
Expand Down

0 comments on commit 7edd547

Please sign in to comment.