CbmRoot
Loading...
Searching...
No Matches
CbmGeoSetupDbProvider.h
Go to the documentation of this file.
1/* Copyright (C) 2019-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Evgeny Lavrik, Florian Uhlig [committer] */
4
10#ifndef CBMSETUPDBPROVIDER_H
11#define CBMSETUPDBPROVIDER_H 1
12
13#include "CbmDefs.h"
14#include "CbmGeoSetupProvider.h"
15
26public:
27 virtual std::vector<std::string> GetSetupTags();
28 virtual std::vector<std::string> GetFieldTags();
29 virtual std::vector<std::string> GetMediaTags();
30
31 virtual CbmGeoSetup GetSetupByTag(std::string setupTag, std::string revision);
32 virtual CbmGeoSetupModule GetModuleByTag(ECbmModuleId moduleId, std::string tag);
33 virtual CbmGeoSetupField GetFieldByTag(std::string tag);
34 virtual CbmGeoSetupMedia GetMediaByTag(std::string tag);
35
36 virtual void LoadSetup(std::string setupTag, std::string revision = "");
37
38private:
40};
41
42#endif /* CBMSETUPDBPROVIDER_H */
ECbmModuleId
Definition CbmDefs.h:39
Setup provider with database functionality.
virtual CbmGeoSetup GetSetupByTag(std::string setupTag, std::string revision)
Abstract method for constructing the setup by id and tag.
virtual CbmGeoSetupModule GetModuleByTag(ECbmModuleId moduleId, std::string tag)
Abstract method for constructing the module by id and tag.
virtual void LoadSetup(std::string setupTag, std::string revision="")
Abstract method to load the setup with a tag and revision version.
virtual CbmGeoSetupMedia GetMediaByTag(std::string tag)
Abstract method for constructing the media by tag.
ClassDef(CbmGeoSetupDbProvider, 1)
virtual CbmGeoSetupField GetFieldByTag(std::string tag)
Abstract method for constructing the field by tag.
virtual std::vector< std::string > GetSetupTags()
Abstract method to get the list of setup tags.
virtual std::vector< std::string > GetMediaTags()
Abstract method to get the list of media tags.
virtual std::vector< std::string > GetFieldTags()
Abstract method to get the list of field tags.
Abstract interface class for providing the CBM detector setup description, module list,...
Data transfer object to represent the CBM Detector setup.
Definition CbmGeoSetup.h:34