AliRoot Core  edcc906 (edcc906)
AliQAThresholds.h
Go to the documentation of this file.
1 #ifndef ALIQATHRESHOLDS_H
2 #define ALIQATHRESHOLDS_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
8 // //
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 //
14 // //
16 
17 #include "TObject.h"
18 #include "TObjArray.h"
19 #include "TParameter.h"
20 
21 class AliQAThresholds: public TNamed {
22 
23  public:
24 
25  AliQAThresholds(Int_t detId);
26  AliQAThresholds() : TNamed(), fThresholds(), fDetectorId(-1){};
27  virtual ~AliQAThresholds();
28 
29  virtual const char* GetName() const;
30  virtual const char* GetTitle() const;
31 
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);
43  Int_t GetSize();
44 
45  private:
46 
48  Int_t fDetectorId; // in the sense of the class AliDAQ
49 
50  ClassDef(AliQAThresholds, 3)
51 };
52 
53 #endif
#define TObjArray
void SetDetectorId(Int_t i)
virtual const char * GetName() const
TObjArray fThresholds
void AddThresholdAt(TParameter< long > *item, Int_t index)
void AddThreshold(TParameter< long > *item)
virtual ~AliQAThresholds()
virtual const char * GetTitle() const
TObject * GetThreshold(Int_t i)