]>
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; | |
d99769c3 | 24 | |
42825ed9 | 25 | class AliMUONDigitCalibrator : public TObject |
d99769c3 | 26 | { |
27 | public: | |
42825ed9 | 28 | AliMUONDigitCalibrator(const AliMUONCalibrationData& calib, |
20356e33 | 29 | Bool_t createAndUseStatusMap=kTRUE); |
42825ed9 | 30 | |
d99769c3 | 31 | virtual ~AliMUONDigitCalibrator(); |
32 | ||
42825ed9 | 33 | virtual void Calibrate(AliMUONVDigitStore& digitStore); |
34 | ||
d99769c3 | 35 | private: |
71a2d3aa | 36 | /// Not implemented |
f51d54cb | 37 | AliMUONDigitCalibrator(const AliMUONDigitCalibrator& other); |
71a2d3aa | 38 | /// Not implemented |
f51d54cb | 39 | AliMUONDigitCalibrator& operator=(const AliMUONDigitCalibrator& other); |
40 | ||
42825ed9 | 41 | virtual void CalibrateDigit(AliMUONVDigit& digit); |
42 | ||
43 | private: | |
44 | const AliMUONCalibrationData& fCalibrationData; //!< Calibration data | |
45 | AliMUONVStore* fStatusMap; //!< Channel status map | |
fe6ed686 | 46 | AliMUONLogger* fLogger; //!< to log repeated messages |
d1c20d08 | 47 | |
42825ed9 | 48 | ClassDef(AliMUONDigitCalibrator,3) // Calibrate raw digit |
d99769c3 | 49 | }; |
50 | ||
51 | #endif |