* provided "as is" without express or implied warranty. *
**************************************************************************/
-/*
- $Log$
- Revision 1.4 2001/05/01 14:47:45 nilsen
- Fixed destructor so that it destroyes the pointers fSegmentation, fResponse,
- fSimulation, and fReconst if they have been allocated. The two TStrings
- fDigClassName and fClustClassName shoud be destroyed automaticaly. This should
- fix a small memory leak associated with digitization and reconstruction.
-
-*/
+/* $Id$ */
+////////////////////////////////////////////////////////////////////////
+// This Class owns the classes needed to to detector simulations and
+// reconstruction. This includes the detector segmentation classes,
+// the detector responce classes, the detector simulatin classes, and
+// the detector reconstruction (clustering) classes for all of the ITS
+// detectors.
+////////////////////////////////////////////////////////////////////////
#include "AliITSDetType.h"
#include "AliITSClusterFinder.h"
#include "AliITSsimulation.h"
+
ClassImp(AliITSDetType)
+//______________________________________________________________________
AliITSDetType::AliITSDetType(){
// constructor
// destructor
if(fSegmentation!=0) delete fSegmentation; fSegmentation = 0;
- // if(fResponse!=0) delete fResponse; fResponse = 0;
+ if(fResponse!=0) delete fResponse; fResponse = 0;
if(fSimulation!=0) delete fSimulation; fSimulation = 0;
if(fReconst!=0) delete fReconst; fReconst = 0;
}
//______________________________________________________________________
-AliITSDetType::AliITSDetType(const AliITSDetType &source){
+AliITSDetType::AliITSDetType(const AliITSDetType &source) : TObject(source){
// Copy Constructor
if(&source == this) return;