 |
Belle II Software
release-05-02-19
|
14 #include <top/dbobjects/TOPGeometry.h>
15 #include <top/geometry/TOPGeometryPar.h>
16 #include <geometry/CreatorBase.h>
17 #include <framework/gearbox/GearDir.h>
18 #include <framework/database/IntervalOfValidity.h>
20 class G4LogicalVolume;
21 class G4AssemblyVolume;
31 class BkgSensitiveDetector;
38 typedef std::vector<std::pair<double, double> > Polygon;
63 virtual void create(
const GearDir& content, G4LogicalVolume& topVolume,
72 virtual void createFromDB(
const std::string& name, G4LogicalVolume& topVolume,
100 G4LogicalVolume& topVolume,
214 G4LogicalVolume*
createBox(
const std::string& name,
215 double A,
double B,
double C,
216 const std::string& materialName);
232 double Rmin,
double Rmax,
233 double xc,
double yc,
double zc,
234 const std::string& materialName);
245 const Polygon& shape,
247 const std::string& materialName);
255 std::string
addNumber(
const std::string& str,
unsigned number);
std::string addNumber(const std::string &str, unsigned number)
Adds number to string.
G4LogicalVolume * createBoxSphereIntersection(const std::string &name, G4Box *box, double Rmin, double Rmax, double xc, double yc, double zc, const std::string &materialName)
Creates material volume that is intersection of box and half-sphere shell (z > 0)
A class that describes the interval of experiments/runs for which an object in the database is valid.
SensitiveBar * m_sensitiveBar
Sensitive vol.
Geometry parameters of MCP-PMT.
int m_isBeamBkgStudy
flag for beam backgound simulation
Geometry parameters of prism.
Geometry parameters of TOP.
Class providing information on MCParticles hitting the bars.
Geometry parameters of a quartz bar segment.
G4LogicalVolume * createBarSegment(const TOPGeoBarSegment &geo, int moduleID)
Creates quartz bar segment.
G4AssemblyVolume * m_qbb
QBB assembly volume.
void createGeometry(const TOPGeometry ¶meters, G4LogicalVolume &topVolume, geometry::GeometryTypes type)
Create the geometry from a parameter object.
Geometry parameters of Quartz Bar Box (mother class)
G4LogicalVolume * createModuleEnvelope(const TOPGeoQBB &geo, int moduleID)
Creates module envelope.
virtual ~GeoTOPCreator()
Destructor.
G4AssemblyVolume * assembleOptics(const TOPGeoModule &geo)
Assembles optical components (PMT array, prism and bar segments) along z.
The Class for BeamBackground Sensitive Detector.
Geometry parameters of board stack (front-end electronic module)
int m_numDecoupledPMTs
number of optically decoupled PMT's
int m_numBrokenGlues
number of broken glues
G4AssemblyVolume * assembleFrontEnd(const TOPGeoFrontEnd &geo, int N)
Assembles front-end electronics.
G4AssemblyVolume * m_frontEnd
front-end electronics assembly volume
G4LogicalVolume * createPMT(const TOPGeoPMT &geo)
Creates single PMT.
G4LogicalVolume * createPMTArray(const TOPGeoPMTArray &geo, int moduleID)
Creates PMT array.
G4LogicalVolume * createHoneycombPanel(const TOPGeoQBB &geo, EPanelType type)
Creates honeycomb panel.
G4LogicalVolume * createSideRail(const TOPGeoQBB &geo, ESideRailType type)
Creates side rail.
BkgSensitiveDetector * m_sensitivePCB2
PCB sensitive for BG studies.
static TOPGeometryPar * Instance()
Static method to obtain the pointer to its instance.
G4LogicalVolume * createBox(const std::string &name, double A, double B, double C, const std::string &materialName)
Creates material box.
Geometry parameters of a module (optical components + positioning)
Abstract base class for different kinds of events.
Geometry parameters of MCP-PMT array.
GearDir is the basic class used for accessing the parameter store.
int m_numPeelOffRegions
number of peel-off regions
Geometry creator for TOP counter.
ESideRailType
Side rail types.
SensitivePMT * m_sensitivePMT
Sensitive vol.
Geometry parameters of a mirror segment.
GeoTOPCreator()
Constructor.
G4UnionSolid * m_moduleEnvelope
module envelope solid
Pure virtual base class for all geometry creators.
G4LogicalVolume * createBoardStack(const TOPGeoFrontEnd &geo, int N)
Creates board stack.
virtual void create(const GearDir &content, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Creation of the detector geometry from Gearbox (XML).
G4AssemblyVolume * assembleQBB(const TOPGeoQBB &geo)
Assembles QBB.
BkgSensitiveDetector * m_sensitivePCB1
PCB sensitive for BG studies.
G4LogicalVolume * createMirrorSegment(const TOPGeoMirrorSegment &geo, int moduleID)
Creates quartz segment with spherical mirror.
G4LogicalVolume * createModule(const TOPGeometry &geo, int moduleID)
Creates single module.
virtual void createPayloads(const GearDir &content, const IntervalOfValidity &iov) override
Creation of payloads.
Singleton class for TOP Geometry Parameters.
TOPGeometryPar * m_topgp
singleton class
G4LogicalVolume * createPrism(const TOPGeoPrism &geo, int moduleID)
Creates quartz prism.
GeometryTypes
Flag indiciating the type of geometry to be used.
G4LogicalVolume * createExtrudedSolid(const std::string &name, const Polygon &shape, double length, const std::string &materialName)
Creates material extruded solid.
virtual void createFromDB(const std::string &name, G4LogicalVolume &topVolume, geometry::GeometryTypes type) override
Creation of the detector geometry from database.
EPanelType
Honeycomb panel types.