]>
Commit | Line | Data |
---|---|---|
b0f5e3fc | 1 | #ifndef ALIITSRESPONSESDD_H |
2 | #define ALIITSRESPONSESDD_H | |
48058160 | 3 | |
c2bd28b6 | 4 | /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. * |
48058160 | 5 | * See cxx source for full Copyright notice */ |
6 | ||
88cb7938 | 7 | |
253e68a0 | 8 | #include <TObject.h> |
b0f5e3fc | 9 | |
c2bd28b6 | 10 | /* $Id$ */ |
11 | ||
fcf95fc7 | 12 | ///////////////////////////////////////////////////////////// |
13 | // Base settings for the ITS response classes. // | |
14 | // The data member of this class are static and set once // | |
15 | // for all the modules. // | |
16 | ///////////////////////////////////////////////////////////// | |
b0f5e3fc | 17 | |
253e68a0 | 18 | class AliITSresponseSDD : public TObject { |
aacedc3e | 19 | public: |
fcf95fc7 | 20 | |
48058160 | 21 | AliITSresponseSDD(); |
cd2a0045 | 22 | virtual ~AliITSresponseSDD(){}; |
a66a0eb6 | 23 | |
a66a0eb6 | 24 | |
25 | virtual void SetTimeOffset(Float_t to){fTimeOffset = to;} | |
253e68a0 | 26 | virtual Float_t GetTimeOffset()const {return fTimeOffset;} |
a66a0eb6 | 27 | static Float_t DefaultTimeOffset() {return fgkTimeOffsetDefault;} |
28 | ||
29 | virtual void SetADC2keV(Float_t conv){fADC2keV=conv;} | |
253e68a0 | 30 | virtual Float_t GetADC2keV()const {return fADC2keV;} |
a66a0eb6 | 31 | static Float_t DefaulttADC2keV() {return fgkADC2keVDefault;} |
32 | ||
8ba39da9 | 33 | |
8ba39da9 | 34 | |
48058160 | 35 | protected: |
fcf95fc7 | 36 | |
a66a0eb6 | 37 | static const Float_t fgkTimeOffsetDefault; // default for fTimeOffset |
38 | static const Float_t fgkADC2keVDefault; // default for fADC2keV | |
703a4e51 | 39 | |
a66a0eb6 | 40 | Float_t fTimeOffset; // Time offset due to electronic delays |
41 | Float_t fADC2keV; // Conversion factor from ADC to keV | |
703a4e51 | 42 | |
43 | private: | |
703a4e51 | 44 | |
fcf95fc7 | 45 | AliITSresponseSDD(const AliITSresponseSDD &ob); // copy constructor |
46 | AliITSresponseSDD& operator=(const AliITSresponseSDD & /* source */); // ass. op. | |
fa1750f9 | 47 | |
253e68a0 | 48 | ClassDef(AliITSresponseSDD,14) |
50d05d7b | 49 | |
50 | }; | |
b0f5e3fc | 51 | #endif |