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 |
|
|