]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliStrLine.cxx
Changes required by Effective C++
[u/mrichter/AliRoot.git] / STEER / AliStrLine.cxx
index 5f57fd56e8f799fca4be901165ef612cac07f45a..28aee26809cc96be3fe6baa63171ccae13f54d36 100644 (file)
 ClassImp(AliStrLine)
 
 //________________________________________________________
-AliStrLine::AliStrLine() {
+AliStrLine::AliStrLine() :
+  TObject(),
+  fTpar(0),
+  fDebug(0)
+ {
   // Default constructor
   for(Int_t i=0;i<3;i++) {
     fP0[i] = 0.;
     fCd[i] = 0.;
   }
-  fTpar = 0.;
-  SetDebug();
 }
 
 //________________________________________________________
-AliStrLine::AliStrLine(Double_t *point, Double_t *cd,Bool_t twopoints) {
+AliStrLine::AliStrLine(Double_t *point, Double_t *cd,Bool_t twopoints) :
+  TObject(),
+  fTpar(0),
+  fDebug(0)
+{
   // Standard constructor
   // if twopoints is true:  point and cd are the 3D coordinates of
   //                        two points defininig the straight line