]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSOnlineSPDscanInfoMeanTh.h
Adding histos
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSPDscanInfoMeanTh.h
1 #ifndef ALI_ITS_ONLINESPDSCANINFOMEANTH_H
2 #define ALI_ITS_ONLINESPDSCANINFOMEANTH_H  
3
4 /////////////////////////////////////////////////////////////////
5 // Author: Henrik Tydesjo                                      //
6 // This class is used as a container online.                   //
7 // It holds additional information needed for a mean threshold //
8 // scan.                                                       //
9 // This class should only be used through the interface of the //
10 // AliITSOnlineSPDscanMeanTh class.                            //
11 /////////////////////////////////////////////////////////////////
12
13 #include "AliITSOnlineSPDscanInfoMultiple.h"
14
15 class AliITSOnlineSPDscanInfoMeanTh :  public AliITSOnlineSPDscanInfoMultiple {
16
17  public:
18   AliITSOnlineSPDscanInfoMeanTh();
19   virtual ~AliITSOnlineSPDscanInfoMeanTh();
20
21   virtual UInt_t AddScanStep();
22
23   void     SetDacLow(UInt_t nsi, UInt_t hs, Int_t val);
24   void     SetDacHigh(UInt_t nsi, UInt_t hs, Int_t val);
25   void     SetTPAmp(UInt_t nsi, UInt_t hs, Int_t val);
26
27   Int_t    GetDacLow(UInt_t nsi, UInt_t hs) const;
28   Int_t    GetDacHigh(UInt_t nsi, UInt_t hs) const;
29   Int_t    GetTPAmp(UInt_t nsi, UInt_t hs) const;
30
31  protected:
32   TArrayI   fDacLow[6];        // DAC low values for each step
33   TArrayI   fDacHigh[6];       // DAC high values for each step
34   TArrayI   fTPAmps[6];        // test pulse amplitudes, one for each step
35
36   ClassDef(AliITSOnlineSPDscanInfoMeanTh,2)
37     };
38     
39 #endif