Protection against missing timestamps
[u/mrichter/AliRoot.git] / ITS / AliITSresponse.h
CommitLineData
d6d98afc 1#ifndef ALIITSRESPONSE_H
2#define ALIITSRESPONSE_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8#include <TObject.h>
9#include <TString.h>
10
11class AliITSsegmentation;
12class TF1;
13class AliITSgeom;
14
15////////////////////////////////////////////////////
16// //
17// ITS base response virtual base class //
18// //
19////////////////////////////////////////////////////
20class AliITSresponse : public TObject {
21 public:
22
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
31
32 protected:
33
34 void NotImplemented(const char *method) const {if(gDebug>0)
35 Warning(method,"This method is not implemented for this sub-class");}
36
37 private:
38 Float_t fDiffCoeff; // Diffusion Coefficient (scaling the time)
39 Float_t fDiffCoeff1; // Diffusion Coefficient (constant term)
40
41
42 ClassDef(AliITSresponse,5) // Detector type response virtual base class
43};
44
45#endif