ATLAS Offline Software
Public Member Functions | List of all members
ICTPUnpackingTool Class Referenceabstract

Interface for CTP unpacking tools. More...

#include <ICTPUnpackingTool.h>

Inheritance diagram for ICTPUnpackingTool:
Collaboration diagram for ICTPUnpackingTool:

Public Member Functions

 DeclareInterfaceID (ICTPUnpackingTool, 1, 0)
 
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 those bits. More...
 
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 names passed before prescale. More...
 
virtual bool isEmulated () const =0
 Should return true if the implementation of decode() doesn't depend on RoIBResult. More...
 

Detailed Description

Interface for CTP unpacking tools.

Definition at line 19 of file ICTPUnpackingTool.h.

Member Function Documentation

◆ DeclareInterfaceID()

ICTPUnpackingTool::DeclareInterfaceID ( ICTPUnpackingTool  ,
,
 
)

◆ decode()

virtual StatusCode ICTPUnpackingTool::decode ( const ROIB::RoIBResult roib,
HLT::IDVec enabledChains 
) const
pure virtual

The method decodes CTP bits from the RoIBResult and fills the list of chains which are activated by those bits.

The mapping ctpToChain is expected to contain the CTP bit number mapping to the chain identifiers

Warning
If the mapping is empty it means an empty menu. This condition is NOT checked and not reported.
If none of CTP bits is set this is also an error condition, this is an event which should not have been passed to HLT

◆ isEmulated()

virtual bool ICTPUnpackingTool::isEmulated ( ) const
pure virtual

Should return true if the implementation of decode() doesn't depend on RoIBResult.

◆ passBeforePrescaleSelection()

virtual StatusCode ICTPUnpackingTool::passBeforePrescaleSelection ( const ROIB::RoIBResult roib,
const std::vector< std::string > &  l1ItemNames,
bool &  pass 
) const
pure virtual

The method decodes CTP bits content of the RoIBResult and checks if L1 Items from a given list of names passed before prescale.


The documentation for this class was generated from the following file: