1 #ifndef ALIFMDDIGITIZER_H
2 #define ALIFMDDIGITIZER_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
8 // Classses to make Hits into digits and summable digits.
15 // - ADC count in this channel
17 // Summable digits consists of
22 // - Total energy deposited in the strip
23 // - ADC count in this channel
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
31 #ifndef ALIFMDBASEDIGITIZER_H
32 # include <AliFMDBaseDigitizer.h>
35 //====================================================================
44 //====================================================================
45 /** @class AliFMDDigitizer
46 @brief Concrete digitizer to make digits from hits. See also
47 AliFMDBaseDigitizer documentation.
50 class AliFMDDigitizer : public AliFMDBaseDigitizer
56 @param manager Manager of digitization */
57 AliFMDDigitizer(AliRunDigitizer * manager);
59 virtual ~AliFMDDigitizer() {}
61 @param option Not used */
62 virtual void Exec(Option_t* option=0);
64 /** Add a digit to output.
65 @param fmd Pointer to detector object
66 @param detector Detector #
68 @param sector Sector number
69 @param strip Strip number
70 @param edep Energy deposited (not used)
71 @param count1 ADC count 1
72 @param count2 ADC count 2 (-1 if not used)
73 @param count3 ADC count 3 (-1 if not used) */
74 virtual void AddDigit(AliFMD* fmd,
82 Short_t count3) const;
84 @param detector Detector #
86 @param sector Sector number
87 @param strip Strip number
88 @return Random noise */
89 virtual UShort_t MakePedestal(UShort_t detector,
92 UShort_t strip) const;
93 /** Check that digit data is consistent
95 @param nhits Number of hits
96 @param counts ADC counts */
97 virtual void CheckDigit(AliFMDDigit* digit,
99 const TArrayI& counts);
100 ClassDef(AliFMDDigitizer,1) // Make Digits from Hits
105 //____________________________________________________________________