]>
Commit | Line | Data |
---|---|---|
9b98d361 | 1 | // -*- mode: C++ -*- |
2 | #ifndef ALIFMDANAESD_H | |
3 | #define ALIFMDANAESD_H | |
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights | |
5 | * reserved. | |
6 | * | |
7 | * Latest changes by Christian Holm Christensen <cholm@nbi.dk> | |
8 | * | |
9 | * See cxx source for full Copyright notice | |
10 | */ | |
11 | //____________________________________________________________________ | |
12 | // | |
13 | // Utility class for analysing ESD data. | |
14 | // This class does sharing and background correction | |
15 | // | |
16 | #include <AliFMDInput.h> | |
17 | class AliFMDAnaRing; | |
18 | // #include "AliFMDAnaRing.h" | |
19 | class TBrowser; | |
20 | ||
21 | /** Base class for analysing FMD ESD data */ | |
22 | class AliFMDAnaESD : public AliFMDInput | |
23 | { | |
24 | public: | |
25 | /** Constructor | |
26 | @param lower cut. */ | |
27 | AliFMDAnaESD(); | |
28 | /** Destructor */ | |
29 | virtual ~AliFMDAnaESD() {} | |
30 | /** Called at beginning of run | |
31 | @return @c false on error */ | |
32 | virtual Bool_t Init(); | |
33 | /** Begining of event | |
34 | @param ev Event number | |
35 | @return @c false on error */ | |
36 | virtual Bool_t Begin(Int_t ev); | |
37 | /** Loop over all ESD data, and call ProcessESD for each entry. | |
38 | @return @c false on error */ | |
39 | virtual Bool_t ProcessESDs(); | |
40 | /** Fill for analysis */ | |
41 | virtual void Fill(Float_t phi, Float_t eta, Float_t mult) {} | |
42 | /** Called at the end of event | |
43 | @return @c false in case of errors */ | |
44 | virtual Bool_t End(); | |
45 | /** Called at the end of run | |
46 | @return @c false in case of errors */ | |
47 | virtual Bool_t Finish(); | |
48 | /** Browse this object */ | |
49 | virtual void Browse(TBrowser* b); | |
50 | /** This is a folder */ | |
51 | virtual Bool_t IsFolder() const { return kTRUE; } | |
52 | protected: | |
53 | /** Add a ring | |
54 | @param ring Ring object */ | |
55 | virtual void AddRing(AliFMDAnaRing* ring); | |
56 | /** Find a ring index | |
57 | @param det Detector number | |
58 | @param ring Ring id | |
59 | @return Index of ring object */ | |
60 | virtual Int_t FindRing(UShort_t det, Char_t ring) const; | |
61 | /** Ring objects */ | |
62 | AliFMDAnaRing* fRing[5]; | |
63 | /** Number of events */ | |
64 | ULong_t fNEvents; | |
65 | ClassDef(AliFMDAnaESD,0) // Base class for analysing FMD ESD | |
66 | }; | |
67 | ||
68 | #endif | |
69 | // | |
70 | // EOF | |
71 | // | |
72 | ||
73 |