]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSTrackSegmentMaker.h
coding convention
[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 #include "AliConfig.h"
18 class TFile ; 
19
20 // --- Standard library ---
21 //#include <iostream>
22
23 // --- AliRoot header files ---
24
25
26 class AliPHOSClusterizer ;
27 class AliPHOSGeometry ;
28
29 class  AliPHOSTrackSegmentMaker : public TTask {
30
31 public:
32
33   AliPHOSTrackSegmentMaker();
34   AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::fgkDefaultEventFolderName) ;                     
35   AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : TTask(tsmaker) { ; } 
36   virtual ~ AliPHOSTrackSegmentMaker() ;
37
38   virtual void    Exec(Option_t *) = 0;
39
40   virtual const Int_t GetTrackSegmentsInRun()  const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; } 
41
42   virtual void    Print()const {Warning("Print", "Not Defined" ) ; }
43   void   SetEventFolderName(TString name) { fEventFolderName = name ; }
44
45   virtual void WriteTrackSegments() = 0;
46   
47 protected:
48   TString fEventFolderName ;  // event folder name
49
50   ClassDef( AliPHOSTrackSegmentMaker,3)    // Algorithm class to make PHOS track segments (Base Class)
51 };
52
53 #endif // ALIPHOSTRACKSEGMENTMAKER_H