| 5 |
#ifndef trkprocess_h |
#ifndef trkprocess_h |
| 6 |
#define trkprocess_h |
#define trkprocess_h |
| 7 |
|
|
| 8 |
|
#include <TrkStruct.h> |
| 9 |
|
#include <TrkLevel0.h> |
| 10 |
|
|
| 11 |
#include <TString.h> |
#include <TString.h> |
| 12 |
#include <TSystem.h> |
#include <TSystem.h> |
| 13 |
#include <iostream> |
#include <iostream> |
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
/** |
/** |
| 18 |
* \brief Class to handle input parameters for tracker data processing |
* \brief Class to handle input parameters for tracker data processing |
| 19 |
* |
* |
| 25 |
private: |
private: |
| 26 |
|
|
| 27 |
public: |
public: |
| 28 |
|
|
| 29 |
ULong64_t idrun; |
ULong64_t idrun; |
| 30 |
Bool_t get1; |
Bool_t get1; |
| 31 |
Bool_t get2; |
Bool_t full1; |
| 32 |
TString frame1; |
Bool_t get2; |
| 33 |
TString frame2; |
Bool_t geth; |
| 34 |
Bool_t ifroot1; |
TString frame1; |
| 35 |
Bool_t ifroot2; |
TString frame2; |
| 36 |
Bool_t standalone; |
TString frameh; |
| 37 |
Bool_t DEBUG; |
Bool_t ifroot1; |
| 38 |
TString file1; |
Bool_t ifroot2; |
| 39 |
TString file2; |
Bool_t ifrooth; |
| 40 |
TString outdir; |
Bool_t standalone; |
| 41 |
TString pfolder; |
// Bool_t DEBUG; |
| 42 |
|
// Bool_t VERBOSE; |
| 43 |
|
TString file1; |
| 44 |
|
TString file2; |
| 45 |
|
TString outdir; |
| 46 |
|
TString pfolder; |
| 47 |
|
cDbg dbg_mode; |
| 48 |
|
// int F77err; |
| 49 |
|
Int_t ostatus; ///< output status |
| 50 |
|
|
| 51 |
TrkProcess(); |
TrkProcess(); |
| 52 |
|
|
| 53 |
TrkProcess(ULong64_t run, TFile *f2); |
TrkProcess(ULong64_t run, TFile *f2); |
| 54 |
int HandleCustomPar(int ncustom, char* vcustom[]); |
|
| 55 |
|
void SetDebugMode() {dbg_mode.SetDebug(); dbg_=dbg_mode;}; |
| 56 |
|
void SetVerboseMode(){dbg_mode.SetVerbose(); dbg_=dbg_mode;}; |
| 57 |
|
void SetWarningMode(){dbg_mode.SetWarning(); dbg_=dbg_mode;}; |
| 58 |
|
|
| 59 |
|
bool DebugMode(){return dbg_mode.debug;}; |
| 60 |
|
bool WarningMode(){return dbg_mode.warning;}; |
| 61 |
|
bool VerboseMode(){return dbg_mode.verbose;}; |
| 62 |
|
|
| 63 |
|
void HandleCustomPar(int ncustom, char* vcustom[]); |
| 64 |
|
|
| 65 |
|
void ProcessEvent(TrkLevel0*); |
| 66 |
|
|
| 67 |
void Dump(); |
void Dump(); |
| 68 |
|
|
| 69 |
|
|
| 70 |
}; |
}; |
| 71 |
|
|
| 72 |
|
|