1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 ////////////////////////////////////////////////////////////////////////
19 // This Class owns the classes needed to to detector simulations and
20 // reconstruction. This includes the detector segmentation classes,
21 // the detector responce classes, the detector simulatin classes, and
22 // the detector reconstruction (clustering) classes for all of the ITS
24 ////////////////////////////////////////////////////////////////////////
25 #include "AliITSDetType.h"
26 #include "AliITSClusterFinder.h"
27 #include "AliITSsimulation.h"
30 ClassImp(AliITSDetType)
32 //______________________________________________________________________
33 AliITSDetType::AliITSDetType(){
41 //----------------------------------------------------------------------
42 AliITSDetType::~AliITSDetType(){
45 if(fSegmentation!=0) delete fSegmentation; fSegmentation = 0;
46 if(fResponse!=0) delete fResponse; fResponse = 0;
47 if(fSimulation!=0) delete fSimulation; fSimulation = 0;
48 if(fReconst!=0) delete fReconst; fReconst = 0;
50 //______________________________________________________________________
51 AliITSDetType::AliITSDetType(const AliITSDetType &source) : TObject(source){
54 if(&source == this) return;
55 this->fReconst = source.fReconst;
56 this->fSimulation = source.fSimulation;
57 this->fResponse = source.fResponse;
58 this->fSegmentation = source.fSegmentation;
59 this->fDigClassName = source.fDigClassName;
60 this->fClustClassName = source.fClustClassName;
63 //______________________________________________________________________
64 AliITSDetType& AliITSDetType::operator=(const AliITSDetType &source){
65 // Assignment operator
67 if(&source == this) return *this;
68 this->fReconst = source.fReconst;
69 this->fSimulation = source.fSimulation;
70 this->fResponse = source.fResponse;
71 this->fSegmentation = source.fSegmentation;
72 this->fDigClassName = source.fDigClassName;
73 this->fClustClassName = source.fClustClassName;