PndMasterRunAna

class PndMasterRunAna : public FairRunAna

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 spataro@to.infn.it, Torino University

Version

1.0

Date

Feb 1, 2016

Public Functions

PndMasterRunAna()

Default constructor.

virtual ~PndMasterRunAna()

Default destructor.

Bool_t 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.

void Finish()

Final diagnostics.

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

void AddDigiTasks(Bool_t pers = kTRUE)

Add digitization and local reconstruction tasks.

Parameters

pers – Persistency of the TCAs, used only to switch OFF It calls PndMasterDigiTask, adding all the standard digitization tasks

void AddDigiOnlyTasks(Bool_t pers = kTRUE)

Add digitization tasks without reconstruction.

Parameters

pers – Persistency of the TCAs, used only to switch OFF It calls PndMasterDigiTask, adding all the standard digitization tasks

void AddRecoTasks(Bool_t pers = kTRUE)

Add reconstruction tasks.

Parameters

pers – Persistency of the TCAs, used only to switch OFF It calls PndMasterRecoTask, adding all the standard reconstruction tasks

void AddLocalRecoTasks(Bool_t pers = kTRUE)

Add local reconstruction tasks.

Parameters

pers – Persistency of the TCAs, used only to switch OFF It calls PndMasterLocalRecoTask, adding all the standard reconstruction tasks

void AddRecoIdealTasks(Bool_t pers = kTRUE)

Add ideal pattern reconstruction tasks.

Parameters

pers – Persistency of the TCAs, used only to switch OFF It calls PndMasterRecoTask, adding all the standard reconstruction tasks

void AddPidTasks(Bool_t pers = kTRUE)

Add pid tasks.

Parameters

pers – Persistency of the TCAs, used only to switch OFF It calls PndMasterPidTask, adding all the standard pid tasks

inline void SetInput(TString par)

Input of the macro.

inline void SetOutput(TString par)

Tag of the output file of the macro.

inline void SetParamRootFile(TString par)

Setter of the parameter root file.

inline void SetParamAsciiFile(TString par)

Setter of the parameter ascii file.

inline void AddFriend(TString par)

Setter of friend root files.

inline void SetOptions(TString par)

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

inline TString GetOptions()
void PrintListOfTasks(TList *list, TString prefix = " - ")
inline void PrintListOfTasks()
inline void SetEventCounterRate(Int_t par)

Setter of the event counter rate.

inline void GenerateRunInfo(Bool_t val)
inline void UseFairLinks(Bool_t val)