Diana Software
Public Types | Public Member Functions | Protected Member Functions | List of all members
QBaseTree Class Reference

abstract class for diana trees More...

Inheritance diagram for QBaseTree:
QATree QTree QiTree

Public Types

enum  QTreeType { QTREE , QATREE , QITREE }
 

Public Member Functions

 QBaseTree ()
 
 QBaseTree (QTreeType, const char *title)
 
virtual ~QBaseTree ()
 
QTreeInfoGetTreeInfo ()
 
const std::string & GetSoftwareRevision ()
 
const std::string & GetVersionTag ()
 

Protected Member Functions

 ClassDef (QBaseTree, 3)
 

Detailed Description

abstract class for diana trees

Author
Marco Vignati

This class implements additional functions to TTree. So far it imlements the Get/SetVersion() methods to retreive the sw version when the tree was written.

It also provides backward compatibility with the old diana trees.

Definition at line 26 of file QBaseTree.hh.

Member Enumeration Documentation

◆ QTreeType

Enumerator
QTREE 
QATREE 
QITREE 

Definition at line 29 of file QBaseTree.hh.

Constructor & Destructor Documentation

◆ QBaseTree() [1/2]

QBaseTree::QBaseTree ( )

Definition at line 8 of file QBaseTree.cc.

◆ QBaseTree() [2/2]

QBaseTree::QBaseTree ( QTreeType  type,
const char *  title 
)

Definition at line 13 of file QBaseTree.cc.

References QTreeInfo::fType, GetTreeInfo(), QATREE, QITREE, and QTREE.

◆ ~QBaseTree()

virtual QBaseTree::~QBaseTree ( )
inlinevirtual

Definition at line 39 of file QBaseTree.hh.

Member Function Documentation

◆ ClassDef()

QBaseTree::ClassDef ( QBaseTree  ,
 
)
protected

◆ GetSoftwareRevision()

const std::string& QBaseTree::GetSoftwareRevision ( )
inline

Definition at line 43 of file QBaseTree.hh.

References QTreeInfo::fSoftwareRevision, and GetTreeInfo().

Referenced by QChain::Add(), and main().

◆ GetTreeInfo()

QTreeInfo & QBaseTree::GetTreeInfo ( )

◆ GetVersionTag()

const std::string& QBaseTree::GetVersionTag ( )
inline

Definition at line 45 of file QBaseTree.hh.

References QTreeInfo::fVersionTag, and GetTreeInfo().

Referenced by QChain::Add(), and main().


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