]>
Commit | Line | Data |
---|---|---|
66d2ede1 | 1 | #ifndef ALIFMDDIGITIZER_H |
2 | #define ALIFMDDIGITIZER_H | |
4347b38f | 3 | /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights |
4 | * reserved. | |
5 | * | |
6 | * See cxx source for full Copyright notice | |
7 | */ | |
ef8e8623 | 8 | // Classses to make SDigits into Digits |
02a27b50 | 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 | // | |
c2fc1258 | 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 | |
02a27b50 | 29 | @ingroup FMD_sim |
c2fc1258 | 30 | */ |
02a27b50 | 31 | #ifndef ALIFMDBASEDIGITIZER_H |
32 | # include <AliFMDBaseDigitizer.h> | |
4347b38f | 33 | #endif |
88cb7938 | 34 | |
4347b38f | 35 | //==================================================================== |
88cb7938 | 36 | class TClonesArray; |
4347b38f | 37 | class AliFMD; |
38 | class AliLoader; | |
39 | class AliRunLoader; | |
8f6ee336 | 40 | class AliFMDDigit; |
4347b38f | 41 | |
4347b38f | 42 | |
4347b38f | 43 | |
44 | //==================================================================== | |
09b6c804 | 45 | /** |
46 | * @class AliFMDDigitizer | |
47 | * @brief Concrete digitizer to make digits from hits. See also | |
48 | * AliFMDBaseDigitizer documentation. | |
49 | * | |
50 | * @ingroup FMD_sim | |
9f662337 | 51 | */ |
4347b38f | 52 | class AliFMDDigitizer : public AliFMDBaseDigitizer |
53 | { | |
54 | public: | |
09b6c804 | 55 | /** |
56 | * CTOR | |
57 | */ | |
42f1b2f5 | 58 | AliFMDDigitizer() : AliFMDBaseDigitizer() {} |
09b6c804 | 59 | /** |
60 | * CTOR | |
61 | * | |
62 | * @param manager Manager of digitization | |
63 | */ | |
42f1b2f5 | 64 | AliFMDDigitizer(AliRunDigitizer * manager) |
65 | : AliFMDBaseDigitizer(manager) {} | |
09b6c804 | 66 | /** |
67 | * DTOR | |
68 | */ | |
4347b38f | 69 | virtual ~AliFMDDigitizer() {} |
09b6c804 | 70 | /** |
71 | * Initialise | |
72 | */ | |
ef8e8623 | 73 | virtual Bool_t Init(); |
09b6c804 | 74 | /** |
75 | * Execute this digitizer. | |
76 | * This member function will be called once per event by the passed | |
77 | * AliRunDigitizer manager object. | |
78 | * | |
79 | * @param options Not used | |
80 | */ | |
ef8e8623 | 81 | virtual void Exec(Option_t* option=""); |
4347b38f | 82 | protected: |
09b6c804 | 83 | /** |
84 | * Sum contributions from SDigits | |
85 | * | |
86 | * @param sdigitsBranch Branch of SDigit data | |
87 | */ | |
ef8e8623 | 88 | void SumContributions(TBranch* sdigitsBranch); |
89 | ||
8f6ee336 | 90 | ClassDef(AliFMDDigitizer,1) // Make Digits from Hits |
4347b38f | 91 | }; |
4110645f | 92 | |
4347b38f | 93 | |
94 | #endif | |
95 | //____________________________________________________________________ | |
96 | // | |
0d0e6995 | 97 | // Local Variables: |
98 | // mode: C++ | |
99 | // End: | |
100 | // | |
101 | // | |
4347b38f | 102 | // EOF |
103 | // | |
104 |