adapted macro to QAManager
[u/mrichter/AliRoot.git] / test / QA / Save2OCDB.C
CommitLineData
b16d72b1 1void Save2OCDB(Char_t * det, Int_t runNumber=0)
478d5b53 2{
3 // Save QA data generated by DataMaker into OCDB
bf76b847 4 const char * kYear = "09" ;
478d5b53 5 // where ?
51757634 6 //AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
b16d72b1 7 AliQAv1::SetQARefStorage(Form("local://$ALICE_ROOT/QAref/%s/QA", det)) ;
8 AliQAv1::SetQARefDataDirName(AliRecoParam::kLowMult) ; //Event Specie
9 AliQAManager *qam = AliQAManager::QAManager("rec") ;
10 qam->Save2OCDB(runNumber, AliRecoParam::kLowMult, kYear, det) ;
478d5b53 11}
12