/[PAMELA software]/PamelaLevel2/src/PamLevel2.cpp
ViewVC logotype

Diff of /PamelaLevel2/src/PamLevel2.cpp

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

revision 1.9 by pam-fi, Tue Dec 5 12:13:39 2006 UTC revision 1.10 by pam-fi, Wed Dec 6 11:07:35 2006 UTC
# Line 656  TList*  PamLevel2::GetListOfLevel2Files( Line 656  TList*  PamLevel2::GetListOfLevel2Files(
656              if (!in.good()) break;              if (!in.good()) break;
657              line++;              line++;
658  //          cout <<"(1) " << file << endl;  //          cout <<"(1) " << file << endl;
             if(file.Contains("#"))file = file(0,file.First("#"));  
 //          cout <<"(2) " << file << endl;  
659              if(file.IsNull()){              if(file.IsNull()){
660                  cout << "-- list interrupted at line "<<line <<endl;                  cout << "-- list interrupted at line "<<line <<endl;
661                  break;                  break;
662              }              }
663                if(file.Contains("#"))file = file(0,file.First("#"));
664    //          cout <<"(2) " << file << endl;
665              if( gSystem->IsFileInIncludePath(file,&fullpath) ){              if( gSystem->IsFileInIncludePath(file,&fullpath) ){
666    
667                  contents->Add(new TSystemFile(fullpath,gSystem->DirName(fullpath)));// add file to the list                  contents->Add(new TSystemFile(fullpath,gSystem->DirName(fullpath)));// add file to the list
668    
669              }else{              }else{
670                  if(file.Data()!="")cout << "File: "<<file<<" ---> missing "<< endl;  //              if(file.Data()!="")cout << "File: "<<file<<" ---> missing "<< endl;
671              };              };
672          };          };
673          in.close();          in.close();

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.23