PandaRoot
PndMasterRunAna Class Reference

Class for the master reconstruction chain. More...

#include <PndMasterRunAna.h>

Inheritance diagram for PndMasterRunAna:

Public Member Functions

 PndMasterRunAna ()
 Default constructor. More...
 
virtual ~PndMasterRunAna ()
 Default destructor. More...
 
Bool_t Setup (TString outprefix="")
 Initial setup. More...
 
void Finish ()
 Final diagnostics. More...
 
void AddDigiTasks (Bool_t pers=kTRUE)
 Add digitization and local reconstruction tasks. More...
 
void AddDigiOnlyTasks (Bool_t pers=kTRUE)
 Add digitization tasks without reconstruction. More...
 
void AddRecoTasks (Bool_t pers=kTRUE)
 Add reconstruction tasks. More...
 
void AddLocalRecoTasks (Bool_t pers=kTRUE)
 Add local reconstruction tasks. More...
 
void AddRecoIdealTasks (Bool_t pers=kTRUE)
 Add ideal pattern reconstruction tasks. More...
 
void AddPidTasks (Bool_t pers=kTRUE)
 Add pid tasks. More...
 
void SetInput (TString par)
 Input of the macro. More...
 
void SetOutput (TString par)
 Tag of the output file of the macro. More...
 
void SetParamRootFile (TString par)
 Setter of the parameter root file. More...
 
void SetParamAsciiFile (TString par)
 Setter of the parameter ascii file. More...
 
void AddFriend (TString par)
 Setter of friend root files. More...
 
void SetOptions (TString par)
 Setter of the reconstruction options. More...
 
TString GetOptions ()
 
void PrintListOfTasks (TList *list, TString prefix=" - ")
 
void PrintListOfTasks ()
 
void SetEventCounterRate (Int_t par)
 Setter of the event counter rate. More...
 
void GenerateRunInfo (Bool_t val)
 
void UseFairLinks (Bool_t val)
 

Detailed Description

Class for the master reconstruction chain.

Master Tasks Class

This class is the basic for all the reconstruction steps, digi, reco, pid and so on.

Author
Stefano Spataro spata.nosp@m.ro@t.nosp@m.o.inf.nosp@m.n.it, Torino University
Version
1.0
Date
Feb 1, 2016

Definition at line 21 of file PndMasterRunAna.h.

Constructor & Destructor Documentation

◆ PndMasterRunAna()

PndMasterRunAna::PndMasterRunAna ( )

Default constructor.

◆ ~PndMasterRunAna()

virtual PndMasterRunAna::~PndMasterRunAna ( )
virtual

Default destructor.

Member Function Documentation

◆ AddDigiOnlyTasks()

void PndMasterRunAna::AddDigiOnlyTasks ( Bool_t  pers = kTRUE)

Add digitization tasks without reconstruction.

Parameters
persPersistency of the TCAs, used only to switch OFF It calls PndMasterDigiTask, adding all the standard digitization tasks

◆ AddDigiTasks()

void PndMasterRunAna::AddDigiTasks ( Bool_t  pers = kTRUE)

Add digitization and local reconstruction tasks.

Parameters
persPersistency of the TCAs, used only to switch OFF It calls PndMasterDigiTask, adding all the standard digitization tasks

◆ AddFriend()

void PndMasterRunAna::AddFriend ( TString  par)
inline

Setter of friend root files.

Definition at line 121 of file PndMasterRunAna.h.

122  {
123  if (par != "")
124  fFriendFiles.push_back(par);
125  }

◆ AddLocalRecoTasks()

void PndMasterRunAna::AddLocalRecoTasks ( Bool_t  pers = kTRUE)

Add local reconstruction tasks.

Parameters
persPersistency of the TCAs, used only to switch OFF It calls PndMasterLocalRecoTask, adding all the standard reconstruction tasks

◆ AddPidTasks()

void PndMasterRunAna::AddPidTasks ( Bool_t  pers = kTRUE)

Add pid tasks.

Parameters
persPersistency of the TCAs, used only to switch OFF It calls PndMasterPidTask, adding all the standard pid tasks

◆ AddRecoIdealTasks()

void PndMasterRunAna::AddRecoIdealTasks ( Bool_t  pers = kTRUE)

Add ideal pattern reconstruction tasks.

Parameters
persPersistency of the TCAs, used only to switch OFF It calls PndMasterRecoTask, adding all the standard reconstruction tasks

◆ AddRecoTasks()

void PndMasterRunAna::AddRecoTasks ( Bool_t  pers = kTRUE)

Add reconstruction tasks.

Parameters
persPersistency of the TCAs, used only to switch OFF It calls PndMasterRecoTask, adding all the standard reconstruction tasks

◆ Finish()

void PndMasterRunAna::Finish ( )

Final diagnostics.

It prints CPU time, memory usage, used parameters, and eventually send the information to CDash

◆ GenerateRunInfo()

void PndMasterRunAna::GenerateRunInfo ( Bool_t  val)
inline

Definition at line 149 of file PndMasterRunAna.h.

149 { fGenerateRunInfo = val; }

◆ GetOptions()

TString PndMasterRunAna::GetOptions ( )
inline

Definition at line 139 of file PndMasterRunAna.h.

References PrintListOfTasks().

139 { return fOptions; }

◆ PrintListOfTasks() [1/2]

void PndMasterRunAna::PrintListOfTasks ( TList *  list,
TString  prefix = " - " 
)

◆ PrintListOfTasks() [2/2]

void PndMasterRunAna::PrintListOfTasks ( )
inline

Definition at line 142 of file PndMasterRunAna.h.

References PrintListOfTasks().

Referenced by GetOptions(), and PrintListOfTasks().

142 { PrintListOfTasks(GetMainTask()->GetListOfTasks()); }

◆ SetEventCounterRate()

void PndMasterRunAna::SetEventCounterRate ( Int_t  par)
inline

Setter of the event counter rate.

Definition at line 147 of file PndMasterRunAna.h.

147 { fEventCounterRate = par; }

◆ SetInput()

void PndMasterRunAna::SetInput ( TString  par)
inline

Input of the macro.

Definition at line 101 of file PndMasterRunAna.h.

101 { fInput = par; }

◆ SetOptions()

void PndMasterRunAna::SetOptions ( TString  par)
inline

Setter of the reconstruction options.

Parameters
par= "" -> default settings
par= "day1" -> Setup for day1 experimentent, no GEM
par= "day1+GEM" -> Setup for day1 experimentent, 3 GEM planes

Definition at line 134 of file PndMasterRunAna.h.

135  {
136  fOptions = par;
137  fOptions.ToLower();
138  }

◆ SetOutput()

void PndMasterRunAna::SetOutput ( TString  par)
inline

Tag of the output file of the macro.

Definition at line 106 of file PndMasterRunAna.h.

106 { fOutFile = par; }

◆ SetParamAsciiFile()

void PndMasterRunAna::SetParamAsciiFile ( TString  par)
inline

Setter of the parameter ascii file.

Definition at line 116 of file PndMasterRunAna.h.

116 { fParamAsciiFile = par; }

◆ SetParamRootFile()

void PndMasterRunAna::SetParamRootFile ( TString  par)
inline

Setter of the parameter root file.

Definition at line 111 of file PndMasterRunAna.h.

111 { fParamRootFile = par; }

◆ Setup()

Bool_t PndMasterRunAna::Setup ( TString  outprefix = "")

Initial setup.

This command set the source files, load the proper parameters, and set the relevant flags. If something fails, it returns a kFALSE value.

◆ UseFairLinks()

void PndMasterRunAna::UseFairLinks ( Bool_t  val)
inline

Definition at line 151 of file PndMasterRunAna.h.

151 { fUseFairLinks = val; }

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