ATLAS Offline Software
|
#include <ROBDataProviderSvc.h>
Classes | |
struct | EventCache |
Public Types | |
typedef OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment | ROBF |
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 | |
typedef std::map< uint32_t, std::unique_ptr< const ROBF >, std::less< uint32_t > > | ROBMAP |
vector of ROBFragment class More... | |
typedef SimpleProperty< std::vector< std::pair< int, int > > > | ArrayPairIntProperty |
Remaining attributes are for configuration vector of Source ids and status words to be ignored for the ROB map. More... | |
typedef std::map< uint32_t, std::vector< uint32_t > > | FilterRobMap |
map of full ROB Source ids and status words to be ignored for the ROB map More... | |
typedef std::map< eformat::SubDetector, std::vector< uint32_t > > | FilterSubDetMap |
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 |
ArrayPairIntProperty | m_filterRobWithStatus |
ArrayPairIntProperty | m_filterSubDetWithStatus |
FilterRobMap | m_filterRobMap |
FilterSubDetMap | m_filterSubDetMap |
BooleanProperty | m_filterEmptyROB |
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 37 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 95 of file ROBDataProviderSvc.h.
|
protected |
map of full ROB Source ids and status words to be ignored for the ROB map
Definition at line 100 of file ROBDataProviderSvc.h.
|
protected |
map of Sub Det Source ids and status words to be ignored for the ROB map
Definition at line 103 of file ROBDataProviderSvc.h.
ROB Fragment class.
Definition at line 41 of file ROBDataProviderSvc.h.
|
protected |
vector of ROBFragment class
map for all the ROB fragments
Definition at line 82 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 148 of file ROBDataProviderSvc.cxx.
|
inlineoverridevirtual |
Definition at line 75 of file ROBDataProviderSvc.h.
method to filter ROBs with given Status code
Definition at line 353 of file ROBDataProviderSvc.cxx.
Retrieve the whole event.
Definition at line 325 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Retrieve the status for the event.
Definition at line 338 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Retrieve ROBFragments for given ROB ids from cache.
return ROBData for ROBID
Definition at line 281 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
initialize the service
Definition at line 97 of file ROBDataProviderSvc.cxx.
|
inlineoverridevirtual |
Definition at line 74 of file ROBDataProviderSvc.h.
|
overridevirtual |
Definition at line 342 of file ROBDataProviderSvc.cxx.
|
staticprivate |
Definition at line 318 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Store the status for the event.
Set the status for the event.
Definition at line 333 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Add all ROBFragments of a RawEvent to cache.
Definition at line 209 of file ROBDataProviderSvc.cxx.
|
overridevirtual |
Add a given LVL1/LVL2 ROBFragment to cache.
Definition at line 187 of file ROBDataProviderSvc.cxx.
|
protected |
Definition at line 91 of file ROBDataProviderSvc.h.
|
protected |
Filter out empty ROB fragments which are send by the ROS.
Definition at line 109 of file ROBDataProviderSvc.h.
|
protected |
Definition at line 101 of file ROBDataProviderSvc.h.
|
protected |
Definition at line 96 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 110 of file ROBDataProviderSvc.h.