13 |
#include <TSystem.h> |
#include <TSystem.h> |
14 |
#include <iostream> |
#include <iostream> |
15 |
|
|
16 |
|
#define NPARMAX 20 |
17 |
|
|
18 |
/** |
/** |
19 |
* \brief Class to handle input parameters for tracker data processing |
* \brief Class to handle input parameters for tracker data processing |
32 |
Bool_t full1; |
Bool_t full1; |
33 |
Bool_t get2; |
Bool_t get2; |
34 |
Bool_t geth; |
Bool_t geth; |
35 |
|
Bool_t gete; //Extended tracking |
36 |
|
Bool_t getn; //Nuclei |
37 |
|
Int_t extAlgID;//alg ID |
38 |
TString frame1; |
TString frame1; |
39 |
TString frame2; |
TString frame2; |
40 |
TString frameh; |
TString frameh; |
41 |
|
TString framee; |
42 |
Bool_t ifroot1; |
Bool_t ifroot1; |
43 |
Bool_t ifroot2; |
Bool_t ifroot2; |
44 |
Bool_t ifrooth; |
Bool_t ifrooth; |
45 |
|
Bool_t ifroote; |
46 |
Bool_t standalone; |
Bool_t standalone; |
47 |
// Bool_t DEBUG; |
// Bool_t DEBUG; |
48 |
// Bool_t VERBOSE; |
// Bool_t VERBOSE; |
50 |
TString file2; |
TString file2; |
51 |
TString outdir; |
TString outdir; |
52 |
TString pfolder; |
TString pfolder; |
53 |
cDbg dbg_mode; |
// cDbg dbg_mode; |
54 |
// int F77err; |
// int F77err; |
55 |
Int_t ostatus; ///< output status |
Int_t ostatus; ///< output status |
56 |
|
|
57 |
|
UInt_t nskip; ///< n.event to be skipped |
58 |
|
|
59 |
|
Int_t npar; |
60 |
|
Int_t partype[NPARMAX]; |
61 |
|
TString parpath[NPARMAX]; |
62 |
|
|
63 |
|
Bool_t watch; |
64 |
|
|
65 |
|
|
66 |
TrkProcess(); |
TrkProcess(); |
67 |
|
|
68 |
TrkProcess(ULong64_t run, TFile *f2); |
TrkProcess(ULong64_t run, TFile *f2); |
69 |
|
|
70 |
void SetDebugMode() {TrkParams::SetDebugMode(); dbg_mode.SetDebug(); dbg_=dbg_mode;}; |
/* void SetDebugMode() {TrkParams::SetDebugMode(); dbg_mode.SetDebug(); dbg_=dbg_mode;}; */ |
71 |
void SetVerboseMode(){TrkParams::SetVerboseMode(); dbg_mode.SetVerbose(); dbg_=dbg_mode;}; |
/* void SetVerboseMode(){TrkParams::SetVerboseMode(); dbg_mode.SetVerbose(); dbg_=dbg_mode;}; */ |
72 |
void SetWarningMode(){TrkParams::SetWarningMode();dbg_mode.SetWarning(); dbg_=dbg_mode;}; |
/* void SetWarningMode(){TrkParams::SetWarningMode();dbg_mode.SetWarning(); dbg_=dbg_mode;}; */ |
73 |
|
|
74 |
bool DebugMode(){return dbg_mode.debug;}; |
/* bool DebugMode(){return dbg_mode.debug;}; */ |
75 |
bool WarningMode(){return dbg_mode.warning;}; |
/* bool WarningMode(){return dbg_mode.warning;}; */ |
76 |
bool VerboseMode(){return dbg_mode.verbose;}; |
/* bool VerboseMode(){return dbg_mode.verbose;}; */ |
77 |
|
|
78 |
void HandleCustomPar(int ncustom, char* vcustom[]); |
int HandleCustomPar(int ncustom, char* vcustom[]); |
79 |
|
|
80 |
void ProcessEvent(TrkLevel0*); |
void ProcessEvent(TrkLevel0*); |
81 |
|
|
82 |
void Dump(); |
void Dump(); |
83 |
|
void PrintHelp(); |
84 |
|
|
85 |
}; |
}; |
86 |
|
|