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