1 ////////////////////////////////////////////////
2 // Segmentation class for set:ITS //
3 // All methods implemented in the derived //
4 // classes are set = 0 in the header file //
5 // so this class cannot be instantiated //
6 // methods implemented in a part of the //
7 // derived classes are implemented here as //
8 // TObject::MayNotUse //
9 ////////////////////////////////////////////////
12 #include "AliITSsegmentation.h"
14 ClassImp(AliITSsegmentation)
16 //_____________________________________________________________
17 AliITSsegmentation::AliITSsegmentation():
23 // Default constructor
26 //_____________________________________________________________
27 AliITSsegmentation::AliITSsegmentation(AliITSgeom* geom):
33 // Default constructor
38 //_____________________________________________________________
39 AliITSsegmentation::~AliITSsegmentation(){
41 if(fCorr)delete fCorr;
44 //_____________________________________________________________
45 void AliITSsegmentation::Copy(TObject &obj) const {
47 ((AliITSsegmentation& ) obj).fDz = fDz;
48 ((AliITSsegmentation& ) obj).fDx = fDx;
49 ((AliITSsegmentation& ) obj).fDy = fDy;
50 ((AliITSsegmentation& ) obj).fGeom = fGeom; // copy only the pointer
52 ((AliITSsegmentation& ) obj).fCorr = new TF1(*fCorr); // make a proper copy
55 ((AliITSsegmentation& ) obj).fCorr = 0;
58 //______________________________________________________________________
59 AliITSsegmentation& AliITSsegmentation::operator=(
60 const AliITSsegmentation &source){
67 //______________________________________________________________________
68 AliITSsegmentation::AliITSsegmentation(const AliITSsegmentation &source):