fDx(0),
fDz(0),
fDy(0),
-fGeom(0),
fCorr(0){
// Default constructor
}
-
//_____________________________________________________________
AliITSsegmentation::~AliITSsegmentation(){
// destructor
((AliITSsegmentation& ) obj).fDz = fDz;
((AliITSsegmentation& ) obj).fDx = fDx;
((AliITSsegmentation& ) obj).fDy = fDy;
- ((AliITSsegmentation& ) obj).fGeom = fGeom; // copy only the pointer
if(fCorr){
((AliITSsegmentation& ) obj).fCorr = new TF1(*fCorr); // make a proper copy
}
fDx(0),
fDz(0),
fDy(0),
-fGeom(0),
fCorr(0){
// copy constructor
source.Copy(*this);