/[PAMELA software]/PamCut/CollectionActions/Histo1DActions/Histo1DAction/Histo1DAction.cpp
ViewVC logotype

Diff of /PamCut/CollectionActions/Histo1DActions/Histo1DAction/Histo1DAction.cpp

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

revision 1.1 by pam-fi, Fri Sep 25 15:36:36 2009 UTC revision 1.2 by pam-fi, Thu Oct 29 17:49:07 2009 UTC
# Line 26  void Histo1DAction<Double_t>::_CreateHis Line 26  void Histo1DAction<Double_t>::_CreateHis
26    
27    _rootHisto = new TH1D();    _rootHisto = new TH1D();
28  }  }
   
   
 template<>  
 Histo1DAction<Int_t>::~Histo1DAction() {  
   
   TH1I *dummy = (TH1I*)_rootHisto;  
   delete dummy;  
   _rootHisto = NULL;  
   
 }  
   
 template<>  
 Histo1DAction<Float_t>::~Histo1DAction() {  
   
   TH1F *dummy = (TH1F*)_rootHisto;  
   delete dummy;  
   _rootHisto = NULL;  
 }  
   
 template<>  
 Histo1DAction<Double_t>::~Histo1DAction() {  
   
   TH1D *dummy = (TH1D*)_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