Belle II Software development
GeoKLMCreator.h
Go to the documentation of this file.
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#pragma once
10
11/* KLM headers. */
12#include <klm/bklm/geometry/GeoBKLMCreator.h>
13#include <klm/eklm/geometry/GeoEKLMCreator.h>
14
20namespace Belle2 {
26 namespace KLM {
27
32
33 public:
34
39
44
51 void create(const GearDir& content, G4LogicalVolume& topVolume,
52 geometry::GeometryTypes type) override;
53
60 void createFromDB(const std::string& name, G4LogicalVolume& topVolume,
61 geometry::GeometryTypes type) override;
62
68 void createPayloads(const GearDir& content,
69 const IntervalOfValidity& iov) override;
70
71 private:
72
75
78
79 };
80
81 }
82
84}
Class GeoEKLMCreator.
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.
The creator for the KLM geometry of the Belle II detector.
Definition: GeoKLMCreator.h:31
void createFromDB(const std::string &name, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Creation of the detector geometry from database.
void createPayloads(const GearDir &content, const IntervalOfValidity &iov) override
Creation of payloads.
bklm::GeoBKLMCreator m_GeoBKLMCreator
BKLM geometry creator.
Definition: GeoKLMCreator.h:74
EKLM::GeoEKLMCreator m_GeoEKLMCreator
EKLM geometry creator.
Definition: GeoKLMCreator.h:77
void create(const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Creation of the detector geometry from Gearbox (XML).
This class creates the BKLM geometry of the Belle II detector.
Pure virtual base class for all geometry creators.
Definition: CreatorBase.h:28
GeometryTypes
Flag indiciating the type of geometry to be used.
Abstract base class for different kinds of events.