corrected TRD/TOF MV position
[u/mrichter/AliRoot.git] / TOF / ReadCDBEntryTriggerMask.C
CommitLineData
f3dd29bf 1AliTOFTriggerMask *
2ReadCDBEntryTriggerMask(Int_t run, const Char_t *defaultStorage = "raw://", const Char_t *specificStorage = NULL)
3{
4 AliCDBManager *cdb = AliCDBManager::Instance();
5 cdb->SetDefaultStorage(defaultStorage);
6 if (specificStorage)
7 cdb->SetSpecificStorage("TRIGGER/TOF/TriggerMask", specificStorage);
8 cdb->SetRun(run);
9 AliCDBEntry *cdbe = cdb->Get("TRIGGER/TOF/TriggerMask");
10 AliTOFTriggerMask *triggerMaskObj = (AliTOFTriggerMask *)cdbe->GetObject();
11
12 return triggerMaskObj;
13}