FairRoot/PandaRoot
PndMasterRunAna.h
Go to the documentation of this file.
1 
13 #ifndef PNDMASTERRUNANA_H
14 #define PNDMASTERRUNANA_H
15 
16 #include "FairRunAna.h"
17 
18 #include "TStopwatch.h"
19 #include <vector>
20 
21 class PndMasterRunAna : public FairRunAna
22 {
23  public:
24 
29 
33  virtual ~PndMasterRunAna();
34 
42  Bool_t Setup(TString outprefix="");
43 
50  void Finish();
51 
58  void AddDigiTasks(Bool_t pers = kTRUE);
59 
66  void AddDigiOnlyTasks(Bool_t pers = kTRUE);
67 
74  void AddRecoTasks(Bool_t pers = kTRUE);
75 
82  void AddLocalRecoTasks(Bool_t pers = kTRUE);
83 
90  void AddRecoIdealTasks(Bool_t pers = kTRUE);
91 
98  void AddPidTasks(Bool_t pers = kTRUE);
99 
104 
109 
114 
119 
123  void AddFriend(TString par) { if (par != "") fFriendFiles.push_back(par);}
124 
132  void SetOptions(TString par) { fOptions = par; fOptions.ToLower();}
134  void PrintListOftTasks();
135 
140 
142 
144 
145  private:
146 
151  std::vector<TString> fFriendFiles;
153 
158 
159  TStopwatch fTimer;
160 
162  ClassDef(PndMasterRunAna,2);
163 
165 };
166 
167 #endif /* PNDMASTERRUNANA_H */
TString fOutFile
Name of the output file.
TString fParamRootFile
Name of the parameter root file.
Int_t fEventCounterRate
After how many events the counter will print.
TStopwatch fTimer
Timer.
void AddLocalRecoTasks(Bool_t pers=kTRUE)
Add local reconstruction tasks.
void AddDigiOnlyTasks(Bool_t pers=kTRUE)
Add digitization tasks without reconstruction.
Class for the master reconstruction chain.
TString fInput
Name of the input for the simulation.
Bool_t Setup(TString outprefix="")
Initial setup.
Double_t val[nBoxes][nFEBox]
Definition: createCalib.C:11
Double_t par[3]
void AddFriend(TString par)
Setter of friend root files.
TString fOptions
Options parsed to the reconstruction.
void SetInput(TString par)
Input of the macro.
void AddRecoTasks(Bool_t pers=kTRUE)
Add reconstruction tasks.
Bool_t fNoGeane
Protect GEANE from being loaded twice.
Bool_t fGenerateRunInfo
Switches on/off the generation of Run info.
void GenerateRunInfo(Bool_t val)
TString GetOptions()
void AddPidTasks(Bool_t pers=kTRUE)
Add pid tasks.
Bool_t fUseFairLinks
Switches on/off the usage of FairLinks.
void AddRecoIdealTasks(Bool_t pers=kTRUE)
Add ideal pattern reconstruction tasks.
void SetParamRootFile(TString par)
Setter of the parameter root file.
PndMasterRunAna()
Default constructor.
void SetOptions(TString par)
Setter of the reconstruction options This string can be: &quot;&quot; -&gt; default settings &quot;day1&quot; -&gt; Setup for ...
virtual ~PndMasterRunAna()
Default destructor.
void AddDigiTasks(Bool_t pers=kTRUE)
Add digitization and local reconstruction tasks.
TString fParamAsciiFile
Name of the parameter ascii file.
void Finish()
Final diagnostics.
std::vector< TString > fFriendFiles
Name of friend files.
void UseFairLinks(Bool_t val)
void SetOutput(TString par)
Tag of the output file of the macro.
void SetParamAsciiFile(TString par)
Setter of the parameter ascii file.
void SetEventCounterRate(Int_t par)
Setter of the event counter rate.