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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide 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 mocchiut 1.1 /**
2     * \file TrkProcess.h
3     * \author Elena Vannuccini
4     */
5     #ifndef trkprocess_h
6     #define trkprocess_h
7    
8 pam-fi 1.2 #include <TrkStruct.h>
9     #include <TrkLevel0.h>
10    
11 mocchiut 1.1 #include <TString.h>
12     #include <TSystem.h>
13     #include <iostream>
14    
15 pam-fi 1.2 // 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 mocchiut 1.1 /**
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 pam-fi 1.2
45 mocchiut 1.1 ULong64_t idrun;
46 pam-fi 1.2 Bool_t get1;
47     Bool_t get2;
48 pam-fi 1.3 Bool_t geth;
49 pam-fi 1.2 TString frame1;
50     TString frame2;
51 pam-fi 1.3 TString frameh;
52 pam-fi 1.2 Bool_t ifroot1;
53     Bool_t ifroot2;
54 pam-fi 1.3 Bool_t ifrooth;
55 pam-fi 1.2 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 mocchiut 1.1
66     TrkProcess();
67 pam-fi 1.2
68 mocchiut 1.1 TrkProcess(ULong64_t run, TFile *f2);
69 pam-fi 1.2
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 mocchiut 1.1 void Dump();
83    
84 pam-fi 1.2
85 mocchiut 1.1 };
86    
87    
88     #endif
89    
90    

  ViewVC Help
Powered by ViewVC 1.1.23