![]() |
ATLAS Offline Software
|
#include <ROBDataProviderSvc.h>
Classes | |
| struct | EventCache |
Public Types | |
| using | ROBF = OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment |
| ROB Fragment class. More... | |
Public Member Functions | |
| ROBDataProviderSvc (const std::string &name, ISvcLocator *svcloc) | |
| Constructor. More... | |
| virtual StatusCode | initialize () override |
| initialize the service More... | |
| virtual void | addROBData (const EventContext &context, const std::vector< uint32_t > &robIds, const std::string_view callerName="UNKNOWN") override |
| Add ROBFragments to cache for given ROB ids, ROB fragments may be retrieved with DataCollector. More... | |
| virtual void | setNextEvent (const EventContext &context, const std::vector< OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment > &result) override |
| Add a given LVL1/LVL2 ROBFragment to cache. More... | |
| virtual void | setNextEvent (const EventContext &context, const RawEvent *re) override |
| Add all ROBFragments of a RawEvent to cache. More... | |
| virtual void | getROBData (const EventContext &context, const std::vector< uint32_t > &robIds, VROBFRAG &robFragments, const std::string_view callerName="UNKNOWN") override |
| Retrieve ROBFragments for given ROB ids from cache. More... | |
| virtual const RawEvent * | getEvent (const EventContext &context) override |
| Retrieve the whole event. More... | |
| virtual void | setEventStatus (const EventContext &context, uint32_t status) override |
| Store the status for the event. More... | |
| virtual uint32_t | getEventStatus (const EventContext &context) override |
| Retrieve the status for the event. More... | |
| virtual void | processCachedROBs (const EventContext &context, const std::function< void(const ROBF *)> &fn) const override |
| virtual bool | isEventComplete (const EventContext &) const override |
| virtual int | collectCompleteEventData (const EventContext &, const std::string_view) override |
Protected Types | |
| using | ROBMAP = std::map< uint32_t, std::unique_ptr< const ROBF >, std::less< uint32_t > > |
| vector of ROBFragment class More... | |
| using | ArrayPairIntType = std::vector< std::pair< int, int > > |
| Remaining attributes are for configuration vector of Source ids and status words to be ignored for the ROB map. More... | |
| using | FilterRobMap = std::map< uint32_t, std::vector< uint32_t > > |
| map of full ROB Source ids and status words to be ignored for the ROB map More... | |
| using | FilterSubDetMap = std::map< eformat::SubDetector, std::vector< uint32_t > > |
| map of Sub Det Source ids and status words to be ignored for the ROB map More... | |
Protected Member Functions | |
| bool | filterRobWithStatus (const ROBF *rob) |
| method to filter ROBs with given Status code More... | |
Protected Attributes | |
| SG::SlotSpecificObj< EventCache > | m_eventsCache |
| Gaudi::Property< ArrayPairIntType > | m_filterRobWithStatus |
| Gaudi::Property< ArrayPairIntType > | m_filterSubDetWithStatus |
| FilterRobMap | m_filterRobMap |
| FilterSubDetMap | m_filterSubDetMap |
| Gaudi::Property< bool > | m_filterEmptyROB {this, "filterEmptyROB", false, "Filter out empty ROB fragments"} |
| Filter out empty ROB fragments which are send by the ROS. More... | |
| bool | m_maskL2EFModuleID = false |
Static Private Member Functions | |
| static void | robmapClear (ROBMAP &toclear) |
Definition at line 38 of file ROBDataProviderSvc.h.
|
protected |
Remaining attributes are for configuration vector of Source ids and status words to be ignored for the ROB map.
Definition at line 96 of file ROBDataProviderSvc.h.
|
protected |
map of full ROB Source ids and status words to be ignored for the ROB map
Definition at line 103 of file ROBDataProviderSvc.h.
|
protected |
map of Sub Det Source ids and status words to be ignored for the ROB map
Definition at line 106 of file ROBDataProviderSvc.h.
ROB Fragment class.
Definition at line 42 of file ROBDataProviderSvc.h.
|
protected |
vector of ROBFragment class
map for all the ROB fragments
Definition at line 83 of file ROBDataProviderSvc.h.
| ROBDataProviderSvc::ROBDataProviderSvc | ( | const std::string & | name, |
| ISvcLocator * | svcloc | ||
| ) |
|
overridevirtual |
Add ROBFragments to cache for given ROB ids, ROB fragments may be retrieved with DataCollector.
Definition at line 143 of file ROBDataProviderSvc.cxx.
|
inlineoverridevirtual |
Definition at line 76 of file ROBDataProviderSvc.h.
method to filter ROBs with given Status code
Definition at line 348 of file ROBDataProviderSvc.cxx.
Retrieve the whole event.
Definition at line 320 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Retrieve the status for the event.
Definition at line 333 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Retrieve ROBFragments for given ROB ids from cache.
return ROBData for ROBID
Definition at line 276 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
initialize the service
Definition at line 92 of file ROBDataProviderSvc.cxx.
|
inlineoverridevirtual |
Definition at line 75 of file ROBDataProviderSvc.h.
|
overridevirtual |
Definition at line 337 of file ROBDataProviderSvc.cxx.
|
staticprivate |
Definition at line 313 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Store the status for the event.
Set the status for the event.
Definition at line 328 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Add all ROBFragments of a RawEvent to cache.
Definition at line 204 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Add a given LVL1/LVL2 ROBFragment to cache.
Definition at line 182 of file ROBDataProviderSvc.cxx.
|
protected |
Definition at line 92 of file ROBDataProviderSvc.h.
|
protected |
Filter out empty ROB fragments which are send by the ROS.
Definition at line 112 of file ROBDataProviderSvc.h.
|
protected |
Definition at line 104 of file ROBDataProviderSvc.h.
|
protected |
Definition at line 97 of file ROBDataProviderSvc.h.
|
protected |
Definition at line 107 of file ROBDataProviderSvc.h.
|
protected |
Definition at line 99 of file ROBDataProviderSvc.h.
|
protected |
Definition at line 113 of file ROBDataProviderSvc.h.
1.8.18