]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - FMD/AliFMDCalibPedestal.h
Modification needed to sync DA version and realease fields with svn
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibPedestal.h
... / ...
CommitLineData
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//____________________________________________________________________
9//
10// This class stores a pedestal and pedestal width for each strip in
11// the FMD detectors.
12// The values are stored as floats, since they may be results from a
13// fit.
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
19 @ingroup FMD_base
20*/
21#ifndef ALIFMDFLOATMAP_H
22# include <AliFMDFloatMap.h>
23#endif
24//____________________________________________________________________
25/** @brief Pedestal value and width for each strip in the FMD
26 @ingroup FMD_base
27*/
28class AliFMDCalibPedestal : public TObject
29{
30public:
31 /** CTOR */
32 AliFMDCalibPedestal();
33 /** DTOR */
34 ~AliFMDCalibPedestal() {}
35 /** Copy ctor
36 @param o Object to copy from */
37 AliFMDCalibPedestal(const AliFMDCalibPedestal& o);
38 /** Assignment
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.
43 @param det Detector
44 @param ring Ring
45 @param sec Sector
46 @param str 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.
52 @param det Detector
53 @param ring Ring
54 @param sec Sector
55 @param str 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.
59 @param det Detector
60 @param ring Ring
61 @param sec Sector
62 @param str Strip
63 @return Pedestal width for strip */
64 Float_t Width(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
65private:
66 AliFMDFloatMap fValue; /** Pedestal */
67 AliFMDFloatMap fWidth; /** Pedestal width */
68 ClassDef(AliFMDCalibPedestal, 1) // Pedestal data for the FMD
69};
70
71
72#endif
73//____________________________________________________________________
74//
75// Local Variables:
76// mode: C++
77// End:
78//
79
80