6 |
#define trkprocess_h |
#define trkprocess_h |
7 |
|
|
8 |
#include <TrkStruct.h> |
#include <TrkStruct.h> |
9 |
|
#include <TrkParams.h> |
10 |
#include <TrkLevel0.h> |
#include <TrkLevel0.h> |
11 |
|
|
12 |
#include <TString.h> |
#include <TString.h> |
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 |
45 |
TString file2; |
TString file2; |
46 |
TString outdir; |
TString outdir; |
47 |
TString pfolder; |
TString pfolder; |
48 |
cDbg dbg_mode; |
// cDbg dbg_mode; |
49 |
// int F77err; |
// int F77err; |
50 |
Int_t ostatus; ///< output status |
Int_t ostatus; ///< output status |
51 |
|
|
52 |
|
Int_t npar; |
53 |
|
Int_t partype[NPARMAX]; |
54 |
|
TString parpath[NPARMAX]; |
55 |
|
|
56 |
TrkProcess(); |
TrkProcess(); |
57 |
|
|
58 |
TrkProcess(ULong64_t run, TFile *f2); |
TrkProcess(ULong64_t run, TFile *f2); |
59 |
|
|
60 |
void SetDebugMode() {dbg_mode.SetDebug(); dbg_=dbg_mode;}; |
/* void SetDebugMode() {TrkParams::SetDebugMode(); dbg_mode.SetDebug(); dbg_=dbg_mode;}; */ |
61 |
void SetVerboseMode(){dbg_mode.SetVerbose(); dbg_=dbg_mode;}; |
/* void SetVerboseMode(){TrkParams::SetVerboseMode(); dbg_mode.SetVerbose(); dbg_=dbg_mode;}; */ |
62 |
void SetWarningMode(){dbg_mode.SetWarning(); dbg_=dbg_mode;}; |
/* void SetWarningMode(){TrkParams::SetWarningMode();dbg_mode.SetWarning(); dbg_=dbg_mode;}; */ |
63 |
|
|
64 |
bool DebugMode(){return dbg_mode.debug;}; |
/* bool DebugMode(){return dbg_mode.debug;}; */ |
65 |
bool WarningMode(){return dbg_mode.warning;}; |
/* bool WarningMode(){return dbg_mode.warning;}; */ |
66 |
bool VerboseMode(){return dbg_mode.verbose;}; |
/* bool VerboseMode(){return dbg_mode.verbose;}; */ |
67 |
|
|
68 |
void HandleCustomPar(int ncustom, char* vcustom[]); |
int HandleCustomPar(int ncustom, char* vcustom[]); |
69 |
|
|
70 |
void ProcessEvent(TrkLevel0*); |
void ProcessEvent(TrkLevel0*); |
71 |
|
|
72 |
void Dump(); |
void Dump(); |
73 |
|
void PrintHelp(); |
74 |
|
|
75 |
}; |
}; |
76 |
|
|