/[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.82 by mocchiut, Thu Jun 4 15:10:47 2009 UTC revision 1.83 by mocchiut, Tue Aug 4 13:58:47 2009 UTC
# Line 633  void PamLevel2::Delete() { Line 633  void PamLevel2::Delete() {
633      //      //
634      TIter next2(contents);      TIter next2(contents);
635      TChain *questa = 0;      TChain *questa = 0;
636      while (questa = (TChain*) next2()) {      while ( (questa = (TChain*)next2()) ) {
637        TString name = questa->GetName();        TString name = questa->GetName();
638        questa->Delete();        questa->Delete();
639        questa = NULL;        questa = NULL;
# Line 747  void PamLevel2::Reset() { Line 747  void PamLevel2::Reset() {
747      //      //
748      TIter next2(contents);      TIter next2(contents);
749      TChain *questa = 0;      TChain *questa = 0;
750      while (questa = (TChain*) next2()) {      while ( (questa = (TChain*) next2()) ) {
751        TString name = questa->GetName();        TString name = questa->GetName();
752        questa->Delete();        questa->Delete();
753        questa = NULL;        questa = NULL;

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83

  ViewVC Help
Powered by ViewVC 1.1.23