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 gete_ncheck; //check the extended alg every ncheck events |
38 |
|
Int_t extAlgID;//alg ID |
39 |
TString frame1; |
TString frame1; |
40 |
TString frame2; |
TString frame2; |
41 |
TString frameh; |
TString frameh; |
42 |
|
TString framee; |
43 |
Bool_t ifroot1; |
Bool_t ifroot1; |
44 |
Bool_t ifroot2; |
Bool_t ifroot2; |
45 |
Bool_t ifrooth; |
Bool_t ifrooth; |
46 |
|
Bool_t ifroote; |
47 |
Bool_t standalone; |
Bool_t standalone; |
48 |
// Bool_t DEBUG; |
// Bool_t DEBUG; |
49 |
// Bool_t VERBOSE; |
// Bool_t VERBOSE; |
51 |
TString file2; |
TString file2; |
52 |
TString outdir; |
TString outdir; |
53 |
TString pfolder; |
TString pfolder; |
54 |
cDbg dbg_mode; |
// cDbg dbg_mode; |
55 |
// int F77err; |
// int F77err; |
56 |
Int_t ostatus; ///< output status |
Int_t ostatus; ///< output status |
57 |
|
|
58 |
|
UInt_t nskip; ///< n.event to be skipped |
59 |
|
|
60 |
|
Int_t npar; |
61 |
|
Int_t partype[NPARMAX]; |
62 |
|
TString parpath[NPARMAX]; |
63 |
|
|
64 |
|
Bool_t watch; |
65 |
|
|
66 |
|
|
67 |
TrkProcess(); |
TrkProcess(); |
68 |
|
|
69 |
TrkProcess(ULong64_t run, TFile *f2); |
TrkProcess(ULong64_t run, TFile *f2); |
70 |
|
|
71 |
void SetDebugMode() {TrkParams::SetDebugMode(); dbg_mode.SetDebug(); dbg_=dbg_mode;}; |
/* void SetDebugMode() {TrkParams::SetDebugMode(); dbg_mode.SetDebug(); dbg_=dbg_mode;}; */ |
72 |
void SetVerboseMode(){TrkParams::SetVerboseMode(); dbg_mode.SetVerbose(); dbg_=dbg_mode;}; |
/* void SetVerboseMode(){TrkParams::SetVerboseMode(); dbg_mode.SetVerbose(); dbg_=dbg_mode;}; */ |
73 |
void SetWarningMode(){TrkParams::SetWarningMode();dbg_mode.SetWarning(); dbg_=dbg_mode;}; |
/* void SetWarningMode(){TrkParams::SetWarningMode();dbg_mode.SetWarning(); dbg_=dbg_mode;}; */ |
74 |
|
|
75 |
bool DebugMode(){return dbg_mode.debug;}; |
/* bool DebugMode(){return dbg_mode.debug;}; */ |
76 |
bool WarningMode(){return dbg_mode.warning;}; |
/* bool WarningMode(){return dbg_mode.warning;}; */ |
77 |
bool VerboseMode(){return dbg_mode.verbose;}; |
/* bool VerboseMode(){return dbg_mode.verbose;}; */ |
78 |
|
|
79 |
void HandleCustomPar(int ncustom, char* vcustom[]); |
int HandleCustomPar(int ncustom, char* vcustom[]); |
80 |
|
|
81 |
void ProcessEvent(TrkLevel0*); |
void ProcessEvent(TrkLevel0*); |
82 |
|
|
83 |
void Dump(); |
void Dump(); |
84 |
|
void PrintHelp(); |
85 |
|
|
86 |
}; |
}; |
87 |
|
|