ATLAS Offline Software
Loading...
Searching...
No Matches
EventContextAthenaPool Class Reference

This class provides the context to access an event from POOL persistent store. More...

#include <EventContextAthenaPool.h>

Inheritance diagram for EventContextAthenaPool:
Collaboration diagram for EventContextAthenaPool:

Public Member Functions

 EventContextAthenaPool (const IEvtSelector *selector)
 Constructor.
 EventContextAthenaPool (const EventContextAthenaPool &ctxt)
 Copy constructor.
virtual ~EventContextAthenaPool ()
 Destructor.
const EventContextAthenaPooloperator= (const EventContextAthenaPool &rhs)
 Assignment operator.
virtual void * identifier () const

Private Attributes

const IEvtSelector * m_evtSelector

Detailed Description

This class provides the context to access an event from POOL persistent store.

Definition at line 21 of file EventContextAthenaPool.h.

Constructor & Destructor Documentation

◆ EventContextAthenaPool() [1/2]

EventContextAthenaPool::EventContextAthenaPool ( const IEvtSelector * selector)
inline

Constructor.

Definition at line 40 of file EventContextAthenaPool.h.

40 :
41 IEvtSelector::Context(),
42 m_evtSelector(selector) {}
const IEvtSelector * m_evtSelector

◆ EventContextAthenaPool() [2/2]

EventContextAthenaPool::EventContextAthenaPool ( const EventContextAthenaPool & ctxt)
inline

Copy constructor.

Definition at line 43 of file EventContextAthenaPool.h.

43 :
44 IEvtSelector::Context(*this),

◆ ~EventContextAthenaPool()

EventContextAthenaPool::~EventContextAthenaPool ( )
inlinevirtual

Destructor.

Definition at line 46 of file EventContextAthenaPool.h.

46{}

Member Function Documentation

◆ identifier()

void * EventContextAthenaPool::identifier ( ) const
inlinevirtual
Returns
pointer to identifier.

Definition at line 56 of file EventContextAthenaPool.h.

56 {
57 void* id ATLAS_THREAD_SAFE = const_cast<IEvtSelector*>(m_evtSelector);
58 return id;
59}
#define ATLAS_THREAD_SAFE

◆ operator=()

const EventContextAthenaPool & EventContextAthenaPool::operator= ( const EventContextAthenaPool & rhs)
inline

Assignment operator.

Definition at line 48 of file EventContextAthenaPool.h.

48 {
49 if (&rhs != this) {
50 IEvtSelector::Context::operator=(rhs);
52 }
53 return(rhs);
54}

Member Data Documentation

◆ m_evtSelector

const IEvtSelector* EventContextAthenaPool::m_evtSelector
private

Definition at line 37 of file EventContextAthenaPool.h.


The documentation for this class was generated from the following file: