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>
26 //____________________________________________________________________
27 /** @brief Pedestal value and width for each strip in the FMD
30 class AliFMDCalibPedestal : public TObject
34 AliFMDCalibPedestal();
36 ~AliFMDCalibPedestal() {}
38 @param o Object to copy from */
39 AliFMDCalibPedestal(const AliFMDCalibPedestal& o);
41 @param o Object to assign from
42 @return Reference to this object */
43 AliFMDCalibPedestal& operator=(const AliFMDCalibPedestal& o);
44 /** Set the values for a strip.
49 @param ped Value of pedestal
50 @param pedW Width of pedestal */
51 void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str,
52 Float_t ped, Float_t pedW);
53 /** Get pedestal for a strip.
58 @return Pedestal for strip */
59 Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
60 /** Get pedestal width for a strip.
65 @return Pedestal width for strip */
66 Float_t Width(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
69 Read information from file and set values
70 @param inFile inputFile
72 Bool_t ReadFromFile(std::istream & inFile);
75 AliFMDFloatMap fValue; /** Pedestal */
76 AliFMDFloatMap fWidth; /** Pedestal width */
77 ClassDef(AliFMDCalibPedestal, 1) // Pedestal data for the FMD
82 //____________________________________________________________________