/[PAMELA software]/PamCut/CollectionActions/Histo2DActions/Histo2DAction/Histo2DAction.cpp
ViewVC logotype

Diff of /PamCut/CollectionActions/Histo2DActions/Histo2DAction/Histo2DAction.cpp

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

revision 1.1 by pam-fi, Fri Sep 25 15:36:45 2009 UTC revision 1.2 by pam-fi, Thu Oct 29 09:42:44 2009 UTC
# Line 27  void Histo2DAction<Double_t>::_CreateHis Line 27  void Histo2DAction<Double_t>::_CreateHis
27    _rootHisto = new TH2D();    _rootHisto = new TH2D();
28  }  }
29    
   
 template<>  
 Histo2DAction<Int_t>::~Histo2DAction() {  
   
   TH2I *dummy = (TH2I*)_rootHisto;  
   delete dummy;  
   _rootHisto = NULL;  
   
 }  
   
 template<>  
 Histo2DAction<Float_t>::~Histo2DAction() {  
   
   TH2F *dummy = (TH2F*)_rootHisto;  
   delete dummy;  
   _rootHisto = NULL;  
 }  
   
 template<>  
 Histo2DAction<Double_t>::~Histo2DAction() {  
   
   TH2D *dummy = (TH2D*)_rootHisto;  
   delete dummy;  
   _rootHisto = NULL;  
 }  
   
   
   

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

  ViewVC Help
Powered by ViewVC 1.1.23