]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIFMDDIGITIZER_H | |
2 | #define ALIFMDDIGITIZER_H | |
3 | /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights | |
4 | * reserved. | |
5 | * | |
6 | * See cxx source for full Copyright notice | |
7 | */ | |
8 | // Classses to make SDigits into Digits | |
9 | // | |
10 | // Digits consists of | |
11 | // - Detector # | |
12 | // - Ring ID | |
13 | // - Sector # | |
14 | // - Strip # | |
15 | // - ADC count in this channel | |
16 | // | |
17 | // Summable digits consists of | |
18 | // - Detector # | |
19 | // - Ring ID | |
20 | // - Sector # | |
21 | // - Strip # | |
22 | // - Total energy deposited in the strip | |
23 | // - ADC count in this channel | |
24 | // | |
25 | /** @file AliFMDDigitizer.h | |
26 | @author Christian Holm Christensen <cholm@nbi.dk> | |
27 | @date Mon Mar 27 12:38:26 2006 | |
28 | @brief FMD Digitizers declaration | |
29 | @ingroup FMD_sim | |
30 | */ | |
31 | #ifndef ALIFMDBASEDIGITIZER_H | |
32 | # include <AliFMDBaseDigitizer.h> | |
33 | #endif | |
34 | ||
35 | //==================================================================== | |
36 | class TClonesArray; | |
37 | class AliFMD; | |
38 | class AliLoader; | |
39 | class AliRunLoader; | |
40 | class AliFMDDigit; | |
41 | ||
42 | ||
43 | ||
44 | //==================================================================== | |
45 | /** @class AliFMDDigitizer | |
46 | @brief Concrete digitizer to make digits from hits. See also | |
47 | AliFMDBaseDigitizer documentation. | |
48 | @ingroup FMD_sim | |
49 | */ | |
50 | class AliFMDDigitizer : public AliFMDBaseDigitizer | |
51 | { | |
52 | public: | |
53 | /** CTOR */ | |
54 | AliFMDDigitizer() : AliFMDBaseDigitizer() {} | |
55 | /** CTOR | |
56 | @param manager Manager of digitization */ | |
57 | AliFMDDigitizer(AliRunDigitizer * manager) | |
58 | : AliFMDBaseDigitizer(manager) {} | |
59 | /** DTOR */ | |
60 | virtual ~AliFMDDigitizer() {} | |
61 | /** Initialise */ | |
62 | virtual Bool_t Init(); | |
63 | /** Execute this digitizer. | |
64 | This member function will be called once per event by the passed | |
65 | AliRunDigitizer manager object. | |
66 | @param options Not used */ | |
67 | virtual void Exec(Option_t* option=""); | |
68 | protected: | |
69 | /** Sum contributions from SDigits | |
70 | @param sdigitsBranch Branch of SDigit data */ | |
71 | void SumContributions(TBranch* sdigitsBranch); | |
72 | ||
73 | ClassDef(AliFMDDigitizer,1) // Make Digits from Hits | |
74 | }; | |
75 | ||
76 | ||
77 | #endif | |
78 | //____________________________________________________________________ | |
79 | // | |
80 | // Local Variables: | |
81 | // mode: C++ | |
82 | // End: | |
83 | // | |
84 | // | |
85 | // EOF | |
86 | // | |
87 |