45 if (
test ==
nullptr) {
46 cout <<
"Unable to load test" << endl;
51 if (!
xAOD::Init(testName.c_str()).isSuccess()) {
56 auto chain =
new TChain(
"CollectionTree");
57 chain->Add(gSystem->Getenv(
"ROOTCORE_TEST_FILE"));
66 ToolHandle<TrigConf::ITrigConfigTool> configHandle(&configTool);
67 configHandle->initialize();
70 trigDecTool.setProperty(
"ConfigTool",configHandle);
71 trigDecTool.setProperty(
"TrigDecisionKey",
"xTrigDecision");
72 trigDecTool.initialize();
75 test->setEventStore( &sgtevent );
80 event.getEntry(
entry);
82 test->processEvent (trigDecTool);
86 return test->finalize();