SFrame 3.6
STree Class Reference

Class describing a "simple" input tree in the input file(s). More...

#include <core/include/SInputData.h>

List of all members.

Public Member Functions

 STree (const TString &name="", Int_t typ=0)
 Constructor with a tree name.
STreeoperator= (const STree &parent)
 Assignment operator.
Bool_t operator== (const STree &rh) const
 Equality operator.
Bool_t operator!= (const STree &rh) const
 Non-equality operator.

Public Attributes

TString treeName
 Name of the tree.
Int_t type
 Type of this tree.

Static Public Attributes

static const Int_t INPUT_TREE = 0x1
 This is an input tree.
static const Int_t OUTPUT_TREE = 0x2
 This is an output tree.
static const Int_t EVENT_TREE = 0x4
 This tree has one entry per event.

Detailed Description

Class describing a "simple" input tree in the input file(s).

This class describes an input or output TTree that is used by the analysis to the framework. The TTree only has one property actually, its name. The name of the tree is taken from the configuration XML file.

Version:
Revision:
331

Definition at line 151 of file SInputData.h.


Constructor & Destructor Documentation

STree::STree ( const TString &  name = "",
Int_t  typ = 0 
) [inline]

Constructor with a tree name.

Definition at line 155 of file SInputData.h.


Member Function Documentation

Bool_t STree::operator!= ( const STree rh) const

Non-equality operator.

The non-equality operator is put in to make code such as

if( inputData1 != inputData2 ) ...

possible.

Definition at line 173 of file SInputData.cxx.

STree & STree::operator= ( const STree parent)

Assignment operator.

It is only necessary for some technical affairs.

Definition at line 137 of file SInputData.cxx.

References treeName, and type.

Bool_t STree::operator== ( const STree rh) const

Equality operator.

The equality operator is put in to make code such as

if( inputData1 == inputData2 ) ...

possible.

Definition at line 154 of file SInputData.cxx.

References treeName, and type.


Member Data Documentation

const Int_t STree::EVENT_TREE = 0x4 [static]

This tree has one entry per event.

Definition at line 176 of file SInputData.h.

Referenced by SCycleController::ExecuteNextCycle(), SInputData::HasInputTrees(), and SCycleBaseConfig::InitializeInputData().

const Int_t STree::INPUT_TREE = 0x1 [static]

This is an input tree.

Definition at line 174 of file SInputData.h.

Referenced by SCycleController::ExecuteNextCycle(), SInputData::HasInputTrees(), and SCycleBaseConfig::InitializeInputData().

const Int_t STree::OUTPUT_TREE = 0x2 [static]

This is an output tree.

Definition at line 175 of file SInputData.h.

Referenced by SCycleBaseConfig::InitializeInputData().

TString STree::treeName

Name of the tree.

The only thing that has to be specified for an input or output tree in the configuration XML is its name. This is under which an input tree will be looked for, or under which a new output tree will be created.

Definition at line 172 of file SInputData.h.

Referenced by operator=(), and operator==().

Int_t STree::type

Type of this tree.

This bitmask is used internally to descibe all the trees that SFrame can handle. All SFrame needs to know at this point is if a tree is input or output, and whether it descibes event lever data or not.

Definition at line 184 of file SInputData.h.

Referenced by operator=(), and operator==().


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