]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDsegmentID.cxx
First round of effc++ changes
[u/mrichter/AliRoot.git] / TRD / AliTRDsegmentID.cxx
index 7ea941f37b479db2bf600576682c85751577a9e8..7e97a3b33740546c878ad298225c8f770a933f8d 100644 (file)
 ClassImp(AliTRDsegmentID)
 
 //_____________________________________________________________________________
-AliTRDsegmentID::AliTRDsegmentID():TObject()
+AliTRDsegmentID::AliTRDsegmentID()
+                :fSegmentID(0)
 {
   //
   // AliTRDsegmentID default constructor
   //
 
-  fSegmentID = 0;
-
 }
 
 //_____________________________________________________________________________
-AliTRDsegmentID::AliTRDsegmentID(Int_t index):TObject()
+AliTRDsegmentID::AliTRDsegmentID(Int_t index)
+                :fSegmentID(index)
 {
   //
   // Defines a detector segment
   //
 
-  fSegmentID = index;
-
 }
 
 //_____________________________________________________________________________