ATLAS Offline Software
ICTPUnpackingTool.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_ICTPUNPACKINGTOOL_H
6 #define HLTSEEDING_ICTPUNPACKINGTOOL_H
7 
8 #include "GaudiKernel/IAlgTool.h"
10 
11 namespace ROIB {
12  class RoIBResult;
13 }
14 
19 class ICTPUnpackingTool : virtual public IAlgTool {
20 public:
22 
32  virtual StatusCode decode(const ROIB::RoIBResult& roib, HLT::IDVec& enabledChains) const = 0;
33 
39  const std::vector<std::string>& l1ItemNames,
40  bool& pass) const = 0;
41 
45  virtual bool isEmulated() const = 0;
46 };
47 
48 #endif
ROIB::RoIBResult
Class holding the LVL1 RoIB result build by the RoIBuilder.
Definition: RoIBResult.h:47
ROIB
Namespace of the LVL1 RoIB simulation.
Definition: ILvl1ResultAccessTool.h:19
ICTPUnpackingTool::passBeforePrescaleSelection
virtual StatusCode passBeforePrescaleSelection(const ROIB::RoIBResult *roib, const std::vector< std::string > &l1ItemNames, bool &pass) const =0
The method decodes CTP bits content of the RoIBResult and checks if L1 Items from a given list of nam...
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
ICTPUnpackingTool::DeclareInterfaceID
DeclareInterfaceID(ICTPUnpackingTool, 1, 0)
ICTPUnpackingTool::isEmulated
virtual bool isEmulated() const =0
Should return true if the implementation of decode() doesn't depend on RoIBResult.
ICTPUnpackingTool
Interface for CTP unpacking tools.
Definition: ICTPUnpackingTool.h:19
HLTIdentifier.h
ICTPUnpackingTool::decode
virtual StatusCode decode(const ROIB::RoIBResult &roib, HLT::IDVec &enabledChains) const =0
The method decodes CTP bits from the RoIBResult and fills the list of chains which are activated by t...