Belle II Software development
G4TriangularPrism.h
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/* Geant4 headers. */
12#include <G4Box.hh>
13#include <G4IntersectionSolid.hh>
14#include <G4Tubs.hh>
15
16namespace Belle2 {
26
27 public:
28
40 G4TriangularPrism(const G4String& name, double r1, double phi1,
41 double r2, double phi2, G4double halfZlen);
42
47
52
60
69 G4VSolid* getSolid()
70 {
71 return m_is;
72 }
73
74 private:
75
79 G4Box* m_box;
80
84 G4Tubs* m_tube;
85
89 G4IntersectionSolid* m_is;
90
91 };
92
94}
G4IntersectionSolid * m_is
Intersection.
G4TriangularPrism(const G4TriangularPrism &)=delete
Copy constructor (disabled).
G4VSolid * getSolid()
Get solid.
G4TriangularPrism & operator=(const G4TriangularPrism &)=delete
Operator = (disabled).
Abstract base class for different kinds of events.