Skip to content

Commit 222dc09

Browse files
authored
Merge pull request #107 from alibuild/alibot-cleanup-17420
[PWGCF] Please consider the following formatting changes to #17420
2 parents ef63e6a + 8639914 commit 222dc09

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

PWGCF/Flow/TableProducer/zdcQVectors.cxx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ struct ZdcQVectors {
418418
registry.fill(HIST("hEventCount"), evSel);
419419
// FT0C is the default centrality estimator
420420

421-
if (!cfgFillCutAnalysis || cfgFillNothing){
421+
if (!cfgFillCutAnalysis || cfgFillNothing) {
422422
return;
423423
}
424424
// Add default with different centrality estimators as well
@@ -570,7 +570,7 @@ struct ZdcQVectors {
570570
float zRes = std::sqrt(collision.covZZ());
571571
float minzRes = 0.25;
572572
int maxNumContrib = 20;
573-
if (zRes > minzRes && collision.numContrib() < maxNumContrib){
573+
if (zRes > minzRes && collision.numContrib() < maxNumContrib) {
574574
vtxz = -999;
575575
}
576576
}
@@ -822,25 +822,25 @@ struct ZdcQVectors {
822822

823823
if (cfgFT0Cvariant1) {
824824
cents.push_back(collision.centFT0CVariant1());
825-
if (cfgUseSecondCent){
825+
if (cfgUseSecondCent) {
826826
cent = collision.centFT0CVariant1();
827827
}
828828
}
829829
if (cfgFT0M) {
830830
cents.push_back(collision.centFT0M());
831-
if (cfgUseSecondCent){
831+
if (cfgUseSecondCent) {
832832
cent = collision.centFT0M();
833833
}
834834
}
835835
if (cfgFV0A) {
836836
cents.push_back(collision.centFV0A());
837-
if (cfgUseSecondCent){
837+
if (cfgUseSecondCent) {
838838
cent = collision.centFV0A();
839839
}
840840
}
841841
if (cfgNGlobal) {
842842
cents.push_back(collision.centNGlobal());
843-
if (cfgUseSecondCent){
843+
if (cfgUseSecondCent) {
844844
cent = collision.centNGlobal();
845845
}
846846
}
@@ -947,7 +947,7 @@ struct ZdcQVectors {
947947
}
948948

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

@@ -1091,9 +1091,9 @@ struct ZdcQVectors {
10911091
return;
10921092
}
10931093

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

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

1218-
if (binshiftxZDCC > 0){
1218+
if (binshiftxZDCC > 0) {
12191219
coeffshiftxZDCC = cal.shiftprofileC->GetBinContent(binshiftxZDCC);
12201220
}
1221-
if (binshiftyZDCC > 0){
1221+
if (binshiftyZDCC > 0) {
12221222
coeffshiftyZDCC = cal.shiftprofileC->GetBinContent(binshiftyZDCC);
12231223
}
1224-
if (binshiftxZDCA > 0){
1224+
if (binshiftxZDCA > 0) {
12251225
coeffshiftxZDCA = cal.shiftprofileA->GetBinContent(binshiftxZDCA);
12261226
}
1227-
if (binshiftyZDCA > 0){
1227+
if (binshiftyZDCA > 0) {
12281228
coeffshiftyZDCA = cal.shiftprofileA->GetBinContent(binshiftyZDCA);
12291229
}
12301230

0 commit comments

Comments
 (0)