ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DTDPGAnalysis/src/DTDPGCreateSummary.cc
(Generate patch)

Comparing UserCode/DTDPGAnalysis/src/DTDPGCreateSummary.cc (file contents):
Revision 1.1 by battilan, Tue Oct 14 15:27:13 2008 UTC vs.
Revision 1.2 by battilan, Mon Nov 3 11:06:39 2008 UTC

# Line 73 | Line 73 | DTDPGCreateSummary::~DTDPGCreateSummary(
73  
74    edm::LogVerbatim ("DTDPGSummary") << "[DTDPGCreateSummary]: Destructor ";
75  
76  delete myCanvas;
77
78  if(myFile) {
79    myFile->Close();
80    delete myFile;
81  }
82
76   }
77  
78  
# Line 127 | Line 120 | void DTDPGCreateSummary::endJob(){
120      }
121    }
122  
123 +  delete myCanvas;
124 +
125 +  if(myFile) {
126 +    myFile->Close();
127 +    delete myFile;
128 +  }
129 +
130   }
131  
132   void DTDPGCreateSummary::createGifFile(string fileName, int wh, int sec) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines