/[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.18 by pam-fi, Thu Jan 18 08:51:16 2007 UTC revision 1.19 by pam-fi, Thu Jan 18 11:56:12 2007 UTC
# Line 963  TList*  PamLevel2::GetListOfLevel2Files( Line 963  TList*  PamLevel2::GetListOfLevel2Files(
963  //          cout <<"(2) " << file << endl;  //          cout <<"(2) " << file << endl;
964  //          if( gSystem->IsFileInIncludePath(file,&fullpath) ){  //          if( gSystem->IsFileInIncludePath(file,&fullpath) ){
965  //          if( (fullpath = gSystem->FindFile(ddir,file)) ){  //          if( (fullpath = gSystem->FindFile(ddir,file)) ){
966              char *fullpath = gSystem->ConcatFileName(gSystem->DirName(ddir),gSystem->BaseName(file));              if( file.EndsWith(".root") ){
967              contents->Add(new TSystemFile(fullpath,gSystem->DirName(fullpath)));// add file to the list                  char *fullpath = gSystem->ConcatFileName(gSystem->DirName(ddir),gSystem->BaseName(file));
968              delete fullpath;                  contents->Add(new TSystemFile(fullpath,gSystem->DirName(fullpath)));// add file to the list
969                    delete fullpath;
970                }
971  //          }else{  //          }else{
972  //              if(file.Data()!="")cout << "File: "<<file<<" ---> missing "<< endl;  //              if(file.Data()!="")cout << "File: "<<file<<" ---> missing "<< endl;
973  //          };  //          };

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.23