ClassImp(AliITSsegmentation)
//_____________________________________________________________
-AliITSsegmentation::AliITSsegmentation(){
+AliITSsegmentation::AliITSsegmentation():
+fDx(0),
+fDz(0),
+fDy(0),
+fCorr(0){
// Default constructor
- SetDetSize(0.,0.,0.);
- fGeom = 0;
- fCorr = 0;
+
}
-
//_____________________________________________________________
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
}
}
//______________________________________________________________________
AliITSsegmentation::AliITSsegmentation(const AliITSsegmentation &source):
- TObject(source){
+ TObject(source),
+fDx(0),
+fDz(0),
+fDy(0),
+fCorr(0){
// copy constructor
source.Copy(*this);
}