]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDCalibPedestal.h
Added documentation of each file.
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibPedestal.h
1 #ifndef ALIFMDCALIBPEDESTAL_H
2 #define ALIFMDCALIBPEDESTAL_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 /** @file    AliFMDCalibPedestal.h
9     @author  Christian Holm Christensen <cholm@nbi.dk>
10     @date    Sun Mar 26 18:30:51 2006
11     @brief   Per strip pedestal calibration 
12 */
13 #ifndef ALIFMDFLOATMAP_H
14 # include <AliFMDFloatMap.h>
15 #endif
16 //____________________________________________________________________
17 /** @brief Pedestal value and width for each strip in the FMD 
18     @ingroup FMD_base
19 */
20 class AliFMDCalibPedestal : public TObject 
21 {
22 public:
23   /** CTOR */
24   AliFMDCalibPedestal();
25   /** DTOR */
26   ~AliFMDCalibPedestal() {}
27   /** Copy ctor 
28       @param o Object to copy from  */
29   AliFMDCalibPedestal(const AliFMDCalibPedestal& o);
30   /** Assignment 
31       @param o Object to assign from
32       @return Reference to this object   */
33   AliFMDCalibPedestal& operator=(const AliFMDCalibPedestal& o);
34   /** Set the values for a strip. 
35       @param det  Detector 
36       @param ring Ring 
37       @param sec  Sector 
38       @param str  Strip
39       @param ped  Value of pedestal 
40       @param pedW Width of pedestal */
41   void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, 
42            Float_t ped, Float_t pedW);
43   /** Get pedestal for a strip. 
44       @param det  Detector 
45       @param ring Ring 
46       @param sec  Sector 
47       @param str  Strip
48       @return Pedestal for strip */  
49   Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
50   /** Get pedestal width for a strip. 
51       @param det  Detector 
52       @param ring Ring 
53       @param sec  Sector 
54       @param str  Strip
55       @return Pedestal width for strip */  
56   Float_t Width(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
57 private:
58   AliFMDFloatMap fValue; /** Pedestal */
59   AliFMDFloatMap fWidth; /** Pedestal width */
60   ClassDef(AliFMDCalibPedestal, 1) // Pedestal data for the FMD 
61 };
62
63
64 #endif
65 //____________________________________________________________________
66 //
67 // Local Variables:
68 //   mode: C++
69 // End:
70 //
71
72