]>
Commit | Line | Data |
---|---|---|
1 | void 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 | ||
9 | TObject *recoParamArray = new TObject(); | |
10 | ||
11 | AliCDBMetaData *md= new AliCDBMetaData(); | |
12 | md->SetResponsible("Domenico DiBari"); | |
13 | md->SetComment("Reconstruction parameters of HMPID, v1"); | |
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 | ||
19 | ||
20 | ||
21 | return; | |
22 | } |