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