Small patch for file copying for special outputs in proof mode (M.Vala)
[u/mrichter/AliRoot.git] / FMD / AliFMDSDigitizer.h
CommitLineData
02a27b50 1#ifndef ALIFMDSDIGITIZER_H
2#define ALIFMDSDIGITIZER_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 Hits into digits and summable 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 AliFMDSDigitizer.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//====================================================================
36/** @class AliFMDSDigitizer AliFMDDigitizer.h <FMD/AliFMDDigitizer.h>
37 @brief Concrete implementation to make summable digits.
38 See also class documentation of AliFMDBaseDigitizer
39 @ingroup FMD_sim
40 */
41class AliFMDSDigitizer : public AliFMDBaseDigitizer
42{
43public:
44 /** CTOR */
42f1b2f5 45 AliFMDSDigitizer() : AliFMDBaseDigitizer() {}
46 /** CTOR
47 @param manager Manager of digitization */
48 AliFMDSDigitizer(AliRunDigitizer * manager)
49 : AliFMDBaseDigitizer(manager)
50 {}
02a27b50 51 /** DTOR */
42f1b2f5 52 virtual ~AliFMDSDigitizer() {}
02a27b50 53protected:
42f1b2f5 54 /** Output to disk
55 @param outFMD Loader
56 @param fmd AliFMD object */
57 virtual void OutputTree(AliLoader* outFMD, AliFMD* fmd);
02a27b50 58 /** Add a digit to output.
59 @param fmd Pointer to detector object
60 @param detector Detector #
61 @param ring Ring ID
62 @param sector Sector number
63 @param strip Strip number
64 @param edep Energy deposited (not used)
65 @param count1 ADC count 1
66 @param count2 ADC count 2 (-1 if not used)
67 @param count3 ADC count 3 (-1 if not used) */
68 virtual void AddDigit(AliFMD* fmd,
69 UShort_t detector,
70 Char_t ring,
71 UShort_t sector,
72 UShort_t strip,
73 Float_t edep,
74 UShort_t count1,
75 Short_t count2,
2aeec17d 76 Short_t count3,
77 Short_t count4) const;
02a27b50 78 ClassDef(AliFMDSDigitizer,0) // Make Summable Digits from Hits
79};
80
81
82
83#endif
84//____________________________________________________________________
85//
86// Local Variables:
87// mode: C++
88// End:
89//
90//
91// EOF
92//
93