Add a protection againts runs with missing DCS information in the OCDB
[u/mrichter/AliRoot.git] / TRD / AliTRDSensorArray.h
CommitLineData
cd4fc278 1#ifndef ALITRDSENSORARRAY_H
2#define ALITRDSENSORARRAY_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9////////////////////////////////////////////////////////////////////////////
10// //
11// TRD sensor array for DCS //
12// //
13////////////////////////////////////////////////////////////////////////////
14
cd4fc278 15#include <TString.h>
16
17class TObjArray;
18class TClonesArray;
19class TMap;
20
21#include "AliDCSSensorArray.h"
22
cd4fc278 23//_____________________________________________________________________________
24class AliTRDSensorArray : public AliDCSSensorArray
25{
26
27 public :
4d836fc4 28
29 AliTRDSensorArray();
30 AliTRDSensorArray(const char * amanda
31 , const char * storeName
32 , Float_t /*diffCut*/
33 , TClonesArray * const trdSensor);
cd4fc278 34
4d836fc4 35 AliTRDSensorArray(const AliTRDSensorArray & source);
36 virtual ~AliTRDSensorArray();
cd4fc278 37 AliTRDSensorArray & operator=(const AliTRDSensorArray & source);
38
4d836fc4 39 static TObjArray *GetList();
40 TString GetStoreName() const { return fStoreName; }
41 TMap *ExtractDCS(TMap * dcsMap);
42 void SetGraph(TMap * map);
43 Int_t GetNGraph( ) const;
cd4fc278 44
45 private :
46
4d836fc4 47 TString fAmanda; // amanqda string dcsDatapointAlias
cd4fc278 48 TString fStoreName; // name used as the name in the storage system
49
50 ClassDef(AliTRDSensorArray,2); // Array of TRD DCS value objects
51};
52
53#endif
54