/[PAMELA software]/calo/flight/FUTILITIES/macros/FCaloFUNCTIONS.cxx
ViewVC logotype

Diff of /calo/flight/FUTILITIES/macros/FCaloFUNCTIONS.cxx

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

revision 1.1 by mocchiut, Wed Mar 22 15:07:47 2006 UTC revision 1.2 by mocchiut, Fri Jun 30 12:08:14 2006 UTC
# Line 755  char *getLEVname(TString filename, TStri Line 755  char *getLEVname(TString filename, TStri
755      string fil = (const char *)filename;      string fil = (const char *)filename;
756      Int_t posiz = fil.find("dw_");      Int_t posiz = fil.find("dw_");
757      if ( posiz == -1 ) posiz = fil.find("DW_");      if ( posiz == -1 ) posiz = fil.find("DW_");
758      if ( posiz == -1 ) return(0);      if ( posiz == -1 ) return("unkwnown.root");
759      Int_t spos = posiz;      Int_t spos = posiz;
760      Int_t epos = posiz+15;      Int_t epos = posiz+15;
761      TString tmptempf;      TString tmptempf;
# Line 778  char *getfileLEVname(TString filename, T Line 778  char *getfileLEVname(TString filename, T
778      string fil = (const char *)filename;      string fil = (const char *)filename;
779      Int_t posiz = fil.find("dw_");      Int_t posiz = fil.find("dw_");
780      if ( posiz == -1 ) posiz = fil.find("DW_");      if ( posiz == -1 ) posiz = fil.find("DW_");
781      if ( posiz == -1 ) return(0);      if ( posiz == -1 ) return("unknown.root");
782      Int_t spos = posiz;      Int_t spos = posiz;
783      Int_t epos = posiz+13;      Int_t epos = posiz+13;
784      TString tmptempf;      TString tmptempf;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23