data members added: fGeom (ponter to Geometry) and fPlease (pointer to AliPHOSIndexTo...
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Jul 2000 14:04:21 +0000 (14:04 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Jul 2000 14:04:21 +0000 (14:04 +0000)
PHOS/AliPHOSTrackSegmentMaker.cxx
PHOS/AliPHOSTrackSegmentMaker.h

index 7f91a6a..eb9685e 100644 (file)
@@ -34,6 +34,7 @@
 
 #include "AliPHOSTrackSegmentMaker.h"
 #include "AliPHOSTrackSegment.h"
+#include "AliPHOSIndexToObject.h"
 #include "AliPHOSLink.h"
 #include "AliPHOSv0.h"
 #include "AliRun.h"
@@ -45,6 +46,9 @@ ClassImp( AliPHOSTrackSegmentMaker)
  AliPHOSTrackSegmentMaker:: AliPHOSTrackSegmentMaker() : fNTrackSegments(0)
 {
   // ctor
+  fGeom = AliPHOSGeometry::GetInstance() ;
+  fPlease = AliPHOSIndexToObject::GetInstance() ; 
+
 }
 
 
index f8e8cb8..367738b 100644 (file)
@@ -21,6 +21,7 @@
 #include "TObjArray.h"
 #include "AliPHOSDigit.h"
 #include "AliPHOSRecPoint.h"
+#include "AliPHOSIndexToObject.h"
 #include "AliPHOSTrackSegment.h"
 
 class  AliPHOSTrackSegmentMaker : public TObject {
@@ -43,9 +44,11 @@ public:
   
  protected:
   
-  Int_t fNTrackSegments ; // number of track segments found 
-  
-  ClassDef( AliPHOSTrackSegmentMaker,1)  // Algorithm class to make PHOS track segments (Base Class)
+  Int_t                  fNTrackSegments ; // number of track segments found 
+  AliPHOSGeometry      * fGeom ;           // pointer to PHOS geometry  
+  AliPHOSIndexToObject * fPlease ;         //
+
+  ClassDef( AliPHOSTrackSegmentMaker,1)    // Algorithm class to make PHOS track segments (Base Class)
 
 };