Skip to content

Commit fddcbd3

Browse files
Copilotknopers8
andcommitted
Apply ALICE coding guidelines formatting using git-clang-format
Co-authored-by: knopers8 <14327588+knopers8@users.noreply.github.com>
1 parent 9067738 commit fddcbd3

File tree

185 files changed

+232
-279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+232
-279
lines changed

Framework/include/QualityControl/CheckInterface.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ class CheckInterface : public core::UserCodeInterface
6969
/// then this should be reset here.
7070
virtual void reset(); // not fully abstract because we don't want to change all the existing subclasses
7171

72-
73-
7472
virtual void startOfActivity(const core::Activity& activity); // not fully abstract because we don't want to change all the existing subclasses
7573
virtual void endOfActivity(const core::Activity& activity); // not fully abstract because we don't want to change all the existing subclasses
7674

Framework/src/CheckInterface.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ using namespace o2::quality_control::core;
2424
namespace o2::quality_control::checker
2525
{
2626

27-
28-
2927
void CheckInterface::configure()
3028
{
3129
// noop, override it if you want.

Framework/test/testCheckInterface.cxx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ class TestCheck : public checker::CheckInterface
6262
str->String().Append(" is beautiful now");
6363
}
6464

65-
66-
6765
string mValidString;
6866
};
6967

@@ -87,6 +85,4 @@ TEST_CASE("test_invoke_all_interface_methods")
8785

8886
testCheck.beautify(mo);
8987
CHECK(reinterpret_cast<TObjString*>(mo->getObject())->String() == "A string is beautiful now");
90-
91-
9288
}

Modules/Benchmark/include/Benchmark/AlwaysGoodCheck.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ class AlwaysGoodCheck : public o2::quality_control::checker::CheckInterface
3636
// Override interface
3737
void configure() override;
3838
Quality check(std::map<std::string, std::shared_ptr<MonitorObject>>* moMap) override;
39-
void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult = Quality::Null) override; ClassDefOverride(AlwaysGoodCheck, 2);
39+
void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult = Quality::Null) override;
40+
ClassDefOverride(AlwaysGoodCheck, 2);
4041
};
4142

4243
} // namespace o2::quality_control_modules::benchmark

Modules/Benchmark/src/AlwaysGoodCheck.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ Quality AlwaysGoodCheck::check(std::map<std::string, std::shared_ptr<MonitorObje
3333
return Quality::Good;
3434
}
3535

36-
37-
3836
void AlwaysGoodCheck::beautify(std::shared_ptr<MonitorObject>, Quality)
3937
{
4038
}

Modules/CPV/include/CPV/PedestalCheck.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ class PedestalCheck : public o2::quality_control::checker::CheckInterface
3636
// Override interface
3737
void configure() override;
3838
Quality check(std::map<std::string, std::shared_ptr<MonitorObject>>* moMap) override;
39-
void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult = Quality::Null) override; private:
39+
void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult = Quality::Null) override;
40+
41+
private:
4042
int getRunNumberFromMO(std::shared_ptr<MonitorObject> mo);
4143

4244
// configurable parameters and their default values

Modules/CPV/include/CPV/PhysicsCheck.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class PhysicsCheck : public o2::quality_control::checker::CheckInterface
3838
Quality check(std::map<std::string, std::shared_ptr<MonitorObject>>* moMap) override;
3939
void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult = Quality::Null) override;
4040

41-
4241
private:
4342
int getRunNumberFromMO(std::shared_ptr<MonitorObject> mo);
4443

Modules/CPV/src/PedestalCheck.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,7 @@ Quality PedestalCheck::check(std::map<std::string, std::shared_ptr<MonitorObject
279279
return result;
280280
}
281281

282-
//
283-
282+
//
284283

285284
void PedestalCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult)
286285
{

Modules/CTP/include/CTP/RawDataReaderCheck.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ class RawDataReaderCheck : public o2::quality_control::checker::CheckInterface
4141
// Override interface
4242
void configure() override;
4343
Quality check(std::map<std::string, std::shared_ptr<MonitorObject>>* moMap) override;
44-
void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult = Quality::Null) override; void startOfActivity(const Activity& activity) override;
44+
void beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult = Quality::Null) override;
45+
void startOfActivity(const Activity& activity) override;
4546
const double_t nofOrbitsPerTF = o2::base::GRPGeomHelper::instance().getNHBFPerTF();
4647
const double_t TimeTF = nofOrbitsPerTF * o2::constants::lhc::LHCOrbitMUS / 1e6; // in seconds
4748

Modules/CTP/src/RawDataReaderCheck.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ float RawDataReaderCheck::setTextPosition(float iPos, std::shared_ptr<TLatex> ms
201201
return MessagePos;
202202
}
203203

204-
205-
206204
void RawDataReaderCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult)
207205
{
208206
std::shared_ptr<TLatex> msg;

0 commit comments

Comments
 (0)