]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSTrackSegmentMaker.h
Removing meaningless type qualifier on return type (icc warning 858)
[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 CPV 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 class AliESD ;
29
30 class  AliPHOSTrackSegmentMaker : public TTask {
31
32 public:
33
34   AliPHOSTrackSegmentMaker();
35   AliPHOSTrackSegmentMaker(const TString alirunFileName, const TString eventFolderName = AliConfig::GetDefaultEventFolderName()) ;                     
36   AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) : TTask(tsmaker) { ; } 
37   virtual ~ AliPHOSTrackSegmentMaker() ;
38
39   virtual Int_t GetTrackSegmentsInRun()  const {Warning("GetTrackSegmentsInRun", "Not Defined" ) ; return 0 ; } 
40
41   virtual void    Print()const {Warning("Print", "Not Defined" ) ; }
42   void SetEventRange(Int_t first=0, Int_t last=-1) {fFirstEvent=first; fLastEvent=last; }
43   void SetEventFolderName(TString name) { fEventFolderName = name ; }
44   void SetESD(AliESD *esd) { fESD = esd; }
45
46   virtual void WriteTrackSegments() = 0;
47   
48 protected:
49   TString fEventFolderName ;  // event folder name
50   Int_t   fFirstEvent;        // first event to process
51   Int_t   fLastEvent;         // last  event to process
52   AliESD * fESD;              //! ESD object
53
54   ClassDef( AliPHOSTrackSegmentMaker,4)  // Algorithm class to make PHOS track segments (Base Class)
55 };
56
57 #endif // ALIPHOSTRACKSEGMENTMAKER_H