ATLAS Offline Software
|
implements the interface IByteStreamInputSvc 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 const RawEvent * | currentEvent () const override |
Implementation of the ByteStreamInputSvc interface methods. 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... | |
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 |
ServiceHandle< ITHistSvc > | m_histSvc |
implements the interface IByteStreamInputSvc for reading events from emon.
Definition at line 37 of file ByteStreamEmonInputSvc.h.
ByteStreamEmonInputSvc::ByteStreamEmonInputSvc | ( | const std::string & | name, |
ISvcLocator * | svcloc | ||
) |
|
private |
Definition at line 483 of file ByteStreamEmonInputSvc.cxx.
Implementation of the ByteStreamInputSvc interface methods.
Definition at line 478 of file ByteStreamEmonInputSvc.cxx.
|
overridevirtual |
Definition at line 652 of file ByteStreamEmonInputSvc.cxx.
|
private |
Definition at line 576 of file ByteStreamEmonInputSvc.cxx.
|
private |
Definition at line 222 of file ByteStreamEmonInputSvc.cxx.
|
overridevirtual |
Definition at line 162 of file ByteStreamEmonInputSvc.cxx.
Definition at line 352 of file ByteStreamEmonInputSvc.cxx.
Implementation of the ByteStreamInputSvc interface methods.
Definition at line 344 of file ByteStreamEmonInputSvc.cxx.
|
overridevirtual |
Definition at line 616 of file ByteStreamEmonInputSvc.cxx.
|
private |
Definition at line 642 of file ByteStreamEmonInputSvc.cxx.
|
private |
Definition at line 90 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 79 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 101 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 95 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 93 of file ByteStreamEmonInputSvc.h.
|
private |
Event iterator.
Definition at line 102 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 75 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 107 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 72 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 76 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 109 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 89 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 115 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 74 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 73 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 68 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 70 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 81 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 82 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 98 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 80 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 83 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 67 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 104 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 71 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 110 of file ByteStreamEmonInputSvc.h.
|
private |
current event
Definition at line 64 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 91 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 94 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 86 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 92 of file ByteStreamEmonInputSvc.h.
|
private |
event Counter
Definition at line 62 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 88 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 77 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 78 of file ByteStreamEmonInputSvc.h.
|
private |
Definition at line 69 of file ByteStreamEmonInputSvc.h.