coverity 15108 fixed
[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//====================================================================
9f662337 45/** @class AliFMDDigitizer
46 @brief Concrete digitizer to make digits from hits. See also
47 AliFMDBaseDigitizer documentation.
48 @ingroup FMD_sim
49 */
4347b38f 50class AliFMDDigitizer : public AliFMDBaseDigitizer
51{
52public:
9f662337 53 /** CTOR */
42f1b2f5 54 AliFMDDigitizer() : AliFMDBaseDigitizer() {}
9f662337 55 /** CTOR
56 @param manager Manager of digitization */
42f1b2f5 57 AliFMDDigitizer(AliRunDigitizer * manager)
58 : AliFMDBaseDigitizer(manager) {}
9f662337 59 /** DTOR */
4347b38f 60 virtual ~AliFMDDigitizer() {}
ef8e8623 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="");
4347b38f 68protected:
ef8e8623 69 /** Sum contributions from SDigits
70 @param sdigitsBranch Branch of SDigit data */
71 void SumContributions(TBranch* sdigitsBranch);
72
8f6ee336 73 ClassDef(AliFMDDigitizer,1) // Make Digits from Hits
4347b38f 74};
4110645f 75
4347b38f 76
77#endif
78//____________________________________________________________________
79//
0d0e6995 80// Local Variables:
81// mode: C++
82// End:
83//
84//
4347b38f 85// EOF
86//
87