Move HMPID QA code to PWG1.
[u/mrichter/AliRoot.git] / HMPID / MakeHMPIDRecoParam.C
CommitLineData
7afb97c7 1void MakeHMPIDRecoParam(AliRecoParam::EventSpecie_t default=AliRecoParam::kLowMult)
2{
3 //
4 // Create HMPID Reco Parameters in OCDB
5 //
6 AliCDBManager* man = AliCDBManager::Instance();
7 if(!man->IsDefaultStorageSet()) man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
8
c458aab6 9 TObject *recoParamArray = new TObject();
7afb97c7 10
11 AliCDBMetaData *md= new AliCDBMetaData();
12 md->SetResponsible("Domenico DiBari");
c458aab6 13 md->SetComment("Reconstruction parameters of HMPID, v1");
7afb97c7 14 md->SetAliRootVersion(gSystem->Getenv("ARVERSION"));
15 md->SetBeamPeriod(0);
16 AliCDBId id("HMPID/Calib/RecoParam",0,AliCDBRunRange::Infinity());
17 man->GetDefaultStorage()->Put(recoParamArray,id, md);
18
c458aab6 19
20
7afb97c7 21 return;
22}