1 #ifndef ALIFMDMULTNAIIVE_H
2 #define ALIFMDMULTNAIIVE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
6 * Latest changes by Christian Holm Christensen <cholm@nbi.dk>
8 * See cxx source for full Copyright notice
11 //____________________________________________________________________
13 // Class to do multiplicity reconstruction using the Naiive method.
14 // That is, we count the number of empty strips in a region, and
15 // derive the charge particle multiplicity from that number.
18 #ifndef ALIFMDMULTALGORITHM_H
19 # include "AliFMDMultAlgorithm.h"
22 //____________________________________________________________________
23 class AliFMDMultNaiive : public AliFMDMultAlgorithm
27 virtual ~AliFMDMultNaiive() {}
29 virtual void PreRun(AliFMD* fmd);
30 virtual void PreEvent(TTree* treeR, Float_t ipZ);
31 virtual void ProcessDigit(AliFMDDigit* digit,
35 void SetGain(Float_t g) { fGain = g; }
36 void SetEdepMip(Float_t e) { fEdepMip = e; }
37 Float_t GetGain() const { return fGain; }
38 Float_t GetEdepMip() const { return fEdepMip; }
40 Float_t Adc2Energy(AliFMDDigit* digit, Float_t eta, UShort_t count);
41 Float_t Energy2Multiplicity(AliFMDDigit* digit, Float_t edep);
42 Float_t fGain; // GeV per ADC count
43 Float_t fEdepMip; // Energy deposited per MIP
45 ClassDef(AliFMDMultNaiive, 0) // Naiive algorithm
49 //____________________________________________________________________