]>
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;} | |
30 | virtual void SetParamOptions(const char*,const char*) = 0; | |
31 | ||
32 | virtual void ParamOptions(char *,char*) const = 0; | |
33 | virtual void SetFilenames(const char *f1="",const char *f2="", | |
aacedc3e | 34 | const char *f3=""){ |
703a4e51 | 35 | fFileName1=f1; fFileName2=f2; fFileName3=f3;} |
fcf95fc7 | 36 | |
703a4e51 | 37 | virtual void Filenames(char* input,char* baseline,char* param) { |
aacedc3e | 38 | strcpy(input,fFileName1.Data()); strcpy(baseline,fFileName2.Data()); |
39 | strcpy(param,fFileName3.Data());} | |
703a4e51 | 40 | |
aacedc3e | 41 | virtual void SetOutputOption(Bool_t write=kFALSE) {fWrite = write;} |
42 | ||
703a4e51 | 43 | virtual Bool_t OutputOption() const {return fWrite;} |
fcf95fc7 | 44 | |
703a4e51 | 45 | protected: |
fcf95fc7 | 46 | |
703a4e51 | 47 | void NotImplemented(const char *method) const {if(gDebug>0) |
48 | Warning(method,"This method is not implemented for this sub-class");} | |
fcf95fc7 | 49 | |
4efc56c1 | 50 | private: |
fcf95fc7 | 51 | |
52 | TString fFileName1; // input keys : run, module # | |
53 | TString fFileName2; // baseline & noise val or output code | |
703a4e51 | 54 | // signal or monitored bgr. |
fcf95fc7 | 55 | TString fFileName3; // param values or output coded signal |
56 | Bool_t fWrite; // Write option for the compression algorithms | |
57 | Float_t fDiffCoeff; // Diffusion Coefficient (scaling the time) | |
58 | Float_t fDiffCoeff1; // Diffusion Coefficient (constant term) | |
59 | ||
4efc56c1 | 60 | |
fcf95fc7 | 61 | ClassDef(AliITSresponse,4) // Detector type response virtual base class |
b0f5e3fc | 62 | }; |
fcf95fc7 | 63 | |
b0f5e3fc | 64 | #endif |