Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::AnalysisManager Class Reference
Inheritance diagram for Hal::AnalysisManager:

Public Member Functions

void EnableProgressBar ()
 
void AddReader (Reader *reader)
 
void AddTrigger (TriggerTask *trigger)
 
void AddTask (Task *ana)
 
virtual Bool_t Init ()
 
void SetOutTreeName (TString name)
 
void Run (Int_t start=-1, Int_t end=-1)
 
void SetSource (Source *source)
 
void SetOutput (TString name)
 
MagFieldGetField () const
 
void SetField (MagField *field)
 

Detailed Description

Definition at line 26 of file AnalysisManager.h.

Constructor & Destructor Documentation

◆ AnalysisManager()

Hal::AnalysisManager::AnalysisManager ( )

Definition at line 30 of file AnalysisManager.cxx.

◆ ~AnalysisManager()

Hal::AnalysisManager::~AnalysisManager ( )
virtual

Definition at line 175 of file AnalysisManager.cxx.

Member Function Documentation

◆ AddReader()

void Hal::AnalysisManager::AddReader ( Reader * reader)

add reader task - it's guaranteed that reader will be set as a first task after the triggers

Parameters
reader

Definition at line 187 of file AnalysisManager.cxx.

◆ AddTask()

void Hal::AnalysisManager::AddTask ( Task * ana)
inline

add task to analysis

Parameters
ana

Definition at line 64 of file AnalysisManager.h.

◆ AddTrigger()

void Hal::AnalysisManager::AddTrigger ( TriggerTask * trigger)

add trigger task, it's guaranteed that will be set before other tasks

Parameters
trigger

Definition at line 189 of file AnalysisManager.cxx.

◆ EnableProgressBar()

void Hal::AnalysisManager::EnableProgressBar ( )
inline

enables progress bar

Definition at line 49 of file AnalysisManager.h.

◆ GetField()

MagField * Hal::AnalysisManager::GetField ( ) const
inline

set magnetic field

Returns

Definition at line 95 of file AnalysisManager.h.

◆ Init()

Bool_t Hal::AnalysisManager::Init ( )
virtual

initalize run

Definition at line 32 of file AnalysisManager.cxx.

◆ Run()

void Hal::AnalysisManager::Run ( Int_t start = -1,
Int_t end = -1 )

process events from start to end -1

Parameters
start
endif both parameters equal -1 then process entire file

Definition at line 92 of file AnalysisManager.cxx.

◆ SetField()

void Hal::AnalysisManager::SetField ( MagField * field)
inline

get magnetic field

Parameters
field

Definition at line 100 of file AnalysisManager.h.

◆ SetOutput()

void Hal::AnalysisManager::SetOutput ( TString name)
inline

set name of the output file

Parameters
name

Definition at line 90 of file AnalysisManager.h.

◆ SetOutTreeName()

void Hal::AnalysisManager::SetOutTreeName ( TString name)
inline

set name of the tree in output file

Parameters
name

Definition at line 73 of file AnalysisManager.h.

◆ SetSource()

void Hal::AnalysisManager::SetSource ( Source * source)
inline

set source with data

Parameters
source

Definition at line 85 of file AnalysisManager.h.


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