added the year as a parameter of the ref directory
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Mar 2008 18:13:42 +0000 (18:13 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 Mar 2008 18:13:42 +0000 (18:13 +0000)
test/cosmic/rawqa.C

index f0ea333a4edc040cc8015d37e141d05b77e405bf..63b630b7d3af4e781e2ec329949b1d100656f2ef 100644 (file)
@@ -71,7 +71,7 @@ void rawqa(const Int_t runNumber, Int_t maxFiles = 10, const char* year = "08")
 
        AliCDBManager* man = AliCDBManager::Instance();
        man->SetDefaultStorage(kDefaultOCDBStorage) ;  
-       AliQA::SetQARefStorage("alien://folder=/alice/QA/2008/") ; 
+       AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), year)) ;  
        man->SetSpecificStorage("*", AliQA::GetQARefStorage());
        AliQADataMakerSteer qas ; 
        TString detectors  = "";