| 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 |
|
// extern "C" { |
| 16 |
|
// extern struct cTrkCalib pedsigbad_; |
| 17 |
|
// extern struct cTrkLevel0 level0event_; |
| 18 |
|
// extern struct cTrkLevel1 level1event_; |
| 19 |
|
// extern struct cTrkLevel2 level2event_; |
| 20 |
|
// extern struct cPath path_; |
| 21 |
|
// extern struct cBPath bpath_; |
| 22 |
|
// extern struct cDbg dbg_; |
| 23 |
|
// // int fillpedsigfromdefault_(); |
| 24 |
|
// int readmipparam_(); |
| 25 |
|
// int readchargeparam_(); |
| 26 |
|
// int readvkmask_(); |
| 27 |
|
// int readalignparam_(); |
| 28 |
|
// int readetaparam_(); |
| 29 |
|
// void reductionflight_(int*); |
| 30 |
|
// int analysisflight_(); |
| 31 |
|
// } |
| 32 |
|
|
| 33 |
/** |
/** |
| 34 |
* \brief Class to handle input parameters for tracker data processing |
* \brief Class to handle input parameters for tracker data processing |
| 35 |
* |
* |
| 41 |
private: |
private: |
| 42 |
|
|
| 43 |
public: |
public: |
| 44 |
|
|
| 45 |
ULong64_t idrun; |
ULong64_t idrun; |
| 46 |
Bool_t get1; |
Bool_t get1; |
| 47 |
Bool_t get2; |
Bool_t get2; |
| 48 |
TString frame1; |
TString frame1; |
| 49 |
TString frame2; |
TString frame2; |
| 50 |
Bool_t ifroot1; |
Bool_t ifroot1; |
| 51 |
Bool_t ifroot2; |
Bool_t ifroot2; |
| 52 |
Bool_t standalone; |
Bool_t standalone; |
| 53 |
Bool_t DEBUG; |
// Bool_t DEBUG; |
| 54 |
TString file1; |
// Bool_t VERBOSE; |
| 55 |
TString file2; |
TString file1; |
| 56 |
TString outdir; |
TString file2; |
| 57 |
TString pfolder; |
TString outdir; |
| 58 |
|
TString pfolder; |
| 59 |
|
cDbg dbg_mode; |
| 60 |
|
// int F77err; |
| 61 |
|
Int_t ostatus; ///< output status |
| 62 |
|
|
| 63 |
TrkProcess(); |
TrkProcess(); |
| 64 |
|
|
| 65 |
TrkProcess(ULong64_t run, TFile *f2); |
TrkProcess(ULong64_t run, TFile *f2); |
| 66 |
int HandleCustomPar(int ncustom, char* vcustom[]); |
|
| 67 |
|
void SetDebugMode() {dbg_mode.SetDebug(); dbg_=dbg_mode;}; |
| 68 |
|
void SetVerboseMode(){dbg_mode.SetVerbose(); dbg_=dbg_mode;}; |
| 69 |
|
void SetWarningMode(){dbg_mode.SetWarning(); dbg_=dbg_mode;}; |
| 70 |
|
|
| 71 |
|
bool DebugMode(){return dbg_mode.debug;}; |
| 72 |
|
bool WarningMode(){return dbg_mode.warning;}; |
| 73 |
|
bool VerboseMode(){return dbg_mode.verbose;}; |
| 74 |
|
|
| 75 |
|
void HandleCustomPar(int ncustom, char* vcustom[]); |
| 76 |
|
|
| 77 |
|
void ProcessEvent(TrkLevel0*); |
| 78 |
|
|
| 79 |
void Dump(); |
void Dump(); |
| 80 |
|
|
| 81 |
|
|
| 82 |
}; |
}; |
| 83 |
|
|
| 84 |
|
|