ATLAS Offline Software
Trigger
TrigSteer
DecisionHandling
src
TestInputMaker.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef TRIGUPGRADETEST_TESTINPUTMAKER_H
5
#define TRIGUPGRADETEST_TESTINPUTMAKER_H
6
7
8
//#include <string>
9
#include "
DecisionHandling/InputMakerBase.h
"
10
#include "
xAODTrigger/TrigCompositeContainer.h
"
11
#include "
TrigCompositeUtils/TrigCompositeUtils.h
"
12
#include "
AthContainers/ConstDataVector.h
"
13
#include "
StoreGate/ReadHandleKeyArray.h
"
14
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
15
16
namespace
HLTTest
{
17
23
using namespace
TrigCompositeUtils
;
24
25
class
TestInputMaker
26
:
public
::InputMakerBase
27
{
28
public
:
29
TestInputMaker
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
30
virtual
~
TestInputMaker
();
31
virtual
StatusCode
initialize
()
override
;
32
virtual
StatusCode
execute
(
const
EventContext&)
const override
;
33
virtual
StatusCode
finalize
()
override
;
34
35
private
:
36
TestInputMaker
();
37
38
// Use this to customise the example for a different input feature
39
typedef
TrigRoiDescriptor
FeatureOBJ
;
40
typedef
TrigRoiDescriptorCollection
FeatureContainer
;
41
42
43
SG::WriteHandleKey<xAOD::TrigCompositeContainer>
m_recoOutput {
this
,
"Output"
,
"undefined"
,
"name of the output collection for input to next reco alg in sequence"
};
44
45
StringProperty m_linkName {
this
,
"LinkName"
,
"initialRoI"
,
"name of the link to the features in the decision, e.g. 'feature', 'initialRoI'"
};
46
//StringProperty m_outputType {this, "OutputType","outputType", "reserved for future use"};
47
48
};
49
50
}
//> end namespace HLTTest
51
#endif //> !TRIGUPGRADETEST_TESTINPUTMAKER_H
ReadHandleKeyArray.h
HLTTest::TestInputMaker::FeatureContainer
TrigRoiDescriptorCollection FeatureContainer
Definition:
TestInputMaker.h:40
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition:
PyTestsLib.py:50
TrigCompositeUtils.h
InputMakerBase.h
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
initialize
void initialize()
Definition:
run_EoverP.cxx:894
InputMakerBase
Input Makers are used at the start of a sequence: retrieve filtered collection via the input decision...
Definition:
InputMakerBase.h:20
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits #ifndef XAOD_AN...
Definition:
TrigRoiDescriptor.h:56
HLTTest::TestInputMaker::FeatureOBJ
TrigRoiDescriptor FeatureOBJ
Definition:
TestInputMaker.h:39
LArG4FSStartPointFilterLegacy.execute
execute
Definition:
LArG4FSStartPointFilterLegacy.py:20
HLTTest::TestInputMaker::TestInputMaker
TestInputMaker()
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition:
StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HLTTest::TestInputMaker
Used at the start of a sequence: retrieves filtered collection via menu decision from previous step a...
Definition:
TestInputMaker.h:27
TrigCompositeContainer.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TrigRoiDescriptorCollection
Definition:
TrigRoiDescriptorCollection.h:21
TrigCompositeUtils
Definition:
Event/xAOD/xAODTrigger/xAODTrigger/TrigComposite.h:19
HLTTest
Definition:
ITestHypoTool.cxx:9
TrigRoiDescriptorCollection.h
Generated on Thu Nov 7 2024 21:27:27 for ATLAS Offline Software by
1.8.18