Updating test macro according to changes in aliases.
authorzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Jun 2008 16:40:08 +0000 (16:40 +0000)
committerzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Jun 2008 16:40:08 +0000 (16:40 +0000)
GRP/TestGRPPreprocessor.C

index 670a103..b57d737 100644 (file)
@@ -138,7 +138,7 @@ void TestGRPPreprocessor()
   chkEntry->GetObject()->Print();
   printf("\n\n");
 
-  AliDCSSensor* sen = (AliDCSSensor*)(((TMap*)chkEntry->GetObject())->GetValue("fMeyrinPressure"));
+  AliDCSSensor* sen = (AliDCSSensor*)(((TMap*)chkEntry->GetObject())->GetValue("fP2Pressure"));
   if(sen)
     sen->GetFit()->MakeGraph(1.5, 9.5, 15)->Draw();
 
@@ -161,7 +161,7 @@ TMap* CreateDCSAliasMap()
   //     <valueList> is a TObjArray of AliDCSValue
   //     An AliDCSValue consists of timestamp and a value in form of a AliSimpleValue
   
-  const Int_t fgknDCSDP = 11;
+  const Int_t fgknDCSDP = 10;
   const char* fgkDCSDataPoints[AliGRPPreprocessor::fgknDCSDP] = {
                    "LHCState",
                    "L3Polarity",
@@ -172,8 +172,7 @@ TMap* CreateDCSAliasMap()
                    "DipoleCurrent",
                    "CavernTemperature",
                    "CavernAtmosPressure",
-                   "gva_cr5AtmosphericPressure",
-                   "gva_meyrinAtmosphericPressure"
+                   "SurfaceAtmosPressure"
                  };
 
   TMap* aliasMap;
@@ -206,7 +205,8 @@ TMap* CreateDCSAliasMap()
   
   TRandom random;
 
-  for( int nAlias=3; nAlias<fgknDCSDP-2; nAlias++)  {
+  //  for( int nAlias=3; nAlias<fgknDCSDP-1; nAlias++)  {
+  for( int nAlias=3; nAlias<fgknDCSDP; nAlias++)  {
     valueSet = new TObjArray;
     valueSet->SetOwner(1);