/[PAMELA software]/eventviewer/flight/src/FEventViewerCore.cpp
ViewVC logotype

Diff of /eventviewer/flight/src/FEventViewerCore.cpp

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

revision 1.16 by mocchiut, Mon Jun 22 09:30:02 2009 UTC revision 1.19 by mocchiut, Wed Jan 20 05:35:30 2010 UTC
# Line 146  void ShowEvent(TString filename="help", Line 146  void ShowEvent(TString filename="help",
146        TString name =  questo->GetName();        TString name =  questo->GetName();
147        if( name.EndsWith(".so") || name.EndsWith(".o") ){        if( name.EndsWith(".so") || name.EndsWith(".o") ){
148          npl++;          npl++;
149          char *fullpath = gSystem->ConcatFileName(gSystem->DirName(plugindir),gSystem->BaseName(name));                    //      char *fullpath = gSystem->ConcatFileName(gSystem->DirName(plugindir),gSystem->BaseName(name));          
150          gSystem->Load(fullpath);          char *fullpath = gSystem->ConcatFileName(plugindir.Data(),gSystem->BaseName(name));            
151          printf(" %i -> %s plugin loaded \n",npl,name.Data());          if ( !gSystem->Load(fullpath) ) printf(" %i -> %s plugin loaded (%s)\n",npl,name.Data(),fullpath);
152          delete fullpath;          delete fullpath;
153        };        };
154      }      }
155        gSystem->cd(wdir.Data());
156      delete temp;      delete temp;
157      delete datadir;      delete datadir;
158    };    };
# Line 624  void ShowEvent(TString filename="help", Line 625  void ShowEvent(TString filename="help",
625        //        //
626        // prepare the string for the figure filename        // prepare the string for the figure filename
627        //        //
628        char *bw;        const char *bw;
629        if ( pamela->var.bw ){        if ( pamela->var.bw ){
630          bw = "_bw";          bw = "_bw";
631        } else {        } else {

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

  ViewVC Help
Powered by ViewVC 1.1.23