CbmRoot
Loading...
Searching...
No Matches
CbmGeoSetupRepoProvider.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 CBMSETUPREPOPROVIDER_H
11#define CBMSETUPREPOPROVIDER_H 1
12
13#include "CbmGeoSetupProvider.h"
14
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 /* CBMSETUPREPOPROVIDER_H */
ECbmModuleId
Definition CbmDefs.h:39
Abstract interface class for providing the CBM detector setup description, module list,...
Setup provider with local (svn) repository functionality.
virtual CbmGeoSetupModule GetModuleByTag(ECbmModuleId moduleId, std::string tag)
Abstract method for constructing the module by id and tag.
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 CbmGeoSetup GetSetupByTag(std::string setupTag, std::string revision)
ClassDef(CbmGeoSetupRepoProvider, 1)
virtual std::vector< std::string > GetFieldTags()
Abstract method to get the list of field tags.
virtual CbmGeoSetupMedia GetMediaByTag(std::string tag)
Abstract method for constructing the media by tag.
virtual std::vector< std::string > GetMediaTags()
Abstract method to get the list of media tags.
virtual void LoadSetup(std::string setupTag, std::string revision="")
Data transfer object to represent the CBM Detector setup.
Definition CbmGeoSetup.h:34