// - 4 tar files with simulated output of INJECTOR DA
// - 1 root file with simulated output of DCS
// all these files can be found on
- gSystem->Load("libTestShuttle.so");
+ gSystem->Load("$ALICE_ROOT/SHUTTLE/TestShuttle/libTestShuttle.so");
// The parameters are run, startTime, endTime
AliTestShuttle* shuttle = new AliTestShuttle(7, 0, 1);
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();
+ }
}