Gaudi Framework, version v25r0

Home   Generated: Mon Feb 17 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
Gaudi::RootEvtSelectorContext Class Reference

ROOT specific event selector context. More...

Inheritance diagram for Gaudi::RootEvtSelectorContext:
Inheritance graph
[legend]
Collaboration diagram for Gaudi::RootEvtSelectorContext:
Collaboration graph
[legend]

Public Types

typedef std::vector< std::stringFiles
 Definition of the file container.
 

Public Member Functions

 RootEvtSelectorContext (const RootEvtSelector *s)
 Standard constructor with initialization.
 
virtual ~RootEvtSelectorContext ()
 Standard destructor.
 
const Filesfiles () const
 Access to the file container.
 
void setFiles (const Files &f)
 Set the file container.
 
virtual void * identifier () const
 Context identifier.
 
Files::const_iterator fileIterator () const
 Access to the file iterator.
 
void setFileIterator (Files::const_iterator i)
 Set file iterator.
 
long entry () const
 Access to the current event entry number.
 
void setEntry (long e)
 Set current event entry number.
 
void setFID (const std::string &fid)
 Set connection FID.
 
const std::stringfid () const
 Access connection fid.
 
TBranch * branch () const
 Access to the top level branch (typically /Event) used to iterate.
 
void setBranch (TBranch *b)
 Set the top level branch (typically /Event) used to iterate.
 
- Public Member Functions inherited from IEvtSelector::Context
virtual ~Context ()
 

Private Attributes

const RootEvtSelectorm_sel
 Reference to the hosting event selector instance.
 
Files m_files
 The file container managed by this context.
 
Files::const_iterator m_fiter
 The iterator to the.
 
long m_entry
 Current entry of current file.
 
TBranch * m_branch
 Reference to the top level branch (typically /Event) used to iterate.
 
std::string m_fid
 Connection fid.
 

Detailed Description

ROOT specific event selector context.

See the base class for a detailed description.

Author
M.Frank
Version
1.0

Definition at line 33 of file RootEvtSelector.cpp.

Member Typedef Documentation

typedef std::vector<std::string> Gaudi::RootEvtSelectorContext::Files

Definition of the file container.

Definition at line 36 of file RootEvtSelector.cpp.

Constructor & Destructor Documentation

Gaudi::RootEvtSelectorContext::RootEvtSelectorContext ( const RootEvtSelector s)
inline

Standard constructor with initialization.

Definition at line 52 of file RootEvtSelector.cpp.

: m_sel(s),m_entry(-1),m_branch(0){}
virtual Gaudi::RootEvtSelectorContext::~RootEvtSelectorContext ( )
inlinevirtual

Standard destructor.

Definition at line 54 of file RootEvtSelector.cpp.

{ }

Member Function Documentation

TBranch* Gaudi::RootEvtSelectorContext::branch ( ) const
inline

Access to the top level branch (typically /Event) used to iterate.

Definition at line 77 of file RootEvtSelector.cpp.

{ return m_branch; }
long Gaudi::RootEvtSelectorContext::entry ( ) const
inline

Access to the current event entry number.

Definition at line 69 of file RootEvtSelector.cpp.

{ return m_entry; }
const std::string& Gaudi::RootEvtSelectorContext::fid ( ) const
inline

Access connection fid.

Definition at line 75 of file RootEvtSelector.cpp.

{ return m_fid; }
Files::const_iterator Gaudi::RootEvtSelectorContext::fileIterator ( ) const
inline

Access to the file iterator.

Definition at line 65 of file RootEvtSelector.cpp.

{ return m_fiter; }
const Files& Gaudi::RootEvtSelectorContext::files ( ) const
inline

Access to the file container.

Definition at line 56 of file RootEvtSelector.cpp.

{ return m_files; }
virtual void* Gaudi::RootEvtSelectorContext::identifier ( ) const
inlinevirtual

Context identifier.

Implements IEvtSelector::Context.

Definition at line 63 of file RootEvtSelector.cpp.

{ return (void*)m_sel; }
void Gaudi::RootEvtSelectorContext::setBranch ( TBranch *  b)
inline

Set the top level branch (typically /Event) used to iterate.

Definition at line 79 of file RootEvtSelector.cpp.

{ m_branch = b; }
void Gaudi::RootEvtSelectorContext::setEntry ( long  e)
inline

Set current event entry number.

Definition at line 71 of file RootEvtSelector.cpp.

{ m_entry = e; }
void Gaudi::RootEvtSelectorContext::setFID ( const std::string fid)
inline

Set connection FID.

Definition at line 73 of file RootEvtSelector.cpp.

{ m_fid = fid; }
void Gaudi::RootEvtSelectorContext::setFileIterator ( Files::const_iterator  i)
inline

Set file iterator.

Definition at line 67 of file RootEvtSelector.cpp.

{ m_fiter = i; }
void Gaudi::RootEvtSelectorContext::setFiles ( const Files f)
inline

Set the file container.

Definition at line 58 of file RootEvtSelector.cpp.

{
m_files = f;
}

Member Data Documentation

TBranch* Gaudi::RootEvtSelectorContext::m_branch
private

Reference to the top level branch (typically /Event) used to iterate.

Definition at line 47 of file RootEvtSelector.cpp.

long Gaudi::RootEvtSelectorContext::m_entry
private

Current entry of current file.

Definition at line 45 of file RootEvtSelector.cpp.

std::string Gaudi::RootEvtSelectorContext::m_fid
private

Connection fid.

Definition at line 49 of file RootEvtSelector.cpp.

Files Gaudi::RootEvtSelectorContext::m_files
private

The file container managed by this context.

Definition at line 41 of file RootEvtSelector.cpp.

Files::const_iterator Gaudi::RootEvtSelectorContext::m_fiter
private

The iterator to the.

Definition at line 43 of file RootEvtSelector.cpp.

const RootEvtSelector* Gaudi::RootEvtSelectorContext::m_sel
private

Reference to the hosting event selector instance.

Definition at line 39 of file RootEvtSelector.cpp.


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

Generated at Mon Feb 17 2014 14:38:16 for Gaudi Framework, version v25r0 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004