1 #ifndef ALI_ITS_ONLINESPDSCANINFOMULTIPLE_H
2 #define ALI_ITS_ONLINESPDSCANINFOMULTIPLE_H
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 /////////////////////////////////////////////////////////////////
13 #include "AliITSOnlineSPDscanInfo.h"
16 class AliITSOnlineSPDscanInfoMultiple : public AliITSOnlineSPDscanInfo {
19 AliITSOnlineSPDscanInfoMultiple();
20 virtual ~AliITSOnlineSPDscanInfoMultiple();
22 virtual UInt_t AddScanStep(); // returns the index (nsi) of the added step
24 void SetDacId(Int_t val){fDacId=val;}
25 void SetDacValue(UInt_t nsi, Int_t val);
27 Int_t GetDacId() const {return fDacId;}
28 Int_t GetDacValue(UInt_t nsi) const;
32 Int_t fDacId; // id of DAC used for the scan
33 TArrayI fDacValues; // DAC values for each step
36 ClassDef(AliITSOnlineSPDscanInfoMultiple,2)