]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDMultAlgorithm.h
Removing extra semicolons (FedoraCore3, gcc 3.4.2)
[u/mrichter/AliRoot.git] / FMD / AliFMDMultAlgorithm.h
CommitLineData
56b1929b 1#ifndef ALIFMDMULTALGORITHM_H
2#define ALIFMDMULTALGORITHM_H
e802be3e 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
4 * reserved.
5 *
6 * Latest changes by Christian Holm Christensen <cholm@nbi.dk>
7 *
8 * See cxx source for full Copyright notice
9 */
10/* $Id$ */
11//____________________________________________________________________
12//
13// Base class for FMD reconstruction algorithms.
14//
15// Derived classes will implement various ways of reconstructing the
16// charge particle multiplicity in the FMD.
17//
18
19#ifndef ROOT_TTask
20# include <TTask.h>
21#endif
22
23//____________________________________________________________________
24class AliFMDDigit;
56b1929b 25class TTree;
26class AliFMD;
27class TClonesArray;
e802be3e 28
29//____________________________________________________________________
56b1929b 30class AliFMDMultAlgorithm : public TNamed
e802be3e 31{
32public:
56b1929b 33 AliFMDMultAlgorithm(const char* name, const char* title);
34 virtual ~AliFMDMultAlgorithm();
e802be3e 35
56b1929b 36 virtual void PreRun(AliFMD* fmd) { fFMD = fmd; }
37 virtual void PreEvent(TTree* treeR, Float_t ipZ);
e802be3e 38 virtual void ProcessDigit(AliFMDDigit* digit,
39 Float_t eta,
40 Float_t phi,
41 UShort_t counts) = 0;
56b1929b 42 virtual void PostEvent() {}
43 virtual void PostRun() {}
e802be3e 44protected:
56b1929b 45 TTree* fTreeR; //! Reconstruction tree
46 TClonesArray* fMult; //! Reconstructed multiplicities
47 Int_t fNMult; //! Number of reconstructed multiplicities
48 AliFMD* fFMD; //! Detector information
49
50 ClassDef(AliFMDMultAlgorithm, 0) // Base class for algorithms
e802be3e 51};
52
53#endif
54//____________________________________________________________________
55//
56// Local Variables:
57// mode: C++
58// End:
59//
60// EOF
61//