]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDReconstruction.h
TBranch.h included
[u/mrichter/AliRoot.git] / FMD / AliFMDReconstruction.h
1 //   Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
2 //  See cxx source for full Copyright notice                               
3 //  AliFMDReconstruction.h 
4 //  Task Class for making TreeR in FMD                        
5 //-- Authors: Evgeny Karpechev (INR) and Alla Maevskaia (INR)
6 /*
7     Reconstruct nember of particles 
8     in given group of pads for given FMDvolume
9     determine by numberOfVolume , 
10     numberOfMinSector,numberOfMaxSector,
11     numberOfMinRing, numberOfMaxRing
12     Reconstruction method choose dependence on number of empty pads  
13   */
14
15
16 #ifndef AliFMDReconstruction_h
17 #define AliFMDReconstruction_h
18
19 #include "TTask.h"
20 class TString;
21 class AliFMD;
22
23 class AliFMDReconstruction: public TTask 
24 {
25  public:
26   AliFMDReconstruction() ; 
27   AliFMDReconstruction(char* HeaderFile,char *SdigitsFile = 0) ; 
28   virtual ~AliFMDReconstruction();
29   char *GetReconstParticlesFile(){return (char*) fReconstParticlesFile.Data();}  
30   virtual void  Exec(Option_t *option); 
31   void SetNEvents(Int_t Nevents){fNevents = Nevents;}
32   Stat_t GetNEvents()  {return fNevents;}
33   TClonesArray *Digits() {return fDigits;}
34   Int_t DeterminationByThresholds(Int_t a[10][50][800], 
35                                   Int_t volume, Int_t Rmin, Int_t Rmax, 
36                                   Int_t Smin, Int_t Smax);
37   Int_t DeterminationByPoisson (Int_t PadADC[10][50][800], Int_t volume,
38                                 Int_t Rmin, Int_t Rmax, 
39                                 Int_t Smin, Int_t Smax);
40   
41  private:
42   TClonesArray *fDigits;               // ! array with digits
43   Int_t   fNevents ;                         // Number of events
44   TString fReconstParticlesFile;             //output file 
45   TString fHeadersFile ;                     //input file
46
47
48   ClassDef(AliFMDReconstruction,2) 
49
50
51 }; 
52 #endif
53
54
55
56
57
58
59
60
61