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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by pam-fi, Thu Oct 26 16:22:36 2006 UTC revision 1.8 by pam-fi, Wed Mar 5 17:00:18 2008 UTC
# Line 6  Line 6 
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  // extern "C" {  #define NPARMAX 20
 //     extern struct cTrkCalib  pedsigbad_;  
 //     extern struct cTrkLevel0 level0event_;  
 //     extern struct cTrkLevel1 level1event_;  
 //     extern struct cTrkLevel2 level2event_;  
 //     extern struct cPath      path_;  
 //     extern struct cBPath     bpath_;  
 //     extern struct cDbg       dbg_;  
 // //    int fillpedsigfromdefault_();  
 //     int readmipparam_();  
 //     int readchargeparam_();  
 //     int readvkmask_();  
 //     int readalignparam_();  
 //     int readetaparam_();  
 //     void reductionflight_(int*);  
 //     int analysisflight_();  
 // }  
17    
18  /**  /**
19   * \brief Class to handle input parameters for tracker data processing   * \brief Class to handle input parameters for tracker data processing
# Line 44  public: Line 29  public:
29    
30      ULong64_t idrun;      ULong64_t idrun;
31      Bool_t    get1;      Bool_t    get1;
32        Bool_t    full1;
33      Bool_t    get2;      Bool_t    get2;
34      Bool_t    geth;      Bool_t    geth;
35      TString   frame1;      TString   frame1;
# Line 59  public: Line 45  public:
45      TString   file2;      TString   file2;
46      TString   outdir;      TString   outdir;
47      TString   pfolder;      TString   pfolder;
48      cDbg      dbg_mode;  //    cDbg      dbg_mode;
49  //    int       F77err;  //    int       F77err;
50      Int_t     ostatus; ///< output status      Int_t     ostatus; ///< output status
51    
52        UInt_t    nskip; ///< n.event to be skipped
53    
54        Int_t   npar;
55        Int_t   partype[NPARMAX];
56        TString parpath[NPARMAX];
57            
58      TrkProcess();      TrkProcess();
59            
60      TrkProcess(ULong64_t run, TFile *f2);      TrkProcess(ULong64_t run, TFile *f2);
61            
62      void SetDebugMode()  {dbg_mode.SetDebug();   dbg_=dbg_mode;};  /*     void SetDebugMode()  {TrkParams::SetDebugMode(); dbg_mode.SetDebug();   dbg_=dbg_mode;}; */
63      void SetVerboseMode(){dbg_mode.SetVerbose(); dbg_=dbg_mode;};  /*     void SetVerboseMode(){TrkParams::SetVerboseMode(); dbg_mode.SetVerbose(); dbg_=dbg_mode;}; */
64      void SetWarningMode(){dbg_mode.SetWarning(); dbg_=dbg_mode;};  /*     void SetWarningMode(){TrkParams::SetWarningMode();dbg_mode.SetWarning(); dbg_=dbg_mode;}; */
65            
66      bool DebugMode(){return dbg_mode.debug;};  /*     bool DebugMode(){return dbg_mode.debug;}; */
67      bool WarningMode(){return dbg_mode.warning;};  /*     bool WarningMode(){return dbg_mode.warning;}; */
68      bool VerboseMode(){return dbg_mode.verbose;};  /*     bool VerboseMode(){return dbg_mode.verbose;}; */
69            
70      void HandleCustomPar(int ncustom, char* vcustom[]);      int  HandleCustomPar(int ncustom, char* vcustom[]);
71            
72      void ProcessEvent(TrkLevel0*);      void ProcessEvent(TrkLevel0*);
73            
74      void Dump();      void Dump();
75            void PrintHelp();
76            
77  };  };
78    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.23