X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliCDBStorage.h;h=d8c3fcf558c93ab90032075affff043d01013c30;hb=7bf5b178fad91d23c3e52728cd6dca9dbedfd626;hp=7a7f3fb216acd7b06ad79441eb8a9a06049d70d7;hpb=145f45a231d1d33a2e646d8fd531d7fcf040bb23;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliCDBStorage.h b/STEER/AliCDBStorage.h index 7a7f3fb216a..d8c3fcf558c 100644 --- a/STEER/AliCDBStorage.h +++ b/STEER/AliCDBStorage.h @@ -67,7 +67,7 @@ public: void PrintSelectionList(); AliCDBEntry* Get(const AliCDBId& query); - AliCDBEntry* Get(const AliCDBPath& path, Int_t runNumber, + AliCDBEntry* Get(const AliCDBPath& path, Int_t runNumber, Int_t version = -1, Int_t subVersion = -1); AliCDBEntry* Get(const AliCDBPath& path, const AliCDBRunRange& runRange, Int_t version = -1, Int_t subVersion = -1); @@ -78,6 +78,12 @@ public: TList* GetAll(const AliCDBPath& path, const AliCDBRunRange& runRange, Int_t version = -1, Int_t subVersion = -1); + AliCDBId* GetId(const AliCDBId& query); + AliCDBId* GetId(const AliCDBPath& path, Int_t runNumber, + Int_t version = -1, Int_t subVersion = -1); + AliCDBId* GetId(const AliCDBPath& path, const AliCDBRunRange& runRange, + Int_t version = -1, Int_t subVersion = -1); + Bool_t Put(TObject* object, AliCDBId& id, AliCDBMetaData* metaData, AliCDBManager::DataType type=AliCDBManager::kPrivate); Bool_t Put(AliCDBEntry* entry, AliCDBManager::DataType type=AliCDBManager::kPrivate); @@ -100,12 +106,13 @@ protected: virtual ~AliCDBStorage(); void GetSelection(/*const*/ AliCDBId* id); virtual AliCDBEntry* GetEntry(const AliCDBId& query) = 0; + virtual AliCDBId* GetEntryId(const AliCDBId& query) = 0; virtual TList* GetEntries(const AliCDBId& query) = 0; virtual Bool_t PutEntry(AliCDBEntry* entry) = 0; virtual TList *GetIdListFromFile(const char* fileName)=0; virtual void QueryValidFiles() = 0; void LoadTreeFromFile(AliCDBEntry* entry) const; - void SetTreeToFile(AliCDBEntry* entry, TFile* file) const; + //void SetTreeToFile(AliCDBEntry* entry, TFile* file) const; TObjArray fValidFileIds; // list of Id's of the files valid for a given run (cached as fRun) Int_t fRun; // run number, used to manage list of valid files