]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDDigitizer.h
Fixed igmore
[u/mrichter/AliRoot.git] / FMD / AliFMDDigitizer.h
CommitLineData
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 36class TClonesArray;
4347b38f 37class AliFMD;
38class AliLoader;
39class AliRunLoader;
8f6ee336 40class 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 52class AliFMDDigitizer : public AliFMDBaseDigitizer
53{
54public:
09b6c804 55 /**
56 * CTOR
57 */
42f1b2f5 58 AliFMDDigitizer() : AliFMDBaseDigitizer() {}
09b6c804 59 /**
60 * CTOR
61 *
f21fc003 62 * @param input Input of digitization
09b6c804 63 */
f21fc003 64 AliFMDDigitizer(AliDigitizationInput * digInput)
65 : AliFMDBaseDigitizer(digInput) {}
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
f21fc003 77 * AliDigitizationInput* digInput object.
09b6c804 78 *
79 * @param options Not used
80 */
f21fc003 81 virtual void Digitize(Option_t* option="");
4347b38f 82protected:
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