+ if (gAlice) {
+ delete gAlice->GetRunLoader();
+ delete gAlice;
+ gAlice=0;
+ }
+
+ rl = AliRunLoader::Open("galice.root");
+ if (rl == 0x0) {
+ cerr<<"Can not open session"<<endl;
+ return 1;
+ }
+
+ if (rl->LoadgAlice()) {
+ cerr<<"Error occured while loading AliRun"<<endl;
+ return 1;
+ }
+ AliKalmanTrack::
+ SetConvConst(1000/0.299792458/rl->GetAliRun()->Field()->SolenoidField());
+
+ delete rl;
+
+ if (SlowOrFast=='f') {
+ cerr<<"Fast AliITSRecPoint(s) !\n";
+ } else {
+ cerr<<"Slow AliITSRecPoint(s) !\n";
+ gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2SDigits.C");
+ AliITSHits2SDigits();
+ gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSSDigits2Digits.C");
+ AliITSSDigits2Digits();
+ }