]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSOnlineSPDfoInfo.h
remove obselete clean QA macros command
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSPDfoInfo.h
CommitLineData
286382a3 1#ifndef ALIITSONLINESPDFOINFO_H
2#define ALIITSONLINESPDFOINFO_H
3/* Copyright(c) 2008-2010, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////////////////////
9// Author: A. Mastroserio //
10// This class is used within the detector algorithm framework //
11// to collect information on how the scan was arranged. //
12////////////////////////////////////////////////////////////////
13
14
15#include <TObject.h>
16#include <TArrayS.h>
17
18class AliITSOnlineSPDfoInfo : public TObject {
19
20 public:
21 AliITSOnlineSPDfoInfo();
22 virtual ~AliITSOnlineSPDfoInfo();
23
24 virtual void ClearThis();
25 virtual void AddDACindex(Short_t index);
26
27 // SETTERS
28 virtual void SetRunNumber(UInt_t val) {fRunNumber=val;}
29 virtual void SetRouter(UShort_t val) {fRouter=val;}
30 virtual void SetNumTriggers(UInt_t val){fNumTriggers=val;}
31 virtual void SetDBversion(Int_t val) {fDBversion=val;}
32
33 // GETTERS
34 UInt_t GetRunNumber() const {return fRunNumber;}
35 UShort_t GetRouter() const {return fRouter;}
36 UInt_t GetNumTriggers() const {return fNumTriggers;}
37 Int_t GetDBversion() const {return fDBversion;}
38
39 UShort_t GetNumDACindex() const {return fNumDACindex;}
40 Short_t GetDACindex(UShort_t id) const; // returns -1 if ID not present
41
42 TArrayS GetDACIndexArray() const {return fDACindex;}
43
44 protected:
45 UInt_t fRunNumber; // run number
46 UShort_t fRouter; // router number (should be same as eq number)
47 UInt_t fNumTriggers; // number of triggers sent for each scan step
48 Int_t fDBversion; // global configuration db version
49
50 UShort_t fNumDACindex; // number of DAC indices in TArrayI below
51 TArrayS fDACindex; // list of DAC indices related to each DAC value
52
53 ClassDef(AliITSOnlineSPDfoInfo,1)
54};
55
56#endif