|
ATLAS Offline Software
|
Go to the documentation of this file.
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");
75 test->setEventStore( &sgtevent );
80 event.getEntry(
entry);
82 test->processEvent (trigDecTool);
86 return test->finalize();
The common trigger namespace for trigger analysis tools.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Forward iterator to traverse the main components of the trigger configuration.
StatusCode readFrom(TFile *file)
POOL::TEvent event(POOL::TEvent::kClassAccess)
Wrapper for TEvent to make it look like StoreGate.
int runTrigAnalysisTest(const std::string &testName)
ITest * GetTrigAnalysisTest(const string &name)
Tool for accessing xAOD files outside of Athena.
StatusCode Init(const char *appname)
Function initialising ROOT/PyROOT for using the ATLAS EDM.