BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
efhlt::Interface Class Referenceabstract

#include <Interface.h>

+ Inheritance diagram for efhlt::Interface:

Public Member Functions

virtual ~Interface ()
 
virtual bool configure (const std::string &config)=0
 
virtual bool unconfigure (void)=0
 
virtual bool prepareForRun (int run_number=0)=0
 
virtual bool process (const uint32_t *&feStore, const uint32_t *&sdStore, std::string &efDecision_s, std::vector< uint32_t > &efBitPattern)=0
 

Detailed Description

Defines common operations for the LVEF HLT software.

Definition at line 29 of file Interface.h.

Constructor & Destructor Documentation

◆ ~Interface()

virtual efhlt::Interface::~Interface ( )
inlinevirtual

Virtualizes the destruction.

Definition at line 36 of file Interface.h.

36{}

Member Function Documentation

◆ configure()

virtual bool efhlt::Interface::configure ( const std::string & config)
pure virtual

Configures the framework

Parameters
configIs the only configuration parameter passed. The actual configuration implementation has to parse it, if that is the case in order to find its own way through the framework's configuration system.

Implemented in efpsc::SC.

◆ prepareForRun()

virtual bool efhlt::Interface::prepareForRun ( int run_number = 0)
pure virtual

prepares the HLT framework for a run

Parameters
run_numberThe Run number to be used for this run.

Implemented in efpsc::SC.

◆ process()

virtual bool efhlt::Interface::process ( const uint32_t *& feStore,
const uint32_t *& sdStore,
std::string & efDecision_s,
std::vector< uint32_t > & efBitPattern )
pure virtual

Process one event, taking as input a pointer to the RawEvent serialized in a contiguous memory region (feStore) and giving as output the yes/no decision and the address (sdStore) of the "local" memory region containing the serialized EF fragment

Implemented in efpsc::SC.

◆ unconfigure()

virtual bool efhlt::Interface::unconfigure ( void )
pure virtual

Unconfigures the framework, releasing all acquired resources.

Implemented in efpsc::SC.


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