 |
Belle II Software
release-05-01-25
|
28 class VXDGeoRadiationSensorsPositionPar:
public TObject {
38 void setZ(
double z) {
m_z = z; }
73 double width = 0,
double length = 0,
bool height = 0,
const std::string& material =
""):
double getLength() const
get the length
std::vector< VXDGeoRadiationSensorsPositionPar > m_positions
Position of radiation sensors.
void setRadius(double radius)
set the common radial position of the sensor centers
void setLength(double length)
set the length
ClassDef(VXDGeoRadiationSensorsPar, 5)
ClassDef, must be the last term before the closing {}.
void setSubDetector(const std::string &subdetector)
set the name of the subdetector
void addPosition(const VXDGeoRadiationSensorsPositionPar &position)
add radiation sensor position
const std::string & getSubDetector() const
get the name of the subdetector
double m_radius
Common radial position of the sensor centers in mm.
std::string m_material
Material name.
bool m_insideEnvelope
For PXD they need to be outside the envelope volume, for SVD they are inside the detector.
double m_length
Dimension of the sensor in mm.
VXDGeoRadiationSensorsPositionPar(double z=0, double radius=0, double theta=0)
Constructor.
const std::vector< VXDGeoRadiationSensorsPositionPar > & getPositions() const
get the positions of radiation sensors
The Class for VXD Radiation Sensor parameters.
double m_height
Dimension of the sensor in um.
void setInsideEnvelope(bool insideEnvelope)
set whether radiation sensor are inside envelope volume
void setTheta(double theta)
set the common angle to the z axis, 0 is parallel to z in deg
double m_z
Common z position of the sensor centers in mm.
~VXDGeoRadiationSensorsPositionPar()
Destructor.
Abstract base class for different kinds of events.
double m_theta
Common angle to the z axis, 0 is parallel to z in deg.
double getTheta() const
get the common angle to the z axis, 0 is parallel to z in deg
std::map< int, double > m_sensors
Individual radiations sensors.
VXDGeoRadiationSensorsPar(const std::string &subdetector="", bool insideEnvelope=false, double width=0, double length=0, bool height=0, const std::string &material="")
Constructor.
void addSensor(int id, double phi)
add sensor with individual id
double m_width
Dimension of the sensor in mm.
bool getInsideEnvelope() const
return whether radiation sensor are inside envelope volume
void setWidth(double width)
set the width
void setZ(double z)
set the common z position of the sensor centers
double getRadius() const
get the common radial position of the sensor centers
double getHeight() const
get the height
void setHeight(double height)
set the height
void setMaterial(const std::string &material)
set the name of the material
std::string m_subdetector
one of "PXD" or "SVD"
const std::string & getMaterial() const
get the name of the material
~VXDGeoRadiationSensorsPar()
Destructor.
ClassDef(VXDGeoRadiationSensorsPositionPar, 5)
ClassDef, must be the last term before the closing {}.
const std::map< int, double > & getSensors() const
get the vector storing ids of individual sensors
double getWidth() const
get the width
double getZ() const
get the common z position of the sensor centers
The Class for VXD Radiation Sensor Position parameters.