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():
22 // Default constructor
25 //_____________________________________________________________
26 AliITSsegmentation::AliITSsegmentation(AliITSgeom* geom):
31 // Default constructor
32 AliWarning(Form("AliITSgeom (%X) no longer needed in ITS segmentation. Use default constructor\n",geom))
36 //_____________________________________________________________
37 AliITSsegmentation::~AliITSsegmentation(){
39 if(fCorr)delete fCorr;
42 //_____________________________________________________________
43 void AliITSsegmentation::Copy(TObject &obj) const {
45 ((AliITSsegmentation& ) obj).fDz = fDz;
46 ((AliITSsegmentation& ) obj).fDx = fDx;
47 ((AliITSsegmentation& ) obj).fDy = fDy;
49 ((AliITSsegmentation& ) obj).fCorr = new TF1(*fCorr); // make a proper copy
52 ((AliITSsegmentation& ) obj).fCorr = 0;
55 //______________________________________________________________________
56 AliITSsegmentation& AliITSsegmentation::operator=(
57 const AliITSsegmentation &source){
64 //______________________________________________________________________
65 AliITSsegmentation::AliITSsegmentation(const AliITSsegmentation &source):