]>
Commit | Line | Data |
---|---|---|
d99769c3 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | // $Id$ | |
5 | ||
6 | /// \ingroup rec | |
7 | /// \class AliMUONDigitCalibrator | |
8 | /// \brief Class to calibrate the digits | |
9 | /// | |
78649106 | 10 | // Author Laurent Aphecetche |
d99769c3 | 11 | |
d1c20d08 | 12 | #ifndef ALIMUONDIGITCALIBRATOR_H |
13 | #define ALIMUONDIGITCALIBRATOR_H | |
d99769c3 | 14 | |
42825ed9 | 15 | #ifndef ROOT_TObject |
16 | #include "TObject.h" | |
d99769c3 | 17 | #endif |
18 | ||
19 | class AliMUONCalibrationData; | |
fe6ed686 | 20 | class AliMUONLogger; |
42825ed9 | 21 | class AliMUONVStore; |
22 | class AliMUONVDigitStore; | |
23 | class AliMUONVDigit; | |
49e396d9 | 24 | class AliMUONPadStatusMaker; |
25 | class AliMUONPadStatusMapMaker; | |
d99769c3 | 26 | |
42825ed9 | 27 | class AliMUONDigitCalibrator : public TObject |
d99769c3 | 28 | { |
29 | public: | |
49e396d9 | 30 | AliMUONDigitCalibrator(const AliMUONCalibrationData& calib); |
42825ed9 | 31 | |
d99769c3 | 32 | virtual ~AliMUONDigitCalibrator(); |
33 | ||
42825ed9 | 34 | virtual void Calibrate(AliMUONVDigitStore& digitStore); |
35 | ||
d99769c3 | 36 | private: |
71a2d3aa | 37 | /// Not implemented |
f51d54cb | 38 | AliMUONDigitCalibrator(const AliMUONDigitCalibrator& other); |
71a2d3aa | 39 | /// Not implemented |
f51d54cb | 40 | AliMUONDigitCalibrator& operator=(const AliMUONDigitCalibrator& other); |
41 | ||
42825ed9 | 42 | virtual void CalibrateDigit(AliMUONVDigit& digit); |
43 | ||
44 | private: | |
fe6ed686 | 45 | AliMUONLogger* fLogger; //!< to log repeated messages |
49e396d9 | 46 | AliMUONPadStatusMaker* fStatusMaker; //!< to build pad statuses |
47 | AliMUONPadStatusMapMaker* fStatusMapMaker; //!< to build status map | |
48 | AliMUONVStore* fPedestals; //!< pedestal values | |
49 | AliMUONVStore* fGains; //!< gain values | |
d1c20d08 | 50 | |
49e396d9 | 51 | ClassDef(AliMUONDigitCalibrator,4) // Calibrate raw digit |
d99769c3 | 52 | }; |
53 | ||
54 | #endif |