]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliQAThresholds.h
Fixing in/out tags in documentation
[u/mrichter/AliRoot.git] / STEER / AliQAThresholds.h
1 #ifndef ALIQATHRESHOLDS_H\r
2 #define ALIQATHRESHOLDS_H\r
3 \r
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
5  * See cxx source for full Copyright notice                               */\r
6 \r
7 ///////////////////////////////////////////////////////////////////////////////\r
8 //                                                                           //\r
9 // Container for the parameters that might be needed by the QA.              //\r
10 // Each detector has 1 of these objects with the list of parameters.         //\r
11 // The parameters are created online and are passed to the offline through   //\r
12 // the shuttle to be added to the OCDB in the GRP.                           //\r
13 // Created by Barthelemy.von.Haller@cern.ch  30/11/2010                      //\r
14 //                                                                           //\r
15 ///////////////////////////////////////////////////////////////////////////////\r
16 \r
17 #include "TObject.h"\r
18 #include "TObjArray.h"\r
19 #include "TParameter.h"\r
20 \r
21 class AliQAThresholds: public TObject {\r
22 \r
23  public:\r
24 \r
25   AliQAThresholds(Int_t detId);\r
26   virtual ~AliQAThresholds();\r
27 \r
28   Int_t GetDetectorId();\r
29   void SetDetectorId(Int_t i);\r
30   void AddThreshold(TParameter<long>* item);\r
31   void AddThreshold(TParameter<int>* item);\r
32   void AddThreshold(TParameter<double>* item);\r
33   void AddThreshold(TParameter<float>* item);\r
34   void AddThresholdAt(TParameter<long>* item, Int_t index);\r
35   void AddThresholdAt(TParameter<int>* item, Int_t index);\r
36   void AddThresholdAt(TParameter<double>* item, Int_t index);\r
37   void AddThresholdAt(TParameter<float>* item, Int_t index);\r
38   TObject* GetThreshold(Int_t i);\r
39   Int_t GetSize();\r
40 \r
41  private:\r
42 \r
43   TObjArray fThresholds;\r
44   Int_t fDetectorId;       // in the sense of the class AliDAQ\r
45 \r
46   ClassDef(AliQAThresholds, 2)\r
47 };\r
48 \r
49 #endif\r