16#include <Monitoring/Monitoring.h>
22#include <TClonesArray.h>
25#include <TObjString.h>
43 std::this_thread::sleep_for(std::chrono::seconds(1));
45 auto& singleHisto = ctx.outputs().make<TH1F>(
Output{
"TST",
"HISTOS", 0},
"h1",
"test", 100, -10., 10.);
46 auto& aString = ctx.outputs().make<TObjString>(
Output{
"TST",
"STRING", 0},
"fao");
47 singleHisto.FillRandom(
"gaus", 1000);
49 singleHisto.GetStats(stats);
50 LOG(info) <<
"sumw" << stats[0] <<
"\n"
51 <<
"sumw2" << stats[1] <<
"\n"
52 <<
"sumwx" << stats[2] <<
"\n"
53 <<
"sumwx2" << stats[3] <<
"\n";
54 aString.SetString(
"foo");
67 auto h = ctx.inputs().get<TH1F*>(
"histos");
68 if (
h.get() ==
nullptr) {
69 throw std::runtime_error(
"Missing output");
73 LOG(info) <<
"sumw" << stats[0] <<
"\n"
74 <<
"sumw2" << stats[1] <<
"\n"
75 <<
"sumwx" << stats[2] <<
"\n"
76 <<
"sumwx2" << stats[3] <<
"\n";
77 auto s = ctx.inputs().get<TObjString*>(
"string");
79 LOG(info) <<
"String is " <<
s->GetString().Data();
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error s
Class for time synchronization of RawReader instances.
Defining ITS Vertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
WorkflowSpec defineDataProcessing(ConfigContext const &)
This function hooks up the the workflow specifications into the DPL driver.