11#include <geometry/GeometryManager.h>
12#include <framework/core/FrameworkExceptions.h>
23 class IntervalOfValidity;
GearDir is the basic class used for accessing the parameter store.
A class that describes the interval of experiments/runs for which an object in the database is valid.
Pure virtual base class for all geometry creators.
virtual ~CreatorBase()
Default Destructor.
virtual void createFromDB(const std::string &name, G4LogicalVolume &topVolume, GeometryTypes type)
Function to create the geometry from the Database.
virtual void create(const GearDir &content, G4LogicalVolume &topVolume, GeometryTypes type)=0
Function to actually create the geometry, has to be overridden by derived classes.
BELLE2_DEFINE_EXCEPTION(DBNotImplemented, "Cannot create geometry from Database.")
Exception that will be thrown in createFromDB if member is not yet implemented by creator.
virtual void createPayloads(const GearDir &content, const IntervalOfValidity &iov)
Function to create the geometry database.
CreatorBase()
Default Constructor.
GeometryTypes
Flag indiciating the type of geometry to be used.
Abstract base class for different kinds of events.