Skip to content

Commit 90118c7

Browse files
authored
Updated checks after framework changes. (#380)
test
1 parent 784c4d4 commit 90118c7

3 files changed

Lines changed: 1 addition & 7 deletions

File tree

Modules/TPC/run/tpcQCClusterChecker.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"config": {
44
"database": {
55
"implementation": "CCDB",
6-
"host": "localhost:8080",
6+
"host": "ccdb-test.cern.ch:8080",
77
"username": "not_applicable",
88
"password": "not_applicable",
99
"name": "not_applicable"

Modules/TPC/src/PIDClusterCheck.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ Quality PIDClusterCheck::check(std::map<std::string, std::shared_ptr<MonitorObje
4545
result = Quality::Bad;
4646
}
4747
}
48-
// Call beautify function because the framework does not trigger it.
49-
beautify(mo, result);
5048
}
5149

5250
return result;
@@ -56,7 +54,6 @@ std::string PIDClusterCheck::getAcceptedType() { return "TH1"; }
5654

5755
void PIDClusterCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult)
5856
{
59-
std::cout << "BEAUTIFY FUNCTION OUTPUT! The Quality passed: " << checkResult << std::endl;
6057
auto* h = dynamic_cast<TH1F*>(mo->getObject());
6158

6259
TPaveText* msg = new TPaveText(0.5, 0.5, 0.9, 0.75, "NDC");

Modules/TPC/src/TrackClusterCheck.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ Quality TrackClusterCheck::check(std::map<std::string, std::shared_ptr<MonitorOb
4747
result = Quality::Medium;
4848
}
4949
}
50-
// Call beautify function because the framework does not trigger it.
51-
beautify(mo, result);
5250
}
5351

5452
return result;
@@ -58,7 +56,6 @@ std::string TrackClusterCheck::getAcceptedType() { return "TH1"; }
5856

5957
void TrackClusterCheck::beautify(std::shared_ptr<MonitorObject> mo, Quality checkResult)
6058
{
61-
std::cout << "BEAUTIFY FUNCTION OUTPUT! The Quality passed: " << checkResult << std::endl;
6259
auto* h = dynamic_cast<TH1F*>(mo->getObject());
6360

6461
TPaveText* msg = new TPaveText(0.5, 0.5, 0.9, 0.75, "NDC");

0 commit comments

Comments
 (0)