]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - FMD/FMDsim/AliFMDDigitizer.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / FMD / FMDsim / AliFMDDigitizer.h
... / ...
CommitLineData
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//====================================================================
36class TClonesArray;
37class AliFMD;
38class AliLoader;
39class AliRunLoader;
40class AliFMDDigit;
41
42
43
44//====================================================================
45/**
46 * @class AliFMDDigitizer
47 * @brief Concrete digitizer to make digits from hits. See also
48 * AliFMDBaseDigitizer documentation.
49 *
50 * @ingroup FMD_sim
51 */
52class AliFMDDigitizer : public AliFMDBaseDigitizer
53{
54public:
55 /**
56 * CTOR
57 */
58 AliFMDDigitizer() : AliFMDBaseDigitizer() {}
59 /**
60 * CTOR
61 *
62 * @param input Input of digitization
63 */
64 AliFMDDigitizer(AliDigitizationInput * digInput)
65 : AliFMDBaseDigitizer(digInput) {}
66 /**
67 * DTOR
68 */
69 virtual ~AliFMDDigitizer() {}
70 /**
71 * Initialise
72 */
73 virtual Bool_t Init();
74 /**
75 * Execute this digitizer.
76 * This member function will be called once per event by the passed
77 * AliDigitizationInput* digInput object.
78 *
79 * @param options Not used
80 */
81 virtual void Digitize(Option_t* option="");
82protected:
83 /**
84 * Sum contributions from SDigits
85 *
86 * @param sdigitsBranch Branch of SDigit data
87 */
88 void SumContributions(TBranch* sdigitsBranch);
89
90 ClassDef(AliFMDDigitizer,1) // Make Digits from Hits
91};
92
93
94#endif
95//____________________________________________________________________
96//
97// Local Variables:
98// mode: C++
99// End:
100//
101//
102// EOF
103//
104