]>
Commit | Line | Data |
---|---|---|
b0f5e3fc | 1 | #ifndef ALIITSRESPONSE_H |
2 | #define ALIITSRESPONSE_H | |
ac8cbb66 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
b0f5e3fc | 7 | |
b0f5e3fc | 8 | #include <TObject.h> |
703a4e51 | 9 | #include <TString.h> |
e8189707 | 10 | |
703a4e51 | 11 | class AliITSsegmentation; |
1ca7869b | 12 | class TF1; |
b0f5e3fc | 13 | class AliITSgeom; |
14 | ||
fcf95fc7 | 15 | //////////////////////////////////////////////////// |
16 | // // | |
17 | // ITS base response virtual base class // | |
18 | // // | |
19 | //////////////////////////////////////////////////// | |
4efc56c1 | 20 | class AliITSresponse : public TObject { |
b0f5e3fc | 21 | public: |
aacedc3e | 22 | |
fcf95fc7 | 23 | AliITSresponse(); |
24 | virtual ~AliITSresponse() {;} | |
25 | ||
26 | virtual void SetDiffCoeff(Float_t p1, Float_t p2) { | |
27 | fDiffCoeff=p1; fDiffCoeff1=p2;} | |
28 | virtual void DiffCoeff(Float_t &diff,Float_t &diff1) const { | |
29 | diff=fDiffCoeff; diff1=fDiffCoeff1;} | |
703a4e51 | 30 | |
fcf95fc7 | 31 | |
703a4e51 | 32 | protected: |
fcf95fc7 | 33 | |
703a4e51 | 34 | void NotImplemented(const char *method) const {if(gDebug>0) |
35 | Warning(method,"This method is not implemented for this sub-class");} | |
fcf95fc7 | 36 | |
4efc56c1 | 37 | private: |
fcf95fc7 | 38 | Float_t fDiffCoeff; // Diffusion Coefficient (scaling the time) |
39 | Float_t fDiffCoeff1; // Diffusion Coefficient (constant term) | |
40 | ||
4efc56c1 | 41 | |
10add0d4 | 42 | ClassDef(AliITSresponse,5) // Detector type response virtual base class |
b0f5e3fc | 43 | }; |
fcf95fc7 | 44 | |
b0f5e3fc | 45 | #endif |