]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSOnlineSPDscanInfoMultiple.h
Changing fabs into TMath::Abs
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSPDscanInfoMultiple.h
1 #ifndef ALI_ITS_ONLINESPDSCANINFOMULTIPLE_H
2 #define ALI_ITS_ONLINESPDSCANINFOMULTIPLE_H  
3
4 /////////////////////////////////////////////////////////////////
5 // Author: Henrik Tydesjo                                      //
6 // This class is used as a container online.                   //
7 // It holds additional information needed for a scan with      //
8 // multiple steps. (dac scan, min thr. mean thr. etc.          //
9 // This class should only be used through the interface of the //
10 // AliITSOnlineSPDscanMultiple class.                          //
11 /////////////////////////////////////////////////////////////////
12
13 #include "AliITSOnlineSPDscanInfo.h"
14 #include "TArrayI.h"
15
16 class AliITSOnlineSPDscanInfoMultiple :  public AliITSOnlineSPDscanInfo {
17
18  public:
19   AliITSOnlineSPDscanInfoMultiple();
20   virtual ~AliITSOnlineSPDscanInfoMultiple();
21
22   virtual UInt_t AddScanStep(); // returns the index (nsi) of the added step
23
24   void    SetDacId(Int_t val){fDacId=val;}
25   void    SetDacValue(UInt_t nsi, Int_t val);
26           
27   Int_t   GetDacId() const {return fDacId;}
28   Int_t   GetDacValue(UInt_t nsi) const;
29
30
31  protected:
32   Int_t     fDacId;         // id of DAC used for the scan
33   TArrayI   fDacValues;     // DAC values for each step
34
35
36   ClassDef(AliITSOnlineSPDscanInfoMultiple,2)
37     };
38
39 #endif