Stupid bug fix in new superlight mode (from Zurich airport)
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSPDscanInfoMultiple.h
CommitLineData
b15de2d2 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
16class 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
53ae21ce 36 ClassDef(AliITSOnlineSPDscanInfoMultiple,2)
b15de2d2 37 };
38
39#endif