// try to init before the analysis set
AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
if (!mgr) AliFatal("No analysis manager");
- if ( fRun>0 && mgr->IsProofMode() ) {
- // in the proof mode the initialization done in the constructor is not available
+ if ( fRun>0 && !fGRPManager) {
+ // in the proof or plugin mode the initialization done in the constructor is not available
InitGRP();
}
else {
InitGRP();
}
}
+
+//______________________________________________________________________________
+void AliTaskCDBconnect::SetSpecificStorage(const char* calibType, const char* dbString)
+{
+ AliCDBManager *cdb = AliCDBManager::Instance();
+ cdb->SetSpecificStorage(calibType,dbString);
+ }