ATLAS Offline Software
Trigger
TrigValidation
TrigAnalysisTest
TrigAnalysisTest
ITest.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//
6
// ITest.h
7
//
8
// Abstract object that represents a trigger analysis test.
9
//
10
#ifndef TRIGANALYSISTEST_ITEST_H
11
#define TRIGANALYSISTEST_ITEST_H
12
13
#include "
TrigDecisionTool/TrigDecisionTool.h
"
14
#include "
TrigAnalysisTest/EventPtrDef.h
"
15
16
namespace
TrigAnalysisTest
{
17
18
class
ITest
{
19
public
:
20
virtual
~ITest
() {}
21
22
// Called as even event in the file is processed.
23
virtual
void
processEvent
(
Trig::TrigDecisionTool
&trigDecTool) = 0;
24
25
// Called at the end of the job - return 0 if the test passed.
26
// Otherwise some non-zero integer.
27
virtual
int
finalize
() = 0;
28
inline
void
setEventStore
(
EventPtr_t
store
) {
m_eventStore
=
store
; }
29
inline
EventPtr_t
eventStore
() {
return
m_eventStore
; }
30
private
:
31
EventPtr_t
m_eventStore
=
nullptr
;
32
};
33
34
}
35
36
#endif
SGTest::store
TestStore store
Definition:
TestStore.cxx:23
TrigAnalysisTest::ITest::processEvent
virtual void processEvent(Trig::TrigDecisionTool &trigDecTool)=0
TrigDecisionTool.h
TrigAnalysisTest::ITest::m_eventStore
EventPtr_t m_eventStore
Definition:
ITest.h:31
TrigAnalysisTest::ITest::finalize
virtual int finalize()=0
Trig::TrigDecisionTool
Definition:
TrigDecisionTool.h:65
TrigAnalysisTest::ITest::eventStore
EventPtr_t eventStore()
Definition:
ITest.h:29
TrigAnalysisTest::ITest::setEventStore
void setEventStore(EventPtr_t store)
Definition:
ITest.h:28
StoreGateSvc
The Athena Transient Store API.
Definition:
StoreGateSvc.h:125
TrigAnalysisTest::ITest
Definition:
ITest.h:18
TrigAnalysisTest::ITest::~ITest
virtual ~ITest()
Definition:
ITest.h:20
EventPtrDef.h
TrigAnalysisTest
Definition:
BasicTriggerFired.cxx:30
Generated on Tue Dec 24 2024 21:12:07 for ATLAS Offline Software by
1.8.18