KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVEventListMaker Class Reference

Detailed Description

Compute TEventList for TTree.

Created by KVClassFactory on Thu Mar 20 11:58:48 2008 Author: Eric Bonnet

Inputs are filename, treename and space-separated list of branchnames.

Only branches containing integer values are handled.

All tree entries are read and TEventList are created when a new value of concerned branches are found.

Definition at line 30 of file KVEventListMaker.h.

#include <KVEventListMaker.h>

Public Member Functions

 KVEventListMaker ()
 
virtual ~KVEventListMaker ()
 
void Clear ()
 
KVString GetBranchName ()
 
KVString GetFileName ()
 
KVString GetTreeName ()
 
Bool_t IsReady ()
 
void Process ()
 
void SetBranchName (KVString name)
 
void SetFileName (KVString name)
 
void SetTreeName (KVString name)
 
void TagWithTreeName (Bool_t tag=kTRUE)
 

Private Member Functions

void init ()
 

Private Attributes

KVString kbname
 
KVString kfname
 name of the file
 
Bool_t ktag_tree
 il faut separer les noms par un espace exemple "module couronne"
 
KVString ktname
 name of the tree
 

Constructor & Destructor Documentation

◆ KVEventListMaker()

KVEventListMaker::KVEventListMaker ( )
inline

default constructor

Definition at line 47 of file KVEventListMaker.h.

◆ ~KVEventListMaker()

virtual KVEventListMaker::~KVEventListMaker ( )
inlinevirtual

destructor

Definition at line 52 of file KVEventListMaker.h.

Member Function Documentation

◆ Clear()

void KVEventListMaker::Clear ( )
inline

Definition at line 57 of file KVEventListMaker.h.

◆ GetBranchName()

KVString KVEventListMaker::GetBranchName ( )
inline

Definition at line 75 of file KVEventListMaker.h.

◆ GetFileName()

KVString KVEventListMaker::GetFileName ( )
inline

Definition at line 84 of file KVEventListMaker.h.

◆ GetTreeName()

KVString KVEventListMaker::GetTreeName ( )
inline

Definition at line 66 of file KVEventListMaker.h.

◆ init()

void KVEventListMaker::init ( )
inlineprivate

initialisation des variables

Definition at line 39 of file KVEventListMaker.h.

◆ IsReady()

Bool_t KVEventListMaker::IsReady ( )
inline

just check if all fields have been set

Definition at line 94 of file KVEventListMaker.h.

◆ Process()

void KVEventListMaker::Process ( )

Definition at line 22 of file KVEventListMaker.cpp.

◆ SetBranchName()

void KVEventListMaker::SetBranchName ( KVString  name)
inline

Definition at line 71 of file KVEventListMaker.h.

◆ SetFileName()

void KVEventListMaker::SetFileName ( KVString  name)
inline

Definition at line 80 of file KVEventListMaker.h.

◆ SetTreeName()

void KVEventListMaker::SetTreeName ( KVString  name)
inline

Definition at line 62 of file KVEventListMaker.h.

◆ TagWithTreeName()

void KVEventListMaker::TagWithTreeName ( Bool_t  tag = kTRUE)
inline

Definition at line 89 of file KVEventListMaker.h.

Member Data Documentation

◆ kbname

KVString KVEventListMaker::kbname
private

name of branches, si plusieurs branches sont concernees

Definition at line 35 of file KVEventListMaker.h.

◆ kfname

KVString KVEventListMaker::kfname
private

name of the file

Definition at line 34 of file KVEventListMaker.h.

◆ ktag_tree

Bool_t KVEventListMaker::ktag_tree
private

il faut separer les noms par un espace exemple "module couronne"

Definition at line 37 of file KVEventListMaker.h.

◆ ktname

KVString KVEventListMaker::ktname
private

name of the tree

Definition at line 33 of file KVEventListMaker.h.