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

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

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

revision 1.2 by pam-fi, Fri Feb 16 14:56:01 2007 UTC revision 1.3 by pam-fi, Thu Mar 15 12:17:10 2007 UTC
# Line 66  void TrkLevel0::SetFromLevel0Struct(cTrk Line 66  void TrkLevel0::SetFromLevel0Struct(cTrk
66  int TrkLevel0::ProcessEvent(){  int TrkLevel0::ProcessEvent(){
67    
68  //    cout << "int TrkLevel0::ProcessEvent()" << endl;  //    cout << "int TrkLevel0::ProcessEvent()" << endl;
69        TrkParams::Load(6);
70        if( !TrkParams::IsLoaded(6) ){
71            cout << "int TrkLevel0::ProcessEvent() -- ERROR -- VK-mask not loaded"<<endl;
72            return 0;
73        };
74      TrkParams::LoadCalib( );      TrkParams::LoadCalib( );
75      if( !TrkParams::CalibIsLoaded() )return 0;      if( !TrkParams::CalibIsLoaded() ){
76            cout << "int TrkLevel0::ProcessEvent() -- ERROR -- Calibration not loaded"<<endl;
77            return 0;
78        };
79    
80      GetLevel0Struct();      GetLevel0Struct();
81      int F77err = 0;      int F77err = 0;
82      reductionflight_(&F77err);      reductionflight_(&F77err);
83      if(F77err < 0)return 0;      if(F77err < 0){
84            cout << "int TrkLevel0::ProcessEvent() -- ERROR -- from F77 routine"<<endl;
85            return 0;
86        }
87    //    cout << "...done"<<endl;
88            
89      return 1;      return 1;
90    

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

  ViewVC Help
Powered by ViewVC 1.1.23