]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSTrackSegmentMaker.h
the MIXT geometry (IHEP+GPS2) has been introduced
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMaker.h
1 #ifndef ALIPHOSTRACKSEGMENTMAKER_H
2 #define ALIPHOSTRACKSEGMENTMAKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 // Algorithm Base class to construct PHOS track segments
10 // Associates EMC and PPSD clusters
11 // Unfolds the EMC cluster   
12 //                  
13 //*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH)
14
15 // --- ROOT system ---
16
17 // --- Standard library ---
18
19 // --- AliRoot header files ---
20
21 #include "TObjArray.h"
22 #include "AliPHOSDigit.h"
23 #include "AliPHOSRecPoint.h"
24 #include "AliPHOSIndexToObject.h"
25 #include "AliPHOSTrackSegment.h"
26
27 class  AliPHOSTrackSegmentMaker : public TObject {
28
29 public:
30
31   AliPHOSTrackSegmentMaker() ;                     
32   
33   virtual ~ AliPHOSTrackSegmentMaker(){
34     // dtor 
35   } 
36
37   virtual void MakeTrackSegments(DigitsList * DL, 
38                                  AliPHOSRecPoint::RecPointsList * emcl, 
39                                  AliPHOSRecPoint::RecPointsList * ppsdl,
40                                  AliPHOSRecPoint::RecPointsList * cpvl,
41                                  AliPHOSTrackSegment::TrackSegmentsList * trsl ) = 0 ; // does the job
42   virtual void SetMaxEmcPpsdDistance(Float_t r) = 0 ; 
43   virtual void SetUnfoldFlag() = 0 ;
44   virtual void UnsetUnfoldFlag() = 0 ;
45   
46  protected:
47   
48   Int_t                  fNTrackSegments ; // number of track segments found 
49   AliPHOSGeometry      * fGeom ;           // pointer to PHOS geometry  
50   AliPHOSIndexToObject * fPlease ;         //
51
52   ClassDef( AliPHOSTrackSegmentMaker,1)    // Algorithm class to make PHOS track segments (Base Class)
53
54 };
55
56 #endif // ALIPHOSTRACKSEGMENTMAKER_H