Extacting the OCDB in a separate module. The detectors have write permission in the...
[u/mrichter/AliRoot.git] / test / QA / Save2OCDB.C
CommitLineData
478d5b53 1void Save2OCDB(Int_t runNumber=0)
2{
3 // Save QA data generated by DataMaker into OCDB
4 const char * kYear = "08" ;
5 // where ?
51757634 6 //AliQA::SetQARefStorage(Form("%s%s/", AliQA::GetQARefDefaultStorage(), kYear)) ;
162637e4 7 AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;
51757634 8 AliQA::SetQARefDataDirName(AliQA::kMONTECARLO) ; //RUN_TYPE
478d5b53 9 AliQADataMakerSteer qas ;
10 qas.Save2OCDB(runNumber) ;
11}
12