![]() |
ATLAS Offline Software
|
a triple selector/context/store defines a stream More...
#include <PileUpStream.h>
Public Types | |
| typedef IEvtSelector::Context | EvtIterator |
Public Member Functions | |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Structors | |
| PileUpStream () | |
| Structors. | |
| PileUpStream (const PileUpStream &rhs)=delete | |
| PileUpStream & | operator= (const PileUpStream &rhs)=delete |
| PileUpStream (PileUpStream &&rhs) | |
| PileUpStream & | operator= (PileUpStream &&rhs) |
| PileUpStream (const std::string &name, ISvcLocator *svcLoc, const std::string &selecName) | |
| PileUpStream (const std::string &name, ISvcLocator *svcLoc, IEvtSelector *sel) | |
| virtual | ~PileUpStream () |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
accessors | |
| std::string | m_name |
| Stream name. | |
| ISvcLocator * | p_svcLoc {nullptr} |
| ServiceLocator. | |
| SmartIF< IEvtSelector > | m_sel |
| Selector. | |
| SmartIF< StoreGateSvc > | m_SG |
| StoreGateSvc;. | |
| EvtIterator * | p_iter {nullptr} |
| Input Iterators. | |
| ServiceHandle< PileUpMergeSvc > | m_mergeSvc |
| bool | m_ownEvtIterator {false} |
| do we own p_iter? | |
| bool | m_neverLoaded {true} |
| has an event been loaded into this stream? | |
| bool | m_ownStore {false} |
| is m_SG a store we cloned from the master one? | |
| bool | m_used {false} |
| has this stream already been used? (for the current event) | |
| bool | m_hasRing {false} |
| unsigned int | m_iOriginalRing {0} |
| original ring in which event was used | |
| const std::string & | name () |
| IEvtSelector & | selector () |
| EvtIterator & | iterator () |
| StoreGateSvc & | store () |
| const IEvtSelector & | selector () const |
| const EvtIterator & | iterator () const |
| const StoreGateSvc & | store () const |
| const xAOD::EventInfo * | nextEventPre (bool readRecord=true) |
| return next Event, load store with next Event | |
| bool | nextEventPre_Passive (bool readRecord) |
| like nextEventPre, but doesn't actually load anything | |
| bool | setupStore () |
| setup input and overlay selectors and iters | |
| bool | setupStore (bool) |
| backward compatibility | |
| StatusCode | finalize () |
| finalize and release store. To be called on ... finalize() | |
| bool | used () const |
| has this stream already be used in this event? | |
| void | setUsed () |
| void | resetUsed () |
| bool | hasRing () const |
| unsigned int | originalIRing () const |
| index of the ring for which this stream was used originally | |
| void | setOriginalIRing (unsigned int iR) |
| ISvcLocator * | serviceLocator () |
| StatusCode | nextRecordPre () |
| increment event iterator before loading store | |
| StatusCode | nextRecordPre_Passive () |
| increment event iterator | |
| bool | loadStore () |
| clear store and load new proxies | |
| void | setActiveStore () |
| set ActiveStore | |
a triple selector/context/store defines a stream
Definition at line 30 of file PileUpStream.h.
| typedef IEvtSelector::Context PileUpStream::EvtIterator |
Definition at line 34 of file PileUpStream.h.
| PileUpStream::PileUpStream | ( | ) |
|
delete |
| PileUpStream::PileUpStream | ( | PileUpStream && | rhs | ) |
Definition at line 32 of file PileUpStream.cxx.
| PileUpStream::PileUpStream | ( | const std::string & | name, |
| ISvcLocator * | svcLoc, | ||
| const std::string & | selecName ) |
Definition at line 77 of file PileUpStream.cxx.
| PileUpStream::PileUpStream | ( | const std::string & | name, |
| ISvcLocator * | svcLoc, | ||
| IEvtSelector * | sel ) |
Definition at line 61 of file PileUpStream.cxx.
|
virtual |
Definition at line 94 of file PileUpStream.cxx.
| StatusCode PileUpStream::finalize | ( | ) |
finalize and release store. To be called on ... finalize()
Definition at line 232 of file PileUpStream.cxx.
|
inline |
Definition at line 81 of file PileUpStream.h.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
|
inline |
Definition at line 56 of file PileUpStream.h.
|
inline |
Definition at line 59 of file PileUpStream.h.
|
private |
clear store and load new proxies
Definition at line 179 of file PileUpStream.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inline |
Definition at line 54 of file PileUpStream.h.
| const xAOD::EventInfo * PileUpStream::nextEventPre | ( | bool | readRecord = true | ) |
return next Event, load store with next Event
Definition at line 193 of file PileUpStream.cxx.
| bool PileUpStream::nextEventPre_Passive | ( | bool | readRecord | ) |
like nextEventPre, but doesn't actually load anything
Definition at line 218 of file PileUpStream.cxx.
|
private |
increment event iterator before loading store
Definition at line 170 of file PileUpStream.cxx.
|
private |
increment event iterator
Definition at line 160 of file PileUpStream.cxx.
|
delete |
| PileUpStream & PileUpStream::operator= | ( | PileUpStream && | rhs | ) |
Definition at line 39 of file PileUpStream.cxx.
|
inline |
index of the ring for which this stream was used originally
Definition at line 83 of file PileUpStream.h.
|
inline |
Definition at line 80 of file PileUpStream.h.
|
inline |
Definition at line 55 of file PileUpStream.h.
|
inline |
Definition at line 58 of file PileUpStream.h.
|
inlineprivate |
Definition at line 93 of file PileUpStream.h.
|
private |
set ActiveStore
Definition at line 155 of file PileUpStream.cxx.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
inline |
Definition at line 84 of file PileUpStream.h.
| bool PileUpStream::setupStore | ( | ) |
setup input and overlay selectors and iters
Definition at line 98 of file PileUpStream.cxx.
|
inline |
backward compatibility
Definition at line 72 of file PileUpStream.h.
|
inline |
Definition at line 79 of file PileUpStream.h.
|
inline |
Definition at line 57 of file PileUpStream.h.
|
inline |
Definition at line 60 of file PileUpStream.h.
|
inline |
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 126 of file PileUpStream.h.
|
mutableprivateinherited |
|
private |
|
mutableprivateinherited |
|
private |
Definition at line 118 of file PileUpStream.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
private |
Stream name.
Definition at line 108 of file PileUpStream.h.
|
private |
has an event been loaded into this stream?
Definition at line 122 of file PileUpStream.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
|
private |
is m_SG a store we cloned from the master one?
Definition at line 123 of file PileUpStream.h.
|
private |
Selector.
Definition at line 112 of file PileUpStream.h.
|
private |
Definition at line 114 of file PileUpStream.h.
|
private |
has this stream already been used? (for the current event)
Definition at line 125 of file PileUpStream.h.
|
private |
|
private |