1 #ifndef ALIQATHRESHOLDS_H
\r
2 #define ALIQATHRESHOLDS_H
\r
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
\r
5 * See cxx source for full Copyright notice */
\r
7 ///////////////////////////////////////////////////////////////////////////////
\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
15 ///////////////////////////////////////////////////////////////////////////////
\r
17 #include "TObject.h"
\r
18 #include "TObjArray.h"
\r
19 #include "TParameter.h"
\r
21 class AliQAThresholds: public TObject {
\r
25 AliQAThresholds(Int_t detId);
\r
26 virtual ~AliQAThresholds();
\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
43 TObjArray fThresholds;
\r
44 Int_t fDetectorId; // in the sense of the class AliDAQ
\r
46 ClassDef(AliQAThresholds, 2)
\r