]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSresponseSDD.h
In Open() and GotoEvent() try the ESD operations first, fallback to run-loader.
[u/mrichter/AliRoot.git] / ITS / AliITSresponseSDD.h
1 #ifndef ALIITSRESPONSESDD_H
2 #define ALIITSRESPONSESDD_H
3  
4 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6  
7
8 #include <TObject.h>
9
10 /* $Id$ */
11
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 ///////////////////////////////////////////////////////////// 
17
18 class AliITSresponseSDD : public TObject {
19   public:
20
21     AliITSresponseSDD();
22     virtual ~AliITSresponseSDD(){};
23
24
25     virtual void SetTimeOffset(Float_t to){fTimeOffset = to;}
26     virtual Float_t GetTimeOffset()const {return fTimeOffset;}
27     static Float_t DefaultTimeOffset() {return fgkTimeOffsetDefault;}
28
29     virtual void SetADC2keV(Float_t conv){fADC2keV=conv;}
30     virtual Float_t GetADC2keV()const {return fADC2keV;}
31     static Float_t DefaulttADC2keV() {return fgkADC2keVDefault;}
32
33  
34
35  protected:
36
37     static const Float_t fgkTimeOffsetDefault; // default for fTimeOffset
38     static const Float_t fgkADC2keVDefault; // default for fADC2keV
39
40     Float_t  fTimeOffset;     // Time offset due to electronic delays 
41     Float_t  fADC2keV;        // Conversion factor from ADC to keV
42
43  private:
44
45    AliITSresponseSDD(const AliITSresponseSDD &ob); // copy constructor
46    AliITSresponseSDD& operator=(const AliITSresponseSDD & /* source */); // ass. op.
47
48     ClassDef(AliITSresponseSDD,14) 
49     
50     };
51 #endif