]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliQAThresholds.h
Take absolute value of daughter label in MatchToMC, to keep fakes in PbPb.
[u/mrichter/AliRoot.git] / STEER / AliQAThresholds.h
CommitLineData
878a7a5e 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
7///////////////////////////////////////////////////////////////////////////////
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// //
15///////////////////////////////////////////////////////////////////////////////
16
17#include "TObject.h"
18#include "TObjArray.h"
19#include "TParameter.h"
20
21class AliQAThresholds: public TObject {
22
23 public:
24
25 AliQAThresholds(Int_t detId = -1);
26 virtual ~AliQAThresholds();
27
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);
37
38 private:
39
40 TObjArray fThresholds;
41 Int_t fDetectorId; // in the sense of the class AliDAQ
42
43 ClassDef(AliQAThresholds, 1)
44};
45
46#endif