Gaudi Framework, version v23r0

Home   Generated: Mon Jan 30 2012
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

Gaudi::RootConnectionSetup Class Reference

#include <RootDataConnection.h>

Collaboration diagram for Gaudi::RootConnectionSetup:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< std::stringStringVec
 Type definition for string maps.

Public Member Functions

 RootConnectionSetup ()
 Standard constructor.
void addRef ()
 Increase reference count.
void release ()
 Decrease reference count.
void setMessageSvc (MsgStream *m)
 Set message service reference.
MsgStreammsgSvc () const
 Retrieve message service.

Public Attributes

StringVec cacheBranches
 Vector of strings with branches to be cached for input files.
StringVec vetoBranches
 Vector of strings with branches to NOT be cached for input files.
std::string loadSection
 RootCnvSvc Property: Root data cache size.
int cacheSize
 RootCnvSvc Property: Root data cache size.
int learnEntries
 RootCnvSvc Property: ROOT cache learn entries.
int autoFlush
 RootCnvSvc Property: AutoFlush parameter for ROOT TTree (Number of events between auto flushes)
int basketSize
 RootCnvSvc Property: Basket optimization parameter for ROOT TTree (total basket size)

Protected Member Functions

virtual ~RootConnectionSetup ()
 Standard destructor.

Protected Attributes

int refCount
 Object refrfence count.
MsgStreamm_msgSvc
 Reference to message service.

Detailed Description

Definition at line 41 of file RootDataConnection.h.


Member Typedef Documentation

typedef std::vector<std::string> Gaudi::RootConnectionSetup::StringVec

Type definition for string maps.

Definition at line 44 of file RootDataConnection.h.


Constructor & Destructor Documentation

RootConnectionSetup::~RootConnectionSetup (  ) [protected, virtual]

Standard destructor.

Definition at line 85 of file RootDataConnection.cpp.

                                          {
  deletePtr(m_msgSvc);
}
RootConnectionSetup::RootConnectionSetup (  )

Standard constructor.

Definition at line 80 of file RootDataConnection.cpp.

                                         : refCount(1), m_msgSvc(0)
{
}

Member Function Documentation

void RootConnectionSetup::addRef (  )

Increase reference count.

Definition at line 90 of file RootDataConnection.cpp.

                                 {
  ++refCount;
}
MsgStream& Gaudi::RootConnectionSetup::msgSvc (  ) const [inline]

Retrieve message service.

Definition at line 78 of file RootDataConnection.h.

{  return *m_msgSvc; }
void RootConnectionSetup::release (  )

Decrease reference count.

Definition at line 95 of file RootDataConnection.cpp.

                                  {
  int tmp = --refCount;
  if ( tmp <= 0 ) {
    delete this;
  }
}
void RootConnectionSetup::setMessageSvc ( MsgStream m )

Set message service reference.

Definition at line 103 of file RootDataConnection.cpp.

                                                    {
  MsgStream* tmp = m_msgSvc;
  m_msgSvc = m;
  deletePtr(tmp);
}

Member Data Documentation

int Gaudi::RootConnectionSetup::autoFlush

RootCnvSvc Property: AutoFlush parameter for ROOT TTree (Number of events between auto flushes)

Definition at line 65 of file RootDataConnection.h.

int Gaudi::RootConnectionSetup::basketSize

RootCnvSvc Property: Basket optimization parameter for ROOT TTree (total basket size)

Definition at line 67 of file RootDataConnection.h.

StringVec Gaudi::RootConnectionSetup::cacheBranches

Vector of strings with branches to be cached for input files.

Definition at line 55 of file RootDataConnection.h.

int Gaudi::RootConnectionSetup::cacheSize

RootCnvSvc Property: Root data cache size.

Definition at line 61 of file RootDataConnection.h.

int Gaudi::RootConnectionSetup::learnEntries

RootCnvSvc Property: ROOT cache learn entries.

Definition at line 63 of file RootDataConnection.h.

std::string Gaudi::RootConnectionSetup::loadSection

RootCnvSvc Property: Root data cache size.

Definition at line 59 of file RootDataConnection.h.

MsgStream* Gaudi::RootConnectionSetup::m_msgSvc [protected]

Reference to message service.

Definition at line 51 of file RootDataConnection.h.

int Gaudi::RootConnectionSetup::refCount [protected]

Object refrfence count.

Definition at line 49 of file RootDataConnection.h.

StringVec Gaudi::RootConnectionSetup::vetoBranches

Vector of strings with branches to NOT be cached for input files.

Definition at line 57 of file RootDataConnection.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Jan 30 2012 13:53:30 for Gaudi Framework, version v23r0 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004