Adding macros to create Calibration objects
[u/mrichter/AliRoot.git] / TRD / TRDbase / AliTRDSensorArray.h
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
15 #include <TString.h>
16
17 class TObjArray;
18 class TClonesArray;
19 class TMap;
20
21 #include "AliDCSSensorArray.h"
22
23 //_____________________________________________________________________________
24 class AliTRDSensorArray : public AliDCSSensorArray
25 {
26
27         public :
28
29                 AliTRDSensorArray();
30                 AliTRDSensorArray(const char * amanda
31                                 , const char * storeName
32                                 , Float_t /*diffCut*/
33                                 , TClonesArray * const trdSensor); 
34                 
35                 AliTRDSensorArray(const AliTRDSensorArray & source);
36                 virtual ~AliTRDSensorArray();
37                 AliTRDSensorArray & operator=(const AliTRDSensorArray & source);
38                 
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;
44                 
45         private :
46                 
47                 TString         fAmanda;                // amanqda string dcsDatapointAlias
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