![]() |
ATLAS Offline Software
|
A service managing all the communication with the df_ef interface, for online use. More...
#include <EFInterfaceSvc.h>
Public Types | |
| enum class | Status { OK = 0 , NO_EVENT , STOP } |
Public Member Functions | |
| EFInterfaceSvc (const std::string &name, ISvcLocator *svc) | |
| virtual | ~EFInterfaceSvc () noexcept override |
| virtual StatusCode initialize | ATLAS_NOT_THREAD_SAFE () override |
| virtual StatusCode | stop () override |
| virtual StatusCode | finalize () override |
| virtual void | handle (const Incident &incident) override |
| virtual Status | getNext (std::unique_ptr< uint32_t[]> &rawEventPtr) |
| void | eventDone (std::unique_ptr< uint32_t[]> rawEventPtr) |
| boost::property_tree::ptree | prepInterfacePTree () |
Public Attributes | |
| uint32_t | m_acceptedEvents {0} |
| uint32_t | m_rejectedEvents {0} |
| uint32_t | m_processedEvents {0} |
Private Attributes | |
| boost::dll::shared_library | m_efdfinterface_library |
| Library with the df_ef_interface implementation. | |
| std::unique_ptr< daq::df_ef_interface::EventHandler > | m_eventHandler |
| std::queue< std::future< std::unique_ptr< uint32_t[]> > > | m_getNextFuture |
| std::mutex | m_queueMutex |
| Mutex for future queue. | |
| Gaudi::Property< std::string > | m_interface_library_name |
| Gaudi::Property< int > | m_getNextTimeout |
| Gaudi::Property< int > | m_stride |
| Gaudi::Property< int > | m_fileOffset |
| Gaudi::Property< int > | m_numEvents |
| Gaudi::Property< int > | m_skipEvents |
| Gaudi::Property< bool > | m_loopOverFiles |
| Gaudi::Property< std::string > | m_outputFileName |
| Gaudi::Property< std::vector< std::string > > | m_files |
| Gaudi::Property< int > | m_runNumber |
| Gaudi::Property< int > | m_triggerType |
| Gaudi::Property< int > | m_beamType |
| Gaudi::Property< int > | m_beamEnergy |
| Gaudi::Property< std::string > | m_detMask |
| Gaudi::Property< std::string > | m_T0_project_tag |
| Gaudi::Property< std::string > | m_stream |
| Gaudi::Property< int > | m_lumiblock |
A service managing all the communication with the df_ef interface, for online use.
This service replaces the use of hltinterface::DataCollector in the online HLT dynamically loads proper implementation library calls interface methods for event retrieval or accept/reject decision manages the pTree for configuring the interface
Definition at line 28 of file EFInterfaceSvc.h.
|
strong |
| Enumerator | |
|---|---|
| OK | event returned |
| NO_EVENT | no event available |
| STOP | stop transition (no more events) |
Definition at line 32 of file EFInterfaceSvc.h.
| EFInterfaceSvc::EFInterfaceSvc | ( | const std::string & | name, |
| ISvcLocator * | svc ) |
Definition at line 13 of file EFInterfaceSvc.cxx.
|
inlineoverridevirtualnoexcept |
Definition at line 39 of file EFInterfaceSvc.h.
|
overridevirtual |
| void EFInterfaceSvc::eventDone | ( | std::unique_ptr< uint32_t[]> | rawEventPtr | ) |
Definition at line 115 of file EFInterfaceSvc.cxx.
|
overridevirtual |
Definition at line 107 of file EFInterfaceSvc.cxx.
|
virtual |
Definition at line 133 of file EFInterfaceSvc.cxx.
|
overridevirtual |
Definition at line 29 of file EFInterfaceSvc.cxx.
| boost::property_tree::ptree EFInterfaceSvc::prepInterfacePTree | ( | ) |
Definition at line 185 of file EFInterfaceSvc.cxx.
|
overridevirtual |
Definition at line 75 of file EFInterfaceSvc.cxx.
| uint32_t EFInterfaceSvc::m_acceptedEvents {0} |
Definition at line 51 of file EFInterfaceSvc.h.
|
private |
Definition at line 86 of file EFInterfaceSvc.h.
|
private |
Definition at line 84 of file EFInterfaceSvc.h.
|
private |
Definition at line 88 of file EFInterfaceSvc.h.
|
private |
Library with the df_ef_interface implementation.
Definition at line 56 of file EFInterfaceSvc.h.
|
private |
Definition at line 57 of file EFInterfaceSvc.h.
|
private |
Definition at line 68 of file EFInterfaceSvc.h.
|
private |
Definition at line 78 of file EFInterfaceSvc.h.
|
private |
Definition at line 58 of file EFInterfaceSvc.h.
|
private |
Definition at line 64 of file EFInterfaceSvc.h.
|
private |
Definition at line 62 of file EFInterfaceSvc.h.
|
private |
Definition at line 74 of file EFInterfaceSvc.h.
|
private |
Definition at line 94 of file EFInterfaceSvc.h.
|
private |
Definition at line 70 of file EFInterfaceSvc.h.
|
private |
Definition at line 76 of file EFInterfaceSvc.h.
| uint32_t EFInterfaceSvc::m_processedEvents {0} |
Definition at line 53 of file EFInterfaceSvc.h.
|
private |
Mutex for future queue.
Definition at line 59 of file EFInterfaceSvc.h.
| uint32_t EFInterfaceSvc::m_rejectedEvents {0} |
Definition at line 52 of file EFInterfaceSvc.h.
|
private |
Definition at line 80 of file EFInterfaceSvc.h.
|
private |
Definition at line 72 of file EFInterfaceSvc.h.
|
private |
Definition at line 92 of file EFInterfaceSvc.h.
|
private |
Definition at line 66 of file EFInterfaceSvc.h.
|
private |
Definition at line 90 of file EFInterfaceSvc.h.
|
private |
Definition at line 82 of file EFInterfaceSvc.h.