1 #ifndef ALIFMDCALIBPEDESTAL_H
2 #define ALIFMDCALIBPEDESTAL_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
8 //____________________________________________________________________
10 // This class stores a pedestal and pedestal width for each strip in
12 // The values are stored as floats, since they may be results from a
14 // Need to make algorithm that makes this data
15 /** @file AliFMDCalibPedestal.h
16 @author Christian Holm Christensen <cholm@nbi.dk>
17 @date Sun Mar 26 18:30:51 2006
18 @brief Per strip pedestal calibration
21 #ifndef ALIFMDFLOATMAP_H
22 # include <AliFMDFloatMap.h>
24 //____________________________________________________________________
25 /** @brief Pedestal value and width for each strip in the FMD
28 class AliFMDCalibPedestal : public TObject
32 AliFMDCalibPedestal();
34 ~AliFMDCalibPedestal() {}
36 @param o Object to copy from */
37 AliFMDCalibPedestal(const AliFMDCalibPedestal& o);
39 @param o Object to assign from
40 @return Reference to this object */
41 AliFMDCalibPedestal& operator=(const AliFMDCalibPedestal& o);
42 /** Set the values for a strip.
47 @param ped Value of pedestal
48 @param pedW Width of pedestal */
49 void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str,
50 Float_t ped, Float_t pedW);
51 /** Get pedestal for a strip.
56 @return Pedestal for strip */
57 Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
58 /** Get pedestal width for a strip.
63 @return Pedestal width for strip */
64 Float_t Width(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
66 AliFMDFloatMap fValue; /** Pedestal */
67 AliFMDFloatMap fWidth; /** Pedestal width */
68 ClassDef(AliFMDCalibPedestal, 1) // Pedestal data for the FMD
73 //____________________________________________________________________