@@ -25,7 +25,8 @@ namespace o2::quality_control_modules::skeleton
2525
2626SkeletonTask::SkeletonTask () : TaskInterface(), mHistogram (nullptr ) { mHistogram = nullptr ; }
2727
28- SkeletonTask::~SkeletonTask () {
28+ SkeletonTask::~SkeletonTask ()
29+ {
2930 if (mHistogram ) {
3031 delete mHistogram ;
3132 }
@@ -86,22 +87,22 @@ void SkeletonTask::monitorData(o2::framework::ProcessingContext& ctx)
8687 // 2. Using get("<binding>")
8788
8889 // get the payload of a specific input, which is a char array. "random" is the binding specified in the config file.
89- // auto payload = ctx.inputs().get("random").payload;
90+ // auto payload = ctx.inputs().get("random").payload;
9091
9192 // get payload of a specific input, which is a structure array:
92- // const auto* header = header::get<header::DataHeader*>(ctx.inputs().get("random").header);
93- // struct s {int a; double b;};
94- // auto array = ctx.inputs().get<s*>("random");
95- // for (int j = 0; j < header->payloadSize / sizeof(s); ++j) {
96- // int i = array.get()[j].a;
97- // }
93+ // const auto* header = header::get<header::DataHeader*>(ctx.inputs().get("random").header);
94+ // struct s {int a; double b;};
95+ // auto array = ctx.inputs().get<s*>("random");
96+ // for (int j = 0; j < header->payloadSize / sizeof(s); ++j) {
97+ // int i = array.get()[j].a;
98+ // }
9899
99100 // get payload of a specific input, which is a root object
100- // auto h = ctx.inputs().get<TH1F*>("histos");
101- // Double_t stats[4];
102- // h->GetStats(stats);
103- // auto s = ctx.inputs().get<TObjString*>("string");
104- // LOG(INFO) << "String is " << s->GetString().Data();
101+ // auto h = ctx.inputs().get<TH1F*>("histos");
102+ // Double_t stats[4];
103+ // h->GetStats(stats);
104+ // auto s = ctx.inputs().get<TObjString*>("string");
105+ // LOG(INFO) << "String is " << s->GetString().Data();
105106}
106107
107108void SkeletonTask::endOfCycle ()
0 commit comments