1 #ifndef ALI_ITS_ONLINESPDSCANINFOMEANTH_H
2 #define ALI_ITS_ONLINESPDSCANINFOMEANTH_H
4 /////////////////////////////////////////////////////////////////
5 // Author: Henrik Tydesjo //
6 // This class is used as a container online. //
7 // It holds additional information needed for a mean threshold //
9 // This class should only be used through the interface of the //
10 // AliITSOnlineSPDscanMeanTh class. //
11 /////////////////////////////////////////////////////////////////
13 #include "AliITSOnlineSPDscanInfoMultiple.h"
15 class AliITSOnlineSPDscanInfoMeanTh : public AliITSOnlineSPDscanInfoMultiple {
18 AliITSOnlineSPDscanInfoMeanTh();
19 virtual ~AliITSOnlineSPDscanInfoMeanTh();
21 virtual UInt_t AddScanStep();
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);
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;
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
36 ClassDef(AliITSOnlineSPDscanInfoMeanTh,2)