ATLAS Offline Software
CTPUnpackingEmulationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef HLTSEEDING_CTPUNPACKINGEMULATIONTOOL_H
6 #define HLTSEEDING_CTPUNPACKINGEMULATIONTOOL_H
7 
8 #include "CTPUnpackingToolBase.h"
9 
11 
13 
14 public:
15 
16  CTPUnpackingEmulationTool( const std::string& type,
17  const std::string& name,
18  const IInterface* parent );
19 
20  virtual StatusCode decode(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 
26 private:
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 
36 
37 };
38 
39 #endif
CTPUnpackingEmulationTool::decode
virtual StatusCode decode(const ROIB::RoIBResult &roib, HLT::IDVec &enabledChains) const override
Definition: CTPUnpackingEmulationTool.cxx:56
CTPUnpackingEmulationTool
Definition: CTPUnpackingEmulationTool.h:12
ROIB::RoIBResult
Class holding the LVL1 RoIB result build by the RoIBuilder.
Definition: RoIBResult.h:47
CTPUnpackingToolBase
Base class for CTP unpacking tools.
Definition: CTPUnpackingToolBase.h:24
CTPUnpackingEmulationTool::m_events
std::vector< HLT::IDVec > m_events
Chain IDs (inner vector) to activate for each event (outer vector)
Definition: CTPUnpackingEmulationTool.h:32
CTPUnpackingEmulationTool::parseInputFile
StatusCode parseInputFile()
Fill the m_events vector with configuration from an input file.
Definition: CTPUnpackingEmulationTool.cxx:19
CTPUnpackingToolBase.h
HLT::IDVec
std::vector< HLT::Identifier > IDVec
Definition: TrigCompositeUtils/TrigCompositeUtils/HLTIdentifier.h:62
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CTPUnpackingEmulationTool::initialize
virtual StatusCode initialize() override
Definition: CTPUnpackingEmulationTool.cxx:50
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CTPUnpackingEmulationTool::isEmulated
virtual bool isEmulated() const override
Definition: CTPUnpackingEmulationTool.h:24
CTPUnpackingEmulationTool::m_inputFileName
Gaudi::Property< std::string > m_inputFileName
Definition: CTPUnpackingEmulationTool.h:28
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
HLTIdentifier.h
CTPUnpackingEmulationTool::CTPUnpackingEmulationTool
CTPUnpackingEmulationTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CTPUnpackingEmulationTool.cxx:13