]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDSDigitizer.h
TPCNoiseMapComponent included into build (Kelly)
[u/mrichter/AliRoot.git] / FMD / AliFMDSDigitizer.h
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  */
41 class AliFMDSDigitizer : public AliFMDBaseDigitizer 
42 {
43 public:
44   /** CTOR */
45   AliFMDSDigitizer();
46   /** CTOR
47       @param headerFile Where to write headings
48       @param sdigFile   Where to write digits. */
49   AliFMDSDigitizer(const Char_t* headerFile, const Char_t* sdigFile="");
50   /** DTOR */
51   virtual ~AliFMDSDigitizer();
52   /** Do it all 
53       @param option Not used */
54   virtual void  Exec(Option_t* option=0);
55 protected:
56   /** Add a digit to output.
57       @param fmd      Pointer to detector object
58       @param detector Detector #
59       @param ring     Ring ID
60       @param sector   Sector number
61       @param strip    Strip number
62       @param edep     Energy deposited (not used)
63       @param count1   ADC count 1
64       @param count2   ADC count 2 (-1 if not used)
65       @param count3   ADC count 3 (-1 if not used) */
66   virtual void     AddDigit(AliFMD*  fmd,
67                             UShort_t detector, 
68                             Char_t   ring,
69                             UShort_t sector, 
70                             UShort_t strip, 
71                             Float_t  edep, 
72                             UShort_t count1, 
73                             Short_t  count2, 
74                             Short_t  count3,
75                             Short_t  count4) const;
76   ClassDef(AliFMDSDigitizer,0) // Make Summable Digits from Hits
77 };
78
79
80
81 #endif
82 //____________________________________________________________________
83 //
84 // Local Variables:
85 //   mode: C++
86 // End:
87 //
88 //
89 // EOF
90 //
91