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