]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/TestPreprocessorSDD.C
- AliITSInitGeometry.cxx (updated): fgkOldSSDcone changed from kTRUE to
[u/mrichter/AliRoot.git] / ITS / TestPreprocessorSDD.C
index fb40eeafaa87baeee05a0638afa3ca5e9c27034e..21ed69bd49c886013b8ef9f0f3b00912566fa824 100644 (file)
@@ -64,18 +64,26 @@ void TestPreprocessorSDD(Char_t *optRunType="PULSER"){
     doCheck=kTRUE;
   }
   if(doCheck){
-    AliCDBEntry* chkEntry = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB())
-                       ->Get(theDir, 7);
+    AliCDBEntry* chkEntry = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB())->Get(theDir, 7);
     if (!chkEntry){
-      printf("The file is not there. Something went wrong.\n");
-      return;
+      printf("The Calib file is not there. Something went wrong.\n");
+    }else{
+      chkEntry->PrintMetaData();
+      TObjArray* arr=(TObjArray*)chkEntry->GetObject();
+      arr->Inspect();
     }
   }
 
-  AliTestDataDCS* output = dynamic_cast<AliTestDataDCS*> (chkEntry->GetObject());
-  // If everything went fine, draw the result
-  if (output)
-    output->Inspect();
+  sprintf(theDir,"ITS/DCS/DataSDD");
+  AliCDBEntry* chkEntryDCS = AliCDBManager::Instance()->GetStorage(AliShuttleInterface::GetMainCDB())
+                       ->Get(theDir, 7);
+  if (!chkEntryDCS){
+    printf("The DCS data points file is not there. Something went wrong.\n");
+  }else{
+    chkEntryDCS->PrintMetaData();
+    TObjArray* arrdcs=(TObjArray*)chkEntryDCS->GetObject();
+    arrdcs->Inspect();
+  }
 }