ATLAS Offline Software
Loading...
Searching...
No Matches
CTPUnpackingEmulationTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef HLTSEEDING_CTPUNPACKINGEMULATIONTOOL_H
6#define HLTSEEDING_CTPUNPACKINGEMULATIONTOOL_H
7
9
11
13
14public:
15
16 CTPUnpackingEmulationTool( const std::string& type,
17 const std::string& name,
18 const IInterface* parent );
19
20 virtual StatusCode decode(const EventContext& ctx, const ROIB::RoIBResult& roib, HLT::IDVec& enabledChains) const override;
21
22 virtual StatusCode initialize() override;
23
24 virtual bool isEmulated() const override {return true;}
25
26private:
27
28 Gaudi::Property<std::string> m_inputFileName{
29 this, "InputFilename", "CTPEmulation.dat", "Fake CTP RoIB input filename"};
30
32 std::vector<HLT::IDVec> m_events;
33
35 StatusCode parseInputFile();
36
37};
38
39#endif
Gaudi::Property< std::string > m_inputFileName
std::vector< HLT::IDVec > m_events
Chain IDs (inner vector) to activate for each event (outer vector)
virtual bool isEmulated() const override
CTPUnpackingEmulationTool(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode parseInputFile()
Fill the m_events vector with configuration from an input file.
virtual StatusCode initialize() override
virtual StatusCode decode(const EventContext &ctx, const ROIB::RoIBResult &roib, HLT::IDVec &enabledChains) const override
CTPUnpackingToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Class holding the LVL1 RoIB result build by the RoIBuilder.
Definition RoIBResult.h:47
std::vector< HLT::Identifier > IDVec