Belle II Software  release-05-01-25
GeoKLMCreator.h
Go to the documentation of this file.
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Galina Pakhlova, Timofey Uglov, Kirill Chilikin *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 /* KLM headers. */
14 #include <klm/bklm/geometry/GeoBKLMCreator.h>
15 #include <klm/eklm/geometry/GeoEKLMCreator.h>
16 
22 namespace Belle2 {
28  namespace KLM {
29 
34 
35  public:
36 
40  GeoKLMCreator();
41 
46 
53  void create(const GearDir& content, G4LogicalVolume& topVolume,
54  geometry::GeometryTypes type) override;
55 
62  void createFromDB(const std::string& name, G4LogicalVolume& topVolume,
63  geometry::GeometryTypes type) override;
64 
70  void createPayloads(const GearDir& content,
71  const IntervalOfValidity& iov) override;
72 
73  private:
74 
77 
80 
81  };
82 
83  }
84 
86 }
Belle2::IntervalOfValidity
A class that describes the interval of experiments/runs for which an object in the database is valid.
Definition: IntervalOfValidity.h:35
Belle2::KLM::GeoKLMCreator
The creator for the KLM geometry of the Belle II detector.
Definition: GeoKLMCreator.h:33
Belle2::KLM::GeoKLMCreator::~GeoKLMCreator
~GeoKLMCreator()
Destructor.
Definition: GeoKLMCreator.cc:26
Belle2::KLM::GeoKLMCreator::m_GeoEKLMCreator
EKLM::GeoEKLMCreator m_GeoEKLMCreator
EKLM geometry creator.
Definition: GeoKLMCreator.h:79
Belle2::EKLM::GeoEKLMCreator
Class GeoEKLMCreator.
Definition: GeoEKLMCreator.h:215
Belle2::KLM::GeoKLMCreator::m_GeoBKLMCreator
bklm::GeoBKLMCreator m_GeoBKLMCreator
BKLM geometry creator.
Definition: GeoKLMCreator.h:76
Belle2::KLM::GeoKLMCreator::createFromDB
void createFromDB(const std::string &name, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Creation of the detector geometry from database.
Definition: GeoKLMCreator.cc:38
Belle2::bklm::GeoBKLMCreator
This class creates the BKLM geometry of the Belle II detector.
Definition: GeoBKLMCreator.h:45
Belle2::KLM::GeoKLMCreator::GeoKLMCreator
GeoKLMCreator()
Constructor.
Definition: GeoKLMCreator.cc:22
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::KLM::GeoKLMCreator::createPayloads
void createPayloads(const GearDir &content, const IntervalOfValidity &iov) override
Creation of payloads.
Definition: GeoKLMCreator.cc:46
Belle2::GearDir
GearDir is the basic class used for accessing the parameter store.
Definition: GearDir.h:41
Belle2::KLM::GeoKLMCreator::create
void create(const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Creation of the detector geometry from Gearbox (XML).
Definition: GeoKLMCreator.cc:30
Belle2::geometry::CreatorBase
Pure virtual base class for all geometry creators.
Definition: CreatorBase.h:31
Belle2::geometry::GeometryTypes
GeometryTypes
Flag indiciating the type of geometry to be used.
Definition: GeometryManager.h:39