Skip to content

Commit c97e9ba

Browse files
committed
clang
1 parent 12c0de4 commit c97e9ba

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

EventFiltering/Zorro.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include <CCDB/BasicCCDBManager.h>
1818
#include <CommonConstants/LHCConstants.h>
1919
#include <CommonDataFormat/IRFrame.h>
20-
#include <CommonUtils/StringUtils.h>
2120
#include <CommonDataFormat/InteractionRecord.h>
21+
#include <CommonUtils/StringUtils.h>
2222
#include <Framework/HistogramRegistry.h>
2323
#include <Framework/HistogramSpec.h>
2424
#include <Framework/Logger.h>
@@ -199,8 +199,8 @@ std::vector<int> Zorro::initCCDB(o2::ccdb::BasicCCDBManager* ccdb, int runNumber
199199
mLastSelectedIdx = 0;
200200
mTOIs.clear();
201201
mTOIidx.clear();
202-
std::vector<std::string> tokens = o2::utils::Str::tokenize(tois,','); // tokens are trimmed
203-
for(auto const& token:tokens) {
202+
std::vector<std::string> tokens = o2::utils::Str::tokenize(tois, ','); // tokens are trimmed
203+
for (auto const& token : tokens) {
204204
int bin = findBin(mSelections, token) - 2;
205205
mTOIs.push_back(token);
206206
mTOIidx.push_back(bin);

EventFiltering/ZorroSummary.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
#include <Rtypes.h>
1919
#include <RtypesCore.h>
2020

21+
#include <iostream>
2122
#include <string>
2223
#include <unordered_map>
2324
#include <vector>
24-
#include <iostream>
2525

2626
class ZorroSummary : public TNamed
2727
{
@@ -35,13 +35,13 @@ class ZorroSummary : public TNamed
3535
void setupTOIs(int ntois, const std::vector<std::string>& toinames)
3636
{
3737
mNtois = ntois;
38-
if(toinames.size() == 0) {
38+
if (toinames.size() == 0) {
3939
return;
4040
}
4141
mTOInames = toinames[0];
42-
for(size_t i = 1; i < toinames.size(); i++) {
42+
for (size_t i = 1; i < toinames.size(); i++) {
4343
mTOInames += "," + toinames[i];
44-
}
44+
}
4545
std::cout << "TOI names:" << mTOInames << std::endl;
4646
}
4747
void setupRun(int runNumber, double tvxCountes, const std::vector<double>& toiCounters)
@@ -64,14 +64,14 @@ class ZorroSummary : public TNamed
6464
mCurrentAnalysedTOIcounters->at(toiId)++;
6565
}
6666

67-
const auto& getTOInames() const {return mTOInames; }
67+
const auto& getTOInames() const { return mTOInames; }
6868
const auto& getTOIcounters() const { return mTOIcounters; }
6969
const auto& getTVXcounters() const { return mTVXcounters; }
7070
const auto& getAnalysedTOIcounters() const { return mAnalysedTOIcounters; }
7171

7272
private:
7373
int mRunNumber = 0; //! Run currently being analysed
74-
std::vector<ULong64_t>* mCurrentAnalysedTOIcounters = nullptr; //! Analysed TOI counters for the current run
74+
// std::vector<ULong64_t>* mCurrentAnalysedTOIcounters = nullptr; //! Analysed TOI counters for the current run
7575

7676
int mNtois = 0;
7777
std::string mTOInames;

0 commit comments

Comments
 (0)