fITS = 0; // We don't delete this pointer since it is just a copy.
}
//____________________________________________________________________________
-AliITSmodule::AliITSmodule(const AliITSmodule &source){
+AliITSmodule::AliITSmodule(const AliITSmodule &source):TObject(source){
////////////////////////////////////////////////////////////////////////
// Copy Constructor
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
// Assignment operator
////////////////////////////////////////////////////////////////////////
- Error("AliITSmodule","AliITSmodule class has not to be copied! Exit.");
- exit(1);
- return *this; // fake return neded on Sun
+ if(&source == this) return *this;
+ Error("AliITSmodule","AliITSmodule class has not to be copied! Exit.");
+ exit(1);
+ return *this; // fake return neded on Sun
}
//_________________________________________________________________________
//
Float_t x2g,y2g,z2g;
Double_t s;
+ index = 0;
itsHit1->GetPositionG(x1g,y1g,z1g);
itsHit2->GetPositionG(x2g,y2g,z2g);
// path length
static Float_t x0,y0,z0;
+ index = 0;
if ((status&0x0002)!=0){ // entering
x0 = x;
y0 = y;