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
27 //_____________________________________________________________
28 AliITSsegmentation::~AliITSsegmentation(){
30 if(fCorr)delete fCorr;
33 //_____________________________________________________________
34 void AliITSsegmentation::Copy(TObject &obj) const {
36 ((AliITSsegmentation& ) obj).fDz = fDz;
37 ((AliITSsegmentation& ) obj).fDx = fDx;
38 ((AliITSsegmentation& ) obj).fDy = fDy;
39 ((AliITSsegmentation& ) obj).fGeom = fGeom; // copy only the pointer
41 ((AliITSsegmentation& ) obj).fCorr = new TF1(*fCorr); // make a proper copy
44 ((AliITSsegmentation& ) obj).fCorr = 0;
47 //______________________________________________________________________
48 AliITSsegmentation& AliITSsegmentation::operator=(
49 const AliITSsegmentation &source){
56 //______________________________________________________________________
57 AliITSsegmentation::AliITSsegmentation(const AliITSsegmentation &source):