New AliTRDSensor classes by Wilfried
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Jun 2007 08:03:31 +0000 (08:03 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Jun 2007 08:03:31 +0000 (08:03 +0000)
TRD/AliTRDDataDCS.h
TRD/AliTRDPreprocessor.cxx
TRD/AliTRDPreprocessor.h
TRD/AliTRDSensor.cxx [new file with mode: 0644]
TRD/AliTRDSensor.h [new file with mode: 0644]
TRD/AliTRDSensorArray.cxx [new file with mode: 0644]
TRD/AliTRDSensorArray.h [new file with mode: 0644]
TRD/TRDbaseLinkDef.h
TRD/libTRDbase.pkg

index 6f3b26d..cf4ba81 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef AliTRDDATADCS_H
-#define AliTRDDATADCS_H
+#ifndef ALITRDDATADCS_H
+#define ALITRDDATADCS_H
 
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
index af89c5a..06cce8e 100644 (file)
 //                                                                        //
 // Author:                                                                //
 //   R. Bailhache (R.Bailhache@gsi.de)                                    //
-//   W. Monange   (wilfried.monange@free.fr)                              //
+//   W. Monange   (w.monange@gsi.de)                                      //
 //                                                                        //
 ////////////////////////////////////////////////////////////////////////////
 
 #include "AliTRDPreprocessor.h"
 
-#include <TTimeStamp.h>
 #include <TFile.h>
 #include <TProfile2D.h>
-#include <TH2I.h>
 #include <TStopwatch.h>
 #include <TObjString.h>
 #include <TString.h>
 #include <TCollection.h>
 
 #include "AliCDBMetaData.h"
-#include "AliDCSValue.h"
 #include "AliLog.h"
 
 #include "AliTRDCalibraFit.h"
 #include "AliTRDCalibraMode.h"
-#include "AliTRDDataDCS.h"
-#include "Cal/AliTRDCalDet.h"
+#include "AliTRDSensorArray.h"
 
 ClassImp(AliTRDPreprocessor)
 
@@ -96,39 +92,100 @@ UInt_t AliTRDPreprocessor::Process(TMap* dcsAliasMap)
   //
   // DCS
   //
-  AliTRDDataDCS dataRef;
-
+  
   AliCDBMetaData metaData;
   metaData.SetBeamPeriod(0);
   metaData.SetResponsible("Wilfried Monange/Raphaelle Bailhache");
   metaData.SetComment("TRD calib test");
-
-  if (dataRef.ExtractDCS (dcsAliasMap)) {
-
-    if (!StoreReferenceData("Calib", "DataRef", &dataRef, &metaData)) {
-      AliError("Problem during StoreRef DCS");
-      result |= EStoreRefDCS;
-    }
-
-    if (dataRef.PerformFit()) {
-      if(!Store("Calib", "Data", &dataRef, &metaData, 0, 0)) {
-        AliError("Problem during Store DCS");
-        result |=EStoreDCS;
-      }
-    }else {
-      AliError("Problem during PerformFit DCS");
-      result |= EFitDCS;
-    }
-
-    dataRef.ClearFits();
-
-  }else {
-    AliError ("Problem during ExtractDCS");
-    result |= EExtractDCS;
+       
+       
+  Log ("****** DCS ******\n");
+       
+  TObjArray * list = AliTRDSensorArray::GetList ();
+       
+  if (list == 0x0) {
+         Log ("Error during AliTRDSensorArray::GetList");
+         Log ("DCS will not be processing");
+  }else { 
+       
+       Int_t nEntries = list->GetEntries ();
+       Log (Form ("%d alias loaded", nEntries));
+               
+       Bool_t * results = new Bool_t [nEntries];
+       Int_t  * nGraph = new Int_t [nEntries];
+               
+       for (Int_t iAlias = 0; iAlias < nEntries; iAlias++) {
+                       
+               AliTRDSensorArray * oneTRDDCS = (AliTRDSensorArray *)list->At (iAlias);
+                       
+               oneTRDDCS->SetStartTime (TTimeStamp (fStartTime));
+               oneTRDDCS->SetEndTime (TTimeStamp (fEndTime));
+                       
+               Log (Form("Processing DCS : \"%s\"", 
+                       oneTRDDCS->GetStoreName ().Data ()));
+                       
+               TMap * map = oneTRDDCS->ExtractDCS (dcsAliasMap);
+               
+               nGraph [iAlias] = map->GetEntries ();
+               
+               if (nGraph [iAlias] == 0) {
+                       Log("No TGraph for this dcsDatapointAlias : not stored");
+                       results [iAlias] = kFALSE;
+                       result |= kEStoreRefDCS;
+                       continue;
+               }
+               
+               oneTRDDCS->SetGraph (map);
+
+               results [iAlias] = Store("Calib", 
+                                                                oneTRDDCS->GetStoreName ().Data (), 
+                                                                oneTRDDCS,  
+                                                                &metaData,
+                                                                0, 
+                                                                kTRUE); 
+               
+               /*      
+               results [iAlias] = StoreReferenceData("Calib", 
+                                                                                               oneTRDDCS->GetStoreName ().Data (), 
+                                                                                               oneTRDDCS, 
+                                                                                               &metaData); 
+               */
+               if (!results [iAlias]) {
+                       AliError("Problem during StoreRef DCS"); 
+                       result |= kEStoreRefDCS;
+               }
+                       
+               delete map;
+                       
+               /*
+                       //BEGIN TEST
+               oneTRDDCS->SetDiffCut2 (0.1);
+               map = oneTRDDCS->ExtractDCS (dcsAliasMap);
+               oneTRDDCS->SetGraph (map);
+                       
+               StoreReferenceData("Calib", 
+                                                       (oneTRDDCS->GetStoreName ()+"Cut").Data(), 
+                                                       oneTRDDCS, &metaData); 
+               delete map;
+                       //END TEST
+               */
+       }
+               
+       Log ("         Summury of DCS :\n");
+       Log (Form("%30s %10s %10s", "dcsDatapointAlias", "Stored ?", "# graph"));
+       for (Int_t iAlias = 0; iAlias < nEntries; iAlias++) {
+               AliTRDSensorArray * oneTRDDCS = (AliTRDSensorArray *)list->At (iAlias);
+               Log (Form ("%30s %10s %4d", 
+                       oneTRDDCS->GetStoreName ().Data (),
+                       results[iAlias] ? "ok" : "X",
+                       nGraph [iAlias]));
+       }
+       Log ("*********** End of DCS **********");
+       
+       delete results;
+       delete nGraph;
   }
 
-  dataRef.ClearGraphs();
-
   //
   // Process the calibration data for the HLT part
   //
index 441e8a2..ec3381a 100644 (file)
@@ -23,16 +23,16 @@ class AliTRDPreprocessor : public AliPreprocessor
     virtual ~AliTRDPreprocessor();
 
     enum {
-       EExtractDCS    =   1  // error in case of failure by extracting DCS variables
-      ,EStoreRefDCS   =   2  // error in case of failure by storing DCS variables references
-      ,EFitDCS        =   4  // error in case of failure by fitting DCS variables
-      ,EStoreDCS      =   8  // error in case of failure by storing DCS variables fit results
-      ,EListFileHLT   =  16  // error in case of failure by taking the listof HLT files
-      ,EOpenFileHLT   =  32  // error in case of failure by opening the HLTfile
-      ,ETakeHistoHLT  =  64  // error in case of failure by taking the histos HLT
-      ,EStoreHistoHLT = 128  // error in case of failure by storing the reference data HLT
-      ,EFitHistoHLT   = 256  // error in case of failure by fitting the histos HLT
-      ,EStoreCalHLT   = 512  // error in case of failure by storing the HLTcal objects
+       kEExtractDCS    =   1  // error in case of failure by extracting DCS variables
+      ,kEStoreRefDCS   =   2  // error in case of failure by storing DCS variables references
+      ,kEFitDCS        =   4  // error in case of failure by fitting DCS variables
+      ,kEStoreDCS      =   8  // error in case of failure by storing DCS variables fit results
+      ,kEListFileHLT   =  16  // error in case of failure by taking the listof HLT files
+      ,kEOpenFileHLT   =  32  // error in case of failure by opening the HLTfile
+      ,kETakeHistoHLT  =  64  // error in case of failure by taking the histos HLT
+      ,kEStoreHistoHLT = 128  // error in case of failure by storing the reference data HLT
+      ,kEFitHistoHLT   = 256  // error in case of failure by fitting the histos HLT
+      ,kEStoreCalHLT   = 512  // error in case of failure by storing the HLTcal objects
     };
 
   protected:
diff --git a/TRD/AliTRDSensor.cxx b/TRD/AliTRDSensor.cxx
new file mode 100644 (file)
index 0000000..5685c1c
--- /dev/null
@@ -0,0 +1,93 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
+////////////////////////////////////////////////////////////////////////////
+//                                                                        //
+// This class represent a TRD sensor, it is used by AliTRDSensorArray     //
+// 
+//                                                                        //
+// Author:                                                                //
+//   W. Monange   (w.monange@gsi.de)                                      //
+//                                                                        //
+////////////////////////////////////////////////////////////////////////////
+
+#include "AliTRDSensor.h"
+
+ClassImp(AliTRDSensor)
+
+//_____________________________________________________________________________
+AliTRDSensor::AliTRDSensor ():
+               AliDCSSensor ()
+{
+       //default constructor
+       SetIdDCS  (0);
+       SetX       (0);
+       SetY       (0);
+       SetZ       (0);
+       //SetStartTime (startTime);
+}
+
+
+//_____________________________________________________________________________
+AliTRDSensor::AliTRDSensor (const AliTRDSensor & source) :
+               AliDCSSensor (source)
+{ 
+       //copy constructor
+
+}
+
+//_____________________________________________________________________________
+AliTRDSensor::AliTRDSensor (Int_t dcsId,
+                                                       Double_t x, Double_t y, Double_t z):
+               AliDCSSensor ()
+{
+       // constructor
+       SetIdDCS  (dcsId);
+       SetX       (x);
+       SetY       (y);
+       SetZ       (z);
+       //SetStartTime (startTime);
+}
+
+//_____________________________________________________________________________
+AliTRDSensor::~AliTRDSensor()
+{
+  //
+  // Destructor
+  //
+
+}
+
+//_____________________________________________________________________________
+AliTRDSensor & AliTRDSensor::operator=(const AliTRDSensor &c)
+{
+  //
+  // Assignment operator
+  //
+
+       if (this != &c) ((AliTRDSensor &) c).Copy(*this);
+       return *this;
+}
+
+//_____________________________________________________________________________
+void AliTRDSensor::Copy(TObject &c) const
+{
+  //
+  // Copy function
+  //
+       TObject::Copy(c);
+}
diff --git a/TRD/AliTRDSensor.h b/TRD/AliTRDSensor.h
new file mode 100644 (file)
index 0000000..a3d6ac2
--- /dev/null
@@ -0,0 +1,37 @@
+#ifndef ALITRDSENSOR_H
+#define ALITRDSENSOR_H
+
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+////////////////////////////////////////////////////////////////////////////
+//                                                                        //
+// TRD sensor for DCS                                                     //
+//                                                                        //
+////////////////////////////////////////////////////////////////////////////
+
+
+#include "AliDCSSensor.h"
+
+//_____________________________________________________________________________
+class AliTRDSensor : public  AliDCSSensor {
+
+       public :
+               AliTRDSensor ();
+               ~AliTRDSensor();
+               AliTRDSensor (const AliTRDSensor & source);
+               AliTRDSensor & operator=(const AliTRDSensor &c);
+               void Copy(TObject &c) const;
+               AliTRDSensor (Int_t dcsId,
+                                         Double_t x, Double_t y, Double_t z); 
+               
+                               
+       
+
+               ClassDef(AliTRDSensor,2);   // Object for TRD DCS values
+};
+
+#endif
+
diff --git a/TRD/AliTRDSensorArray.cxx b/TRD/AliTRDSensorArray.cxx
new file mode 100644 (file)
index 0000000..7dfba06
--- /dev/null
@@ -0,0 +1,233 @@
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
+////////////////////////////////////////////////////////////////////////////
+//                                                                        //
+// This class perform operation on DCS Sensor                             //
+// The configuration of each sensor is included inside this class         //
+// Use the methode GetList to get all the configuration                   //
+//                                                                        //
+// Author:                                                                //
+//   W. Monange   (w.monange@gsi.de)                                      //
+//                                                                        //
+////////////////////////////////////////////////////////////////////////////
+
+#include <TObjArray.h>
+#include <TClonesArray.h>
+
+#include "AliTRDSensorArray.h"
+#include "AliTRDSensor.h"
+
+ClassImp(AliTRDSensorArray)
+
+//_____________________________________________________________________________
+AliTRDSensorArray::AliTRDSensorArray () :
+                                       AliDCSSensorArray (),
+                                       fAmanda (""),
+                                       fStoreName ("")
+                                       
+{
+       //default constructor
+       
+}
+
+
+
+//_____________________________________________________________________________
+AliTRDSensorArray::AliTRDSensorArray (const char * amanda, 
+                                     const char * storeName, 
+                                     Float_t /*diffCut*/,
+                                     TClonesArray * trdSensor) :
+                                       AliDCSSensorArray (),
+                                       fAmanda         (amanda),
+                                       fStoreName      (storeName)
+                                       
+{
+       //constructor set fMinGraph to 0, fValCut to 0, fDiffCut to 0
+       fSensors        = trdSensor;
+       fMinGraph       = 0;
+       fValCut         = -1;
+       fDiffCut        = -1;
+}
+
+//_____________________________________________________________________________
+AliTRDSensorArray::AliTRDSensorArray (const AliTRDSensorArray & source) :
+                                       fAmanda         (source.fAmanda),
+                                       fStoreName      (source.fStoreName)
+                                       
+{
+       // copy constructor
+       fSensors        = source.fSensors;
+       fMinGraph       = 0;
+       fValCut         = -1;
+       fDiffCut        = -1;
+}
+       
+
+//_____________________________________________________________________________
+AliTRDSensorArray:: ~AliTRDSensorArray ()
+{
+  //
+  // Destructor
+  //
+       
+}
+
+//_____________________________________________________________________________                
+AliTRDSensorArray & AliTRDSensorArray::operator=(const AliTRDSensorArray & source)
+{
+  //
+  // Assignment operator
+  //
+
+       if (&source == this) return *this;
+       new (this) AliTRDSensorArray (source);
+  
+       return *this;  
+}
+
+//_____________________________________________________________________________
+TObjArray *  AliTRDSensorArray::GetList () 
+{
+       // return TObjArray with a list of AliTRDSensorArray corresponding to each
+       // group of sensor 
+       
+       TObjArray * list = new TObjArray (22);
+       list->SetOwner (kTRUE);
+       AliTRDSensorArray * aH = 0x0;
+       
+       // generic list of sensors
+       TClonesArray listSensor540 ("AliTRDSensor", 540);       
+       TClonesArray listSensor2   ("AliTRDSensor", 2); 
+       TClonesArray listSensor1   ("AliTRDSensor", 1); 
+       listSensor540.SetOwner (kTRUE);
+       listSensor2.SetOwner (kTRUE);
+       listSensor1.SetOwner (kTRUE);
+       for (Int_t i = 0; i < 540; i++) {
+               new(listSensor540[i]) AliTRDSensor (i, 0, 0, 0);
+       }
+       for (Int_t i = 0; i < 2; i++)
+               new(listSensor2[i]) AliTRDSensor (i, 0, 0, 0);
+       new(listSensor1[0]) AliTRDSensor (0, 0, 0, 0);
+       
+       
+       // now create and populate   
+       aH = new AliTRDSensorArray ("trd_chamberStatus%03d", "trd_chamberStatus", 
+                                                               0.5, (TClonesArray*)listSensor540.Clone ());
+       list->Add (aH);
+       
+       aH = new AliTRDSensorArray ("trd_preTrigger",           "trd_preTrigger", 
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_goofieHv",                     "trd_goofieHv",  
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_goofiePeakPos%02d",    "trd_goofiePeakPos",   
+                                                               -1, (TClonesArray*)listSensor2.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_goofiePeakArea%02d","trd_goofiePeakArea",   
+                                                               -1, (TClonesArray*)listSensor2.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_goofieTemp%02d",       "trd_goofieTemp",  
+                                                               -1, (TClonesArray*)listSensor2.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_goofiePressure",       "trd_goofiePressure",  
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_goofieVelocity",       "trd_goofieVelocity",  
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_goofieGain%02d",       "trd_goofieGain",  
+                                                               -1, (TClonesArray*)listSensor2.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_goofieCO2",            "trd_goofieCO2",  
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_goofieN2",                     "trd_goofieN2", 
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_gasO2",                        "trd_gasO2",  
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_gasH2O",                       "trd_gasH2O",  
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_gasOverpressure",      "trd_gasOverpressure",  
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_envTemp%03d",          "trd_envTemp",  
+                                                               -1, (TClonesArray*)listSensor540.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_hvAnodeImon%03d",      "trd_hvAnodeImon",       
+                                                               -1, (TClonesArray*)listSensor540.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_hvDriftImon%03d",      "trd_hvDriftImon",  
+                                                               -1, (TClonesArray*)listSensor540.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_hvAnodeUmon%03d",      "trd_hvAnodeUmon",  
+                                                               -1, (TClonesArray*)listSensor540.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_hvDriftUmon%03d",      "trd_hvDriftUmon",  
+                                                               -1, (TClonesArray*)listSensor540.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("trd_adcClkPhase",          "trd_adcClkPhase", 
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("CavernAtmosPressure",      "CavernAtmosPressure", 
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("LHCLuminosity",            "LHCLuminosity",  
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+       aH = new AliTRDSensorArray ("L3Current",                        "L3Current",  
+                                                               -1, (TClonesArray*)listSensor1.Clone ());
+       list->Add (aH);
+                                 
+       return list;
+}
+
+//_____________________________________________________________________________
+TMap* AliTRDSensorArray::ExtractDCS(TMap *dcsMap)
+{
+       //Return Tmap with TGraph inside corresponding to values in dcsMap
+       return AliDCSSensorArray::ExtractDCS (dcsMap, fAmanda.Data ());
+}
+
+//_____________________________________________________________________________
+void AliTRDSensorArray::SetGraph (TMap * map)
+{
+       // assigne list of TGraph to the current instance
+       AliDCSSensorArray::SetGraph (map, fAmanda.Data ());
+}
+
+
+//_____________________________________________________________________________
+Int_t AliTRDSensorArray::GetNGraph () const
+{
+       // return the number of TGraph
+       Int_t nGraph = 0;
+       Int_t nsensors = fSensors->GetEntries();
+       
+       for (Int_t isensor = 0; isensor < nsensors; isensor++) {
+               AliDCSSensor *entry = (AliDCSSensor*)fSensors->At(isensor);
+               if (entry->GetGraph () != 0x0)
+                       nGraph ++;
+       } 
+       return nGraph;
+}
+
+
diff --git a/TRD/AliTRDSensorArray.h b/TRD/AliTRDSensorArray.h
new file mode 100644 (file)
index 0000000..65f0bcd
--- /dev/null
@@ -0,0 +1,56 @@
+#ifndef ALITRDSENSORARRAY_H
+#define ALITRDSENSORARRAY_H
+
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+////////////////////////////////////////////////////////////////////////////
+//                                                                        //
+// TRD sensor array for DCS                                               //
+//                                                                        //
+////////////////////////////////////////////////////////////////////////////
+
+
+#include <TString.h>
+
+class TObjArray;
+class TClonesArray;
+class TMap;
+
+#include "AliDCSSensorArray.h"
+
+
+//_____________________________________________________________________________
+class AliTRDSensorArray : public AliDCSSensorArray
+{
+
+       public :
+               AliTRDSensorArray ();
+               AliTRDSensorArray (const char * amanda, 
+                                                  const char * storeName,
+                                  Float_t /*diffCut*/,
+                                                  TClonesArray * trdSensor); 
+               
+               
+               AliTRDSensorArray (const AliTRDSensorArray & source);
+               virtual ~AliTRDSensorArray ();
+               AliTRDSensorArray & operator=(const AliTRDSensorArray & source);
+               
+               static TObjArray *      GetList                         ();
+               TString                         GetStoreName            () const {return fStoreName;}
+               TMap *                          ExtractDCS                      (TMap * dcsMap);
+               void                            SetGraph                        (TMap * map);
+               Int_t                           GetNGraph                       () const;
+               
+       private :
+               
+               TString         fAmanda;                // amanda string dcsDatapointAlias
+               TString         fStoreName;             // name used as the name in the storage system
+       
+               ClassDef(AliTRDSensorArray,2);          // Array of TRD DCS value objects
+};
+
+#endif
+
index d31396e..77265ab 100644 (file)
 #pragma link C++ class  AliTRDCalibraMode+;
 #pragma link C++ class  AliTRDCalibraVector+;
 #pragma link C++ class  AliTRDCalibPadStatus+;
-#pragma link C++ class  AliTRDDataDCS+;
+
 #pragma link C++ class  AliTRDPreprocessor+;
 
+#pragma link C++ class  AliTRDDataDCS+;
+#pragma link C++ class  AliTRDSensor+;
+#pragma link C++ class  AliTRDSensorArray+;
+
 #pragma link C++ class  AliTRDTriggerL1+;
 #pragma link C++ class  AliTRDtrigger+;
 #pragma link C++ class  AliTRDtrigParam+;
index f087586..e85bf7f 100644 (file)
@@ -30,8 +30,10 @@ SRCS= AliTRDarrayI.cxx \
       AliTRDCalibraMode.cxx \
       AliTRDCalibraVector.cxx \
       AliTRDCalibPadStatus.cxx \
-      AliTRDDataDCS.cxx \
       AliTRDPreprocessor.cxx \
+      AliTRDDataDCS.cxx \
+      AliTRDSensor.cxx \
+      AliTRDSensorArray.cxx \
       AliTRDalignment.cxx \
       AliTRDTriggerL1.cxx \
       AliTRDmcmTracklet.cxx \