/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkProcess.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkProcess.cpp

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

revision 1.6 by pam-fi, Thu Oct 26 16:22:37 2006 UTC revision 1.7 by pam-fi, Sat Dec 2 10:42:53 2006 UTC
# Line 12  TrkProcess::TrkProcess(){ Line 12  TrkProcess::TrkProcess(){
12            
13      idrun = 0;      idrun = 0;
14      dbg_mode.SetNone();      dbg_mode.SetNone();
15      get1 = 0;      get1  = 0;
16      geth = 0;      full1 = 0;
17      get2 = 1;      geth  = 0;
18        get2  = 1;
19      standalone = false;      standalone = false;
20      frame2 = "root";      frame2 = "root";
21      frame1 = "root";      frame1 = "root";
# Line 47  TrkProcess::TrkProcess(ULong64_t run, TF Line 48  TrkProcess::TrkProcess(ULong64_t run, TF
48  //    DEBUG = false;  //    DEBUG = false;
49  //    VERBOSE = false;  //    VERBOSE = false;
50      dbg_mode.SetWarning();      dbg_mode.SetWarning();
51      get1 = 0;      get1  = 0;
52        full1 = 0;
53      get2 = 1;      get2 = 1;
54      geth = 0;      geth = 0;
55      standalone = false;      standalone = false;
# Line 94  void TrkProcess::HandleCustomPar(int ncu Line 96  void TrkProcess::HandleCustomPar(int ncu
96          }            }  
97          // -----------------------------------------------------//              // -----------------------------------------------------//    
98          if (!strcmp(vcustom[i], "--get1") || !strcmp(vcustom[i], "--get-level1") ){          if (!strcmp(vcustom[i], "--get1") || !strcmp(vcustom[i], "--get-level1") ){
99              get1 = 1;              get1  = 1;  
100                full1 = 0;
101                continue;
102            }  
103            // -----------------------------------------------------//    
104            if (!strcmp(vcustom[i], "--get1-full") || !strcmp(vcustom[i], "--get-level1-full") ){
105                get1  = 1;      
106                full1 = 1;
107              continue;              continue;
108          }            }  
109          // -----------------------------------------------------//              // -----------------------------------------------------//    
# Line 159  void TrkProcess::HandleCustomPar(int ncu Line 168  void TrkProcess::HandleCustomPar(int ncu
168      else if (!frameh.CompareTo("hbook", TString::kIgnoreCase)) ifrooth =false;      else if (!frameh.CompareTo("hbook", TString::kIgnoreCase)) ifrooth =false;
169      else    throw -201;      else    throw -201;
170    
171        if(get1 && !get2)full1=true;
172    
173      ostatus = 0;      ostatus = 0;
174    
175  };  };
# Line 178  void TrkProcess::ProcessEvent(TrkLevel0 Line 189  void TrkProcess::ProcessEvent(TrkLevel0
189      //      //
190      reductionflight_(&F77err);      reductionflight_(&F77err);
191      if(F77err < 0)throw F77err;      if(F77err < 0)throw F77err;
     //    else if(F77err > 0 && WarningMode())cout<<" WARNING ("<<F77err<<") - TrkCore - Level1 reduction (CN computation failure, ...)"<<endl;  
192      //      //
193      if(get2) analysisflight_();      if(get2) analysisflight_();
 //    if(F77err < 0)throw F77err;  
 //    else if(F77err > 0 && WarningMode())cout<<" WARNING ("<<F77err<<") - TrkCore - @ Level2 reduction "<<endl;  
194      //      //
195      ostatus = F77err;      ostatus = F77err;
196            
# Line 193  void TrkProcess::Dump(){ Line 201  void TrkProcess::Dump(){
201      cout <<endl<< "Tracker process parameters: "<< endl;      cout <<endl<< "Tracker process parameters: "<< endl;
202      cout << " idRun           " << idrun << endl;      cout << " idRun           " << idrun << endl;
203      cout << " get level1      " << get1 << endl;      cout << " get level1      " << get1 << endl;
204        cout << " full level1     " << full1 << endl;
205      cout << " get level2      " << get2 << endl;      cout << " get level2      " << get2 << endl;
206      cout << " get hough       " << geth << endl;      cout << " get hough       " << geth << endl;
207      cout << " frame1          " << frame1 << endl;      cout << " frame1          " << frame1 << endl;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23