corrected TRD/TOF MV position
[u/mrichter/AliRoot.git] / TOF / CreateConfigMapNoise.C
CommitLineData
013ac2dd 1void CreateConfigMapNoise(const char* noiseThr="1"){
2
3 // Create Configuration Map entry for OCDB
4 // to configure AliTOFPreprocessor to run over Noise runs
5 // USAGE:
6 // - "NoiseThr" is the threshold to declare a channel as noisy
7
8 TMap *mapTOF = new TMap();
9 mapTOF->Add(new TObjString("NoiseThr"),new TObjString(noiseThr));
10 AliCDBManager *man = AliCDBManager::Instance();
11 man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
12 AliCDBId id("TOF/Calib/ConfigNoise",0,AliCDBRunRange::Infinity());
13 AliCDBMetaData* md = new AliCDBMetaData();
14 md->SetResponsible("Chiara Zampolli");
15 md->SetComment("Configuration parameter for nose runs");
16 man->Put(mapTOF,id,md);
17}