/[PAMELA software]/DarthVader/TrackerLevel2/inc/TrkProcess.h
ViewVC logotype

Contents of /DarthVader/TrackerLevel2/inc/TrkProcess.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Oct 26 16:22:36 2006 UTC (18 years, 1 month ago) by pam-fi
Branch: MAIN
CVS Tags: v2r01
Changes since 1.2: +3 -0 lines
File MIME type: text/plain
fitting methods

1 /**
2 * \file TrkProcess.h
3 * \author Elena Vannuccini
4 */
5 #ifndef trkprocess_h
6 #define trkprocess_h
7
8 #include <TrkStruct.h>
9 #include <TrkLevel0.h>
10
11 #include <TString.h>
12 #include <TSystem.h>
13 #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
35 *
36 */
37 // ==================================================================
38
39 class TrkProcess{
40
41 private:
42
43 public:
44
45 ULong64_t idrun;
46 Bool_t get1;
47 Bool_t get2;
48 Bool_t geth;
49 TString frame1;
50 TString frame2;
51 TString frameh;
52 Bool_t ifroot1;
53 Bool_t ifroot2;
54 Bool_t ifrooth;
55 Bool_t standalone;
56 // Bool_t DEBUG;
57 // Bool_t VERBOSE;
58 TString file1;
59 TString file2;
60 TString outdir;
61 TString pfolder;
62 cDbg dbg_mode;
63 // int F77err;
64 Int_t ostatus; ///< output status
65
66 TrkProcess();
67
68 TrkProcess(ULong64_t run, TFile *f2);
69
70 void SetDebugMode() {dbg_mode.SetDebug(); dbg_=dbg_mode;};
71 void SetVerboseMode(){dbg_mode.SetVerbose(); dbg_=dbg_mode;};
72 void SetWarningMode(){dbg_mode.SetWarning(); dbg_=dbg_mode;};
73
74 bool DebugMode(){return dbg_mode.debug;};
75 bool WarningMode(){return dbg_mode.warning;};
76 bool VerboseMode(){return dbg_mode.verbose;};
77
78 void HandleCustomPar(int ncustom, char* vcustom[]);
79
80 void ProcessEvent(TrkLevel0*);
81
82 void Dump();
83
84
85 };
86
87
88 #endif
89
90

  ViewVC Help
Powered by ViewVC 1.1.23