Belle II Software development
CreatorBase.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#include <geometry/CreatorBase.h>
10
11namespace Belle2 {
16 namespace geometry {
17 void CreatorBase::createFromDB(const std::string&, G4LogicalVolume&, GeometryTypes)
18 {
19 //Do nothing but raise exception that we don't do anything
20 throw DBNotImplemented();
21 }
22
23 // empty default implementation
25 }
27} //Belle2 namespace
GearDir is the basic class used for accessing the parameter store.
Definition: GearDir.h:31
A class that describes the interval of experiments/runs for which an object in the database is valid.
virtual void createFromDB(const std::string &name, G4LogicalVolume &topVolume, GeometryTypes type)
Function to create the geometry from the Database.
Definition: CreatorBase.cc:17
virtual void createPayloads(const GearDir &content, const IntervalOfValidity &iov)
Function to create the geometry database.
Definition: CreatorBase.cc:24
GeometryTypes
Flag indiciating the type of geometry to be used.
Abstract base class for different kinds of events.