Belle II Software
release-05-01-25
CreatorBase.cc
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2015 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Martin Ritter *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#include <geometry/CreatorBase.h>
12
13
namespace
Belle2
{
18
namespace
geometry {
19
void
CreatorBase::createFromDB
(
const
std::string&, G4LogicalVolume&,
GeometryTypes
)
20
{
21
//Do nothing but raise exception that we don't do anything
22
throw
DBNotImplemented();
23
}
24
25
// empty default implementation
26
void
CreatorBase::createPayloads
(
const
GearDir&,
const
IntervalOfValidity&) {}
27
}
29
}
//Belle2 namespace
Belle2::geometry::CreatorBase::createFromDB
virtual void createFromDB(const std::string &name, G4LogicalVolume &topVolume, GeometryTypes type)
Function to create the geometry from the Database.
Definition:
CreatorBase.cc:27
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::geometry::CreatorBase::createPayloads
virtual void createPayloads(const GearDir &content, const IntervalOfValidity &iov)
Function to create the geometry database.
Definition:
CreatorBase.cc:34
Belle2::geometry::GeometryTypes
GeometryTypes
Flag indiciating the type of geometry to be used.
Definition:
GeometryManager.h:39
geometry
src
CreatorBase.cc
Generated on Fri Nov 5 2021 03:54:31 for Belle II Software by
1.8.17