File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626#include < TH1F.h>
2727
2828#include " Framework/DataSampling.h"
29+ #include " Framework/InputRecord.h"
2930#include " Framework/runDataProcessing.h"
3031#include " QualityControl/TaskDataProcessorFactory.h"
3132#include " QualityControl/TaskDataProcessor.h"
@@ -84,16 +85,16 @@ WorkflowSpec defineDataProcessing(ConfigContext const&)
8485
8586 return (AlgorithmSpec::ProcessCallback) [](ProcessingContext& processingContext) mutable {
8687 LOG (INFO ) << " checker invoked" ;
87- auto mo = processingContext.inputs ().get <MonitorObject>(" aaa" );
88-
89- if (mo->getName () == " example" ) {
90- auto * g = dynamic_cast <TH1F *>(mo->getObject ());
91- std::string bins = " BINS:" ;
92- for (int i = 0 ; i < g->GetNbinsX (); i++) {
93- bins += " " + std::to_string ((int ) g->GetBinContent (i));
94- }
95- LOG (INFO ) << bins;
96- }
88+ // auto mo = processingContext.inputs().get<o2::quality_control::core:: MonitorObject>("aaa");
89+ //
90+ // if (mo->getName() == "example") {
91+ // auto* g = dynamic_cast<TH1F*>(mo->getObject());
92+ // std::string bins = "BINS:";
93+ // for (int i = 0; i < g->GetNbinsX(); i++) {
94+ // bins += " " + std::to_string((int) g->GetBinContent(i));
95+ // }
96+ // LOG(INFO) << bins;
97+ // }
9798
9899 };
99100 }
You can’t perform that action at this time.
0 commit comments