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 */
9 //-------------------------------------------------------------------------
10 // Class AliITSQASSDRefData
11 // ITS SSD reference values for the QA
13 // Origin: Panos.Christakoglou@cern.ch, NIKHEF-Utrecht University
14 //-------------------------------------------------------------------------
18 #include <TObjArray.h>
22 class AliITSQASSDRefData : public TObject {
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
32 void AddReference(const char* name, Int_t id, Double_t value);
33 Int_t GetID(const char*);
35 Double_t *GetReferenceData() {return fRefList->GetArray();}
36 Double_t GetReferenceValue(const char*);
37 Double_t GetReferenceValue(Int_t id);
39 void SetDefault(Int_t eventSpecie);
41 void SetReferenceData(const char* path);
42 void SetReferenceValue(const char* name, Double_t value);
43 void SetReferenceValue(Int_t id, Double_t value);
48 TArrayD *fRefList;//* = new TArrayD(11,{0,500,0,50,0,100,0,50,0,100,5});
49 TObjArray *fNameList;//* = new TObjArray(11);
51 ClassDef(AliITSQASSDRefData,1) // description