The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::RootDataConnection::ContainerSection Class Reference

Internal helper class, which described a TBranch section in a ROOT file. More...

#include <GaudiRootCnv/RootDataConnection.h>

Public Member Functions

 ContainerSection ()
 Default constructor.
 ContainerSection (int s, int l)
 Initializing constructor.
 ContainerSection (const ContainerSection &s)
 Copy constructor.
ContainerSection & operator= (const ContainerSection &s)
 Assignment operator to copy objects.

Public Attributes

int start
 The start entry of the section.
int length
 The length of the section.

Detailed Description

Internal helper class, which described a TBranch section in a ROOT file.

TBranch sections (ie. an interval of events) are used to describe files using the ROOT fast merge mechanism.

Author
M.Frank
Version
1.0
Date
20/12/2009

Definition at line 126 of file RootDataConnection.h.

Constructor & Destructor Documentation

◆ ContainerSection() [1/3]

Gaudi::RootDataConnection::ContainerSection::ContainerSection ( )
inline

Default constructor.

Definition at line 128 of file RootDataConnection.h.

128: start( -1 ), length( 0 ) {}
int start
The start entry of the section.

◆ ContainerSection() [2/3]

Gaudi::RootDataConnection::ContainerSection::ContainerSection ( int s,
int l )
inline

Initializing constructor.

Definition at line 130 of file RootDataConnection.h.

130: start( s ), length( l ) {}

◆ ContainerSection() [3/3]

Gaudi::RootDataConnection::ContainerSection::ContainerSection ( const ContainerSection & s)
inline

Copy constructor.

Definition at line 132 of file RootDataConnection.h.

132: start( s.start ), length( s.length ) {}

Member Function Documentation

◆ operator=()

ContainerSection & Gaudi::RootDataConnection::ContainerSection::operator= ( const ContainerSection & s)
inline

Assignment operator to copy objects.

Definition at line 134 of file RootDataConnection.h.

134 {
135 if ( this != &s ) {
136 start = s.start;
137 length = s.length;
138 }
139 return *this;
140 }

Member Data Documentation

◆ length

int Gaudi::RootDataConnection::ContainerSection::length

The length of the section.

Definition at line 144 of file RootDataConnection.h.

◆ start

int Gaudi::RootDataConnection::ContainerSection::start

The start entry of the section.

Definition at line 142 of file RootDataConnection.h.


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