]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSTrackSegmentMaker.h
Added proper way to delete tree in BranchList
[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 Kurchatov Institute  & SUBATECH)
14
15 // --- ROOT system ---
16 #include "TTask.h"
17 class TFile ; 
18
19 // --- Standard library ---
20 #include <iostream.h>
21
22 // --- AliRoot header files ---
23
24
25 class AliPHOSClusterizer ;
26 class AliPHOSGeometry ;
27
28 class  AliPHOSTrackSegmentMaker : public TTask {
29
30 public:
31
32   AliPHOSTrackSegmentMaker() ;                     
33   AliPHOSTrackSegmentMaker(const char* headerFile, const char* name, const Bool_t toSplit) ;                     
34   
35   virtual ~ AliPHOSTrackSegmentMaker() ;
36
37   virtual void    Exec(Option_t * option){cout << "Not Defined" << endl ; } 
38   //  virtual char*   GetRecPointsBranch ()const{cout << "Not Defined" << endl ; return 0 ; } 
39   //  virtual char*   GetTrackSegmentsBranch ()const{cout << "Not Defined" << endl ; return 0 ; } 
40   virtual const Int_t GetTrackSegmentsInRun()  const {cout << "Not Defined" << endl ; return 0 ; } 
41
42   virtual void    Print(Option_t * option)const {cout << "Not Defined" << endl ; }  
43   //  virtual void Set...   // method to choose recPoints: along z only, along x ...???
44   //  virtual void SetChoosingAlgirithm(){cout << "Not Defined" << endl ; return 0 ; } 
45   //  virtual void SetMaxEmcCpvDistance(Float_t r) {cout << "Not Defined" << endl ; return 0 ; } 
46   //  virtual void SetRecPointsBranch(const char * title){cout << "Not Defined" << endl ; } 
47   //  virtual void SetTrackSegmentsBranch(const char * title){cout << "Not Defined" << endl ; } 
48   //  virtual void SetSplitFile(const TString splitFileName = "PHOS.RecData.root") const ; 
49   virtual const char * Version() const {cout << "Not Defined" << endl ; return 0 ; }   
50   virtual void WriteTrackSegments(Int_t event){cout << "Not Defined" << endl ; } 
51   
52 protected:
53   
54   TFile * fSplitFile ;             //! file in which TrackSegments will eventually be stored
55   Bool_t  fToSplit ;               //! Do we work in the split mode
56
57   ClassDef( AliPHOSTrackSegmentMaker,1)    // Algorithm class to make PHOS track segments (Base Class)
58
59 };
60
61 #endif // ALIPHOSTRACKSEGMENTMAKER_H