 |
Belle II Software
release-05-01-25
|
16 #include <vxd/dbobjects/VXDSensorInfoBasePar.h>
17 #include <vxd/dbobjects/VXDGeoComponentPar.h>
18 #include <vxd/dbobjects/VXDGeoPlacementPar.h>
31 class VXDGeoSensorPar:
public VXDGeoComponentPar {
34 VXDGeoSensorPar(
const std::string& material =
"",
const std::string& color =
"",
35 double width = 0,
double width2 = 0,
double length = 0,
double height = 0,
double angle = 0,
bool slanted =
false):
void setSlanted(bool slanted)
set wether or not the sensor is slanted (usually only the first sensor in layers 4-6)
bool getSlanted() const
return wether or not the sensor is slanted (usually only the first sensor in layers 4-6)
The Class for VXD Sensor payload.
VXDGeoSensorPar(const std::string &material="", const std::string &color="", double width=0, double width2=0, double length=0, double height=0, double angle=0, bool slanted=false)
Constructor.
The Class for VXD placement payload.
VXDGeoPlacementPar m_activePlacement
Position of the active area.
Namespace to provide code needed by both Vertex Detectors, PXD and SVD.
const VXDGeoComponentPar & getActiveArea() const
get the component description for the active area
VXDSensorInfoBasePar * m_info
Sensor Information instance.
void setSensorInfo(VXDSensorInfoBasePar *info)
set the pointer to the SensorInfo class
VXDGeoComponentPar(const std::string &material="", const std::string &color="", double width=0, double width2=0, double length=0, double height=0, double angle=0)
Constructor.
Abstract base class for different kinds of events.
const VXDGeoPlacementPar & getActivePlacement() const
get the placement description for the active area
bool m_slanted
Indication wether this is a slanted sensor.
const VXDSensorInfoBasePar * getSensorInfo() const
get the pointer to the SensorInfo class
const std::vector< VXDGeoPlacementPar > & getComponents() const
get the list of sub components
~VXDGeoSensorPar()
Destructor.
VXDGeoComponentPar m_activeArea
Paramerers of the active area.
std::vector< VXDGeoPlacementPar > m_components
list of all components to be placed
The Class for VXD geometry component.
void setActive(const VXDGeoComponentPar &area, const VXDGeoPlacementPar &placement)
set the active area
void setComponents(const std::vector< VXDGeoPlacementPar > &component)
set the list of sub components to be placed
ClassDef(VXDGeoSensorPar, 5)
ClassDef, must be the last term before the closing {}.