1 #ifndef ALIQATHRESHOLDS_H
2 #define ALIQATHRESHOLDS_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ///////////////////////////////////////////////////////////////////////////////
9 // Container for the parameters that might be needed by the QA. //
10 // Each detector has 1 of these objects with the list of parameters. //
11 // The parameters are created online and are passed to the offline through //
12 // the shuttle to be added to the OCDB in the GRP. //
13 // Created by Barthelemy.von.Haller@cern.ch 30/11/2010 //
15 ///////////////////////////////////////////////////////////////////////////////
18 #include "TObjArray.h"
19 #include "TParameter.h"
21 class AliQAThresholds: public TObject {
25 AliQAThresholds(Int_t detId = -1);
26 virtual ~AliQAThresholds();
28 Int_t GetDetectorId();
29 void SetDetectorId(Int_t i);
30 void AddThreshold(TParameter<long>* item);
31 void AddThreshold(TParameter<int>* item);
32 void AddThreshold(TParameter<double>* item);
33 void AddThresholdAt(TParameter<long>* item, Int_t index);
34 void AddThresholdAt(TParameter<int>* item, Int_t index);
35 void AddThresholdAt(TParameter<double>* item, Int_t index);
36 TObject* GetThreshold(Int_t i);
40 TObjArray fThresholds;
41 Int_t fDetectorId; // in the sense of the class AliDAQ
43 ClassDef(AliQAThresholds, 1)