Skip to content

Commit 7d04daf

Browse files
committed
clang-format
1 parent 4a1ab32 commit 7d04daf

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

PWGDQ/Core/HistogramManager.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,17 @@ HistogramManager::HistogramManager(const char* name, const char* title, const in
6363
fMainList(new THashList),
6464
fNVars(maxNVars),
6565
fUsedVars(new bool[maxNVars]),
66-
66+
6767
fUseDefaultVariableNames(kFALSE),
6868
fBinsAllocated(0)
6969
{
7070
//
7171
// Constructor
7272
//
73-
73+
7474
fMainList->SetOwner(kTRUE);
7575
fMainList->SetName(name);
76-
76+
7777
for (int i = 0; i < maxNVars; ++i) {
7878
fUsedVars[i] = false;
7979
}

PWGDQ/Core/HistogramsLibrary.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,7 +2103,7 @@ void o2::aod::dqhistograms::DefineHistograms(HistogramManager* hm, const char* h
21032103
std::array<double, 101> phiv_bins{};
21042104
for (int i = 0; i <= 100; i++) {
21052105
phiv_bins[i] = o2::constants::math::PI / 100. * i;
2106-
}
2106+
}
21072107
int nbins_phiv = static_cast<int>(phiv_bins.size()) - 1;
21082108

21092109
// 3D histo
@@ -2602,11 +2602,11 @@ bool o2::aod::dqhistograms::ValidateJSONHistogram(T hist)
26022602
if (!hist->HasMember("nBins")) {
26032603
LOG(fatal) << "Missing nBins field for histogram";
26042604
return false;
2605-
} if (!hist->FindMember("nBins")->value.IsArray()) {
2606-
LOG(fatal) << "nBins field should be an array";
2607-
return false;
2608-
}
2609-
2605+
}
2606+
if (!hist->FindMember("nBins")->value.IsArray()) {
2607+
LOG(fatal) << "nBins field should be an array";
2608+
return false;
2609+
}
26102610
}
26112611
if (hist->HasMember("axLabels") && !hist->FindMember("axLabels")->value.IsArray()) {
26122612
LOG(fatal) << "axLabels field should be an array of strings";

0 commit comments

Comments
 (0)