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
28 changes: 14 additions & 14 deletions PWGCF/Flow/TableProducer/zdcQVectors.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ struct ZdcQVectors {
registry.fill(HIST("hEventCount"), evSel);
// FT0C is the default centrality estimator

if (!cfgFillCutAnalysis || cfgFillNothing){
if (!cfgFillCutAnalysis || cfgFillNothing) {
return;
}
// Add default with different centrality estimators as well
Expand Down Expand Up @@ -570,7 +570,7 @@ struct ZdcQVectors {
float zRes = std::sqrt(collision.covZZ());
float minzRes = 0.25;
int maxNumContrib = 20;
if (zRes > minzRes && collision.numContrib() < maxNumContrib){
if (zRes > minzRes && collision.numContrib() < maxNumContrib) {
vtxz = -999;
}
}
Expand Down Expand Up @@ -822,25 +822,25 @@ struct ZdcQVectors {

if (cfgFT0Cvariant1) {
cents.push_back(collision.centFT0CVariant1());
if (cfgUseSecondCent){
if (cfgUseSecondCent) {
cent = collision.centFT0CVariant1();
}
}
if (cfgFT0M) {
cents.push_back(collision.centFT0M());
if (cfgUseSecondCent){
if (cfgUseSecondCent) {
cent = collision.centFT0M();
}
}
if (cfgFV0A) {
cents.push_back(collision.centFV0A());
if (cfgUseSecondCent){
if (cfgUseSecondCent) {
cent = collision.centFV0A();
}
}
if (cfgNGlobal) {
cents.push_back(collision.centNGlobal());
if (cfgUseSecondCent){
if (cfgUseSecondCent) {
cent = collision.centNGlobal();
}
}
Expand Down Expand Up @@ -947,7 +947,7 @@ struct ZdcQVectors {
}

// load the calibration histos for iteration 0 step 0 (Energy Calibration)
if (!cfgNoGain){
if (!cfgNoGain) {
loadCalibrations<kEnergyCal>(cfgEnergyCal.value, timestamp);
}

Expand Down Expand Up @@ -1091,9 +1091,9 @@ struct ZdcQVectors {
return;
}

if (cfgFillHistRegistry && isEventSelected){
fillCommonRegistry<kBefore>(q[0], q[1], q[2], q[3], cal.v, cent, rsTimestamp);
}
if (cfgFillHistRegistry && isEventSelected) {
fillCommonRegistry<kBefore>(q[0], q[1], q[2], q[3], cal.v, cent, rsTimestamp);
}

// vector of 4
std::vector<double> corrQxA;
Expand Down Expand Up @@ -1215,16 +1215,16 @@ struct ZdcQVectors {
int binshiftxZDCA = cal.shiftprofileA->FindBin(cent, 0.5, ishift - 0.5);
int binshiftyZDCA = cal.shiftprofileA->FindBin(cent, 1.5, ishift - 0.5);

if (binshiftxZDCC > 0){
if (binshiftxZDCC > 0) {
coeffshiftxZDCC = cal.shiftprofileC->GetBinContent(binshiftxZDCC);
}
if (binshiftyZDCC > 0){
if (binshiftyZDCC > 0) {
coeffshiftyZDCC = cal.shiftprofileC->GetBinContent(binshiftyZDCC);
}
if (binshiftxZDCA > 0){
if (binshiftxZDCA > 0) {
coeffshiftxZDCA = cal.shiftprofileA->GetBinContent(binshiftxZDCA);
}
if (binshiftyZDCA > 0){
if (binshiftyZDCA > 0) {
coeffshiftyZDCA = cal.shiftprofileA->GetBinContent(binshiftyZDCA);
}

Expand Down
Loading