 |
Belle II Software
release-05-02-19
|
13 #include <top/dbobjects/TOPGeoBarSegment.h>
28 class TOPGeoPrism:
public TOPGeoBarSegment {
34 struct PeelOffRegion {
56 TOPGeoPrism(
double width,
double thickness,
double length,
57 double exitThickness,
double flatLength,
58 const std::string& material,
59 const std::string& name =
"TOPPrism"):
81 const std::string& material)
183 std::vector<std::pair<double, double> >
getPeelOffContour(
const PeelOffRegion& region)
const;
195 void print(
const std::string& title =
"Prism geometry parameters")
const override;
203 void setGlue(
double,
const std::string&)
override {}
Geometry parameters of prism.
float m_thickness
bar segment thickness
void setGlueDelamination(double, double, const std::string &) override
Disable setting the glue delamination, since there is no glue.
float m_peelOffOffset
offset in x of the peel-off volume ID = 1
std::string m_glueMaterial
glue material name
Geometry parameters of a quartz bar segment.
double getExitThickness() const
Returns prism thickness at PMT side.
unsigned ID
ID of the region (1-based)
const std::string & getPeelOffMaterial() const
Returns peel-off material.
float m_glueThickness
glue thickness
float m_flatLength
length of the flat part at the bottom
ClassDefOverride(TOPGeoPrism, 2)
ClassDef.
std::string m_peelOffMaterial
material name of peel-off volume
float m_length
bar segment length
double getFlatLength() const
Returns the length of a flat surface at prism bottom.
void setGlue(double, const std::string &) override
Disable setting the glue, since there is none.
void appendPeelOffRegion(unsigned ID, double fraction, double angle)
Appends peel-off cookie region.
float m_exitThickness
thickness at PMT side
std::vector< std::pair< double, double > > getPeelOffContour(const PeelOffRegion ®ion) const
Returns the x-y contour of the peel-off region.
const std::vector< PeelOffRegion > & getPeelOffRegions() const
Returns peel-off cookie regions.
double getAngle() const
Returns prism angle.
double getFilterThickness() const
Returns wavelength filter thickness (filter on -z side).
float m_peelOffThickness
thickness of peel-off volume
void setPeelOffRegions(double size, double offset, double thickness, const std::string &material)
Sets parameters of the peel-off cookie volumes.
const std::string & getFilterMaterial() const
Returns wavelength filter material name (filter on -z side) For backward compatibility,...
TOPGeoPrism()
Default constructor.
Abstract base class for different kinds of events.
void setAngle(double angle)
Recalculates flatLength according to given prism angle.
double getPeelOffThickness() const
Returns peel-off thickness.
float m_peelOffSize
size in x of peel-off volume
static double s_unit
conversion unit for length
bool isConsistent() const override
Check for consistency of data members.
float fraction
fraction of peel-off area
double getPeelOffCenter(const PeelOffRegion ®ion) const
Returns peel-off offset in x of the given region.
double getFullFlatLength() const
Returns the length of a flat surface at prism bottom including filter.
std::vector< PeelOffRegion > m_peelOffRegions
peel-off regions
double getPeelOffSize() const
Returns cookie size in x (corresponding to 2x2 PMT)
void print(const std::string &title="Prism geometry parameters") const override
Print the content of the class.
double getGlueThickness() const override
Returns glue thickness (no glue on -z side)
float angle
angle of peel-off area