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 TNamed {
25 AliQAThresholds(Int_t detId);
26 AliQAThresholds() : TNamed(), fThresholds(), fDetectorId(-1){};
27 virtual ~AliQAThresholds();
29 virtual const char* GetName() const;
30 virtual const char* GetTitle() const;
32 Int_t GetDetectorId();
33 void SetDetectorId(Int_t i);
34 void AddThreshold(TParameter<long>* item);
35 void AddThreshold(TParameter<int>* item);
36 void AddThreshold(TParameter<double>* item);
37 void AddThreshold(TParameter<float>* item);
38 void AddThresholdAt(TParameter<long>* item, Int_t index);
39 void AddThresholdAt(TParameter<int>* item, Int_t index);
40 void AddThresholdAt(TParameter<double>* item, Int_t index);
41 void AddThresholdAt(TParameter<float>* item, Int_t index);
42 TObject* GetThreshold(Int_t i);
47 TObjArray fThresholds;
48 Int_t fDetectorId; // in the sense of the class AliDAQ
50 ClassDef(AliQAThresholds, 3)