![]() |
ATLAS Offline Software
|
implements the interface ByteStreamInputSvc for reading events from emon. More...
#include <ByteStreamEmonInputSvc.h>
Public Member Functions | |
ByteStreamEmonInputSvc (const std::string &name, ISvcLocator *svcloc) | |
Constructors: More... | |
virtual StatusCode | initialize () override |
virtual StatusCode | start () override |
virtual StatusCode | finalize () override |
virtual const RawEvent * | previousEvent () override |
Implementation of the ByteStreamInputSvc interface methods. More... | |
virtual const RawEvent * | nextEvent () override |
virtual method for advance to the next event More... | |
virtual const RawEvent * | currentEvent () const override |
Implementation of the ByteStreamInputSvc interface methods. More... | |
virtual void | setEvent (void *, unsigned int) |
virtual unsigned int | currentEventStatus () const |
virtual method for accessing the current event status More... | |
virtual std::pair< long, std::string > | getBlockIterator (const std::string &) |
virtual void | closeBlockIterator (bool) |
virtual bool | ready () |
virtual StatusCode | generateDataHeader () |
virtual long | positionInBlock () |
virtual void | validateEvent () |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
Retrieve interface ID. More... | |
Private Member Functions | |
bool | getIterator () |
void | check_publish () |
void | get_runparams () |
void | updateHandler (Gaudi::Details::PropertyBase &p) |
Private Attributes | |
int | m_totalEventCounter {0} |
event Counter More... | |
std::unique_ptr< RawEvent > | m_re {nullptr} |
current event More... | |
Gaudi::Property< std::string > | m_partition {this, "Partition", {}, "Partition name, default taken from $TDAQ_PARTITION if not set"} |
Gaudi::Property< std::string > | m_key {this, "Key", {}, &ByteStreamEmonInputSvc::updateHandler, "EMON Selection key, e.g. SFI"} |
Gaudi::Property< std::vector< std::string > > | m_value {this, "KeyValue", {}, &ByteStreamEmonInputSvc::updateHandler, "EMON key values, e.g. [SFI-1, SFI-2]; if empty all SFIs"} |
Gaudi::Property< unsigned int > | m_key_count {this, "KeyCount", 0, &ByteStreamEmonInputSvc::updateHandler, "EMON key count, e.g. 5 to get five random SFIs"} |
Gaudi::Property< std::string > | m_publish {this, "PublishName", "Athena", &ByteStreamEmonInputSvc::updateHandler, "Name under which to publish histograms"} |
Gaudi::Property< bool > | m_exit {this, "ExitOnPartitionShutdown", false, &ByteStreamEmonInputSvc::updateHandler, "If true, exit if partition shuts down"} |
Gaudi::Property< std::string > | m_is_server {this, "ISServer", "", &ByteStreamEmonInputSvc::updateHandler, "IS Server to publish histograms to"} |
Gaudi::Property< std::string > | m_include {this, "Include", {}, &ByteStreamEmonInputSvc::updateHandler, "Regular expression to select histograms to publish"} |
Gaudi::Property< std::string > | m_exclude {this, "Exclude", {}, &ByteStreamEmonInputSvc::updateHandler, "Regular expression to select histograms not to publish"} |
Gaudi::Property< int > | m_frequency {this, "Frequency", 60, &ByteStreamEmonInputSvc::updateHandler, "Frequency (in number of events) of publishing histograms"} |
Gaudi::Property< int > | m_updatePeriod {this, "UpdatePeriod", 0, &ByteStreamEmonInputSvc::updateHandler, "Frequency (in seconds) of publishing histograms"} |
Gaudi::Property< float > | m_updatePeriodRange {this, "UpdatePeriodRange", 0.2, "A percentage number to determine how close we have to be to the next update time to publish now"} |
Gaudi::Property< bool > | m_clearHistograms {this, "ClearHistograms", true, &ByteStreamEmonInputSvc::updateHandler, "If true, clear histograms when new run starts (default: True)"} |
Gaudi::Property< std::vector< std::string > > | m_l1names {this, "LVL1Names", {}, &ByteStreamEmonInputSvc::updateHandler, "A list of L1 bit names"} |
Gaudi::Property< std::vector< unsigned int > > | m_l1items {this, "LVL1Items", {}, &ByteStreamEmonInputSvc::updateHandler, "A list of L1 bit numbers"} |
Gaudi::Property< std::string > | m_l1logic {this, "LVL1Logic", "Ignore", &ByteStreamEmonInputSvc::updateHandler, "'And', 'Or' or 'Ignore' (default: Ignore)"} |
Gaudi::Property< std::string > | m_l1origin {this, "LVL1Origin", "TAV", &ByteStreamEmonInputSvc::updateHandler, "TBP, TAP, TAV (default: TAV"} |
Gaudi::Property< std::string > | m_stream_type {this, "StreamType", "physics", &ByteStreamEmonInputSvc::updateHandler, "HLT stream type (e.g. physics or calibration)"} |
Gaudi::Property< std::vector< std::string > > | m_stream_names {this, "StreamNames", {}, &ByteStreamEmonInputSvc::updateHandler, "List of HLT stream names"} |
Gaudi::Property< std::string > | m_stream_logic {this, "StreamLogic", "Ignore", &ByteStreamEmonInputSvc::updateHandler, "'And', 'Or' or 'Ignore' (default: Ignore)"} |
Gaudi::Property< unsigned int > | m_trigger_type {this, "TriggerType", 256, &ByteStreamEmonInputSvc::updateHandler, "LVL1 8 bit trigger type"} |
Gaudi::Property< std::string > | m_groupName {this, "GroupName", {}, &ByteStreamEmonInputSvc::updateHandler, "Name of the monitoring group"} |
Gaudi::Property< unsigned int > | m_buffer_size {this, "BufferSize", 2, "Number of buffers"} |
Gaudi::Property< bool > | m_readDetectorMask {this, "ReadDetectorMaskFromIS", true, "Read detector mask from IS"} |
Gaudi::Property< int > | m_timeout {this, "Timeout", 3600000, &ByteStreamEmonInputSvc::updateHandler, "Timeout in seconds, -1 == infinity"} |
Gaudi::Property< bool > | m_corrupted_events {this, "ProcessCorruptedEvents", false, &ByteStreamEmonInputSvc::updateHandler, "Process corrupted events not passing check_tree()"} |
Gaudi::Property< std::string > | m_state {this, "State", "None", "Read-only property showing the state"} |
Gaudi::Property< bool > | m_convertEfficiency {this, "ConvertEfficiency", true, "Convert TEfficiency to TProfile before publishing"} |
SG::ReadHandleKey< TrigConf::L1Menu > | m_l1MenuKey {this, "L1TriggerMenu", "DetectorStore+L1TriggerMenu", "Name of the L1Menu object to read configuration from"} |
bool | m_connect {false} |
std::auto_ptr< emon::EventIterator > | m_eventIt |
Event iterator. More... | |
ITHistSvc * | m_histSvc {nullptr} |
OHRootProvider * | m_provider {nullptr} |
boost::regex | m_include_rex |
boost::regex | m_exclude_rex |
int | m_frequency_counter {60} |
int | m_publish_target {0} |
ServiceHandle< StoreGateSvc > | m_inputMetaDataStore |
ServiceHandle< StoreGateSvc > | m_sgSvc |
ServiceHandle< IROBDataProviderSvc > | m_robProvider |
implements the interface ByteStreamInputSvc for reading events from emon.
Definition at line 36 of file ByteStreamEmonInputSvc.h.
ByteStreamEmonInputSvc::ByteStreamEmonInputSvc | ( | const std::string & | name, |
ISvcLocator * | svcloc | ||
) |
|
private |
Definition at line 486 of file ByteStreamEmonInputSvc.cxx.
|
inlinevirtualinherited |
Reimplemented in ByteStreamEventStorageInputSvc.
Definition at line 61 of file ByteStreamInputSvc.h.
Implementation of the ByteStreamInputSvc interface methods.
Implements ByteStreamInputSvc.
Definition at line 481 of file ByteStreamEmonInputSvc.cxx.
|
inlinevirtualinherited |
virtual method for accessing the current event status
Reimplemented in ByteStreamEventStorageInputSvc.
Definition at line 55 of file ByteStreamInputSvc.h.
|
overridevirtual |
Definition at line 655 of file ByteStreamEmonInputSvc.cxx.
|
inlinevirtualinherited |
Reimplemented in ByteStreamEventStorageInputSvc.
Definition at line 63 of file ByteStreamInputSvc.h.
|
private |
Definition at line 579 of file ByteStreamEmonInputSvc.cxx.
|
inlinevirtualinherited |
Reimplemented in ByteStreamEventStorageInputSvc.
Definition at line 60 of file ByteStreamInputSvc.h.
|
private |
Definition at line 225 of file ByteStreamEmonInputSvc.cxx.
|
overridevirtual |
Definition at line 163 of file ByteStreamEmonInputSvc.cxx.
|
inlinestaticinherited |
Retrieve interface ID.
Declaration of the interface ID ( interface id, major version, minor version)
Definition at line 49 of file ByteStreamInputSvc.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
virtual method for advance to the next event
Implements ByteStreamInputSvc.
Definition at line 355 of file ByteStreamEmonInputSvc.cxx.
|
inlinevirtualinherited |
Reimplemented in ByteStreamEventStorageInputSvc.
Definition at line 64 of file ByteStreamInputSvc.h.
Implementation of the ByteStreamInputSvc interface methods.
Implements ByteStreamInputSvc.
Definition at line 347 of file ByteStreamEmonInputSvc.cxx.
|
inlinevirtualinherited |
Reimplemented in ByteStreamEventStorageInputSvc.
Definition at line 62 of file ByteStreamInputSvc.h.
|
inlinevirtualinherited |
Reimplemented in ByteStreamEventStorageInputSvc.
Definition at line 36 of file ByteStreamInputSvc.h.
|
overridevirtual |
Definition at line 619 of file ByteStreamEmonInputSvc.cxx.
|
private |
Definition at line 645 of file ByteStreamEmonInputSvc.cxx.
|
inlinevirtualinherited |
Reimplemented in ByteStreamEventStorageInputSvc.
Definition at line 65 of file ByteStreamInputSvc.h.
|
private |
Definition at line 89 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 78 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 100 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 94 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 92 of file ByteStreamEmonInputSvc.h.
|
private |
Event iterator.
Definition at line 101 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 74 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 107 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 71 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 75 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 109 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 88 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 103 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 73 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 106 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 112 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 72 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 67 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 69 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 80 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 81 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 97 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 79 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 82 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 66 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 104 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 70 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 110 of file ByteStreamEmonInputSvc.h.
|
private |
current event
Definition at line 63 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 90 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 114 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 113 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 93 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 85 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 84 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 83 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 91 of file ByteStreamEmonInputSvc.h.
|
private |
event Counter
Definition at line 61 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 87 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 76 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 77 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 68 of file ByteStreamEmonInputSvc.h.