minor fix
[u/mrichter/AliRoot.git] / ITS / AliITSQASSDRefData.h
CommitLineData
905cc85c 1#ifndef ALIITSQASSDREFDATA_H
2#define ALIITSQASSDREFDATA_H
3/* Copyright(c) 2009-2011, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6
7/* $Id$ */
8
9//-------------------------------------------------------------------------
10// Class AliITSQASSDRefData
11// ITS SSD reference values for the QA
12//
13// Origin: Panos.Christakoglou@cern.ch, NIKHEF-Utrecht University
14//-------------------------------------------------------------------------
15
16
17#include <TObject.h>
18#include <TObjArray.h>
19#include <TArrayD.h>
20
21
22class AliITSQASSDRefData : public TObject {
23
24 public:
25 AliITSQASSDRefData();
26 AliITSQASSDRefData(Int_t specie);
27 AliITSQASSDRefData(const char* path);
28 AliITSQASSDRefData(const AliITSQASSDRefData& refData);
29 AliITSQASSDRefData& operator = (const AliITSQASSDRefData& refData);
30 virtual ~AliITSQASSDRefData(); //destructor
31
32 void AddReference(const char* name, Int_t id, Double_t value);
33 Int_t GetID(const char*);
34
35 Double_t *GetReferenceData() {return fRefList->GetArray();}
36 Double_t GetReferenceValue(const char*);
37 Double_t GetReferenceValue(Int_t id);
38
39 void SetDefault(Int_t eventSpecie);
40
41 void SetReferenceData(const char* path);
42 void SetReferenceValue(const char* name, Double_t value);
43 void SetReferenceValue(Int_t id, Double_t value);
44
45 void PrintTable();
46
47 private:
48 TArrayD *fRefList;//* = new TArrayD(11,{0,500,0,50,0,100,0,50,0,100,5});
49 TObjArray *fNameList;//* = new TObjArray(11);
50
51 ClassDef(AliITSQASSDRefData,1) // description
52};
53
54
55#endif