Skip to content

Commit 538d55f

Browse files
committed
namespace compliant with O2 coding guidelines (checker)
1 parent b2673e9 commit 538d55f

12 files changed

Lines changed: 14 additions & 29 deletions

File tree

Framework/CMakeLists.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,7 @@ set(HEADERS # needed for the dictionary generation
8080
include/QualityControl/Quality.h
8181
include/QualityControl/CheckInterface.h
8282
include/QualityControl/SpyMainFrame.h
83-
84-
include/QualityControl/TaskInterface.h
85-
include/QualityControl/ObjectsManager.h
86-
include/QualityControl/TaskFactory.h
87-
include/QualityControl/Checker.h
88-
include/QualityControl/DatabaseFactory.h
89-
include/QualityControl/ClientDataProvider.h
90-
include/QualityControl/AlfaReceiverForTests.h
91-
include/QualityControl/TaskDevice.h
92-
include/QualityControl/SpyDevice.h
93-
include/QualityControl/CheckerConfig.h
94-
include/QualityControl/Consumer.h
95-
include/QualityControl/DatabaseInterface.h
96-
include/QualityControl/QcInfoLogger.h
97-
include/QualityControl/TaskConfig.h
98-
)
83+
)
9984

10085
if(MYSQL_FOUND)
10186
list(APPEND SRCS src/MySqlDatabase.cxx)

Framework/include/QualityControl/CheckInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using namespace o2::quality_control::core;
1313

1414
namespace o2 {
1515
namespace quality_control {
16-
namespace Checker {
16+
namespace checker {
1717

1818
/// \brief Skeleton of a check.
1919
///

Framework/include/QualityControl/Checker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace ba = boost::accumulators;
3131

3232
namespace o2 {
3333
namespace quality_control {
34-
namespace Checker {
34+
namespace checker {
3535

3636
/// \brief The class in charge of running the checks on a MonitorObject.
3737
///

Framework/include/QualityControl/LinkDef.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
#pragma link off all functions;
55

66
#pragma link C++ namespace o2::quality_control::core;
7-
#pragma link C++ namespace o2::quality_control::Checker;
7+
#pragma link C++ namespace o2::quality_control::checker;
88
#pragma link C++ namespace o2::quality_control::gui;
99

1010
#pragma link C++ class o2::quality_control::core::MonitorObject+;
1111
#pragma link C++ class o2::quality_control::core::Quality+;
12-
#pragma link C++ class o2::quality_control::Checker::CheckInterface+;
12+
#pragma link C++ class o2::quality_control::checker::CheckInterface+;
1313
#pragma link C++ class o2::quality_control::core::CheckDefinition+;
1414
#pragma link C++ class o2::quality_control::gui::SpyMainFrame+;
1515
//#pragma link C++ class o2::quality_control::gui::SpyDevice+;

Framework/src/CheckInterface.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
#include "TClass.h"
88
#include <iostream>
99

10-
ClassImp(o2::quality_control::Checker::CheckInterface)
10+
ClassImp(o2::quality_control::checker::CheckInterface)
1111

1212
using namespace std;
1313

1414
namespace o2 {
1515
namespace quality_control {
16-
namespace Checker {
16+
namespace checker {
1717

1818
//CheckInterface::CheckInterface()
1919
//// : mName("")

Framework/src/Checker.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace o2 {
4242
namespace quality_control {
4343
using namespace core;
4444
using namespace repository;
45-
namespace Checker {
45+
namespace checker {
4646

4747
// TODO do we need a CheckFactory ? here it is embedded in the Checker
4848

Framework/src/qcCheckerLauncher.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
using namespace std;
2424
using namespace o2::quality_control::core;
2525
using namespace AliceO2::Configuration;
26-
using namespace o2::quality_control::Checker;
26+
using namespace o2::quality_control::checker;
2727
namespace po = boost::program_options;
2828

2929
int main(int argc, char *argv[])

Modules/Common/include/Common/MeanIsAbove.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace common {
2121
/// \brief Check whether the mean of the plot is above a certain limit.
2222
///
2323
/// \author Barthelemy von Haller
24-
class MeanIsAbove : public o2::quality_control::Checker::CheckInterface
24+
class MeanIsAbove : public o2::quality_control::checker::CheckInterface
2525
{
2626
public:
2727
/// Default constructor

Modules/Common/include/Common/NonEmpty.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace common {
1717
/// \brief Check whether a plot is empty or not.
1818
///
1919
/// \author Barthelemy von Haller
20-
class NonEmpty : public o2::quality_control::Checker::CheckInterface
20+
class NonEmpty : public o2::quality_control::checker::CheckInterface
2121
{
2222
public:
2323
/// Default constructor

Modules/Daq/include/Daq/EverIncreasingGraph.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace daq {
1919
/// \brief Check whether a plot is empty or not.
2020
///
2121
/// \author Barthelemy von Haller
22-
class EverIncreasingGraph : public o2::quality_control::Checker::CheckInterface
22+
class EverIncreasingGraph : public o2::quality_control::checker::CheckInterface
2323
{
2424
public:
2525
/// Default constructor

0 commit comments

Comments
 (0)