Belle II Software development
VXDGeoRadiationSensorsPositionPar Class Reference

The Class for VXD Radiation Sensor Position parameters. More...

#include <VXDGeoRadiationSensorsPar.h>

Inheritance diagram for VXDGeoRadiationSensorsPositionPar:

Public Member Functions

 VXDGeoRadiationSensorsPositionPar (double z=0, double radius=0, double theta=0)
 Constructor.
 
 ~VXDGeoRadiationSensorsPositionPar ()
 Destructor.
 
double getZ () const
 get the common z position of the sensor centers

 
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

 
void setRadius (double radius)
 set the common radial position of the sensor centers

 
double getTheta () const
 get the common angle to the z axis, 0 is parallel to z in deg
 
void setTheta (double theta)
 set the common angle to the z axis, 0 is parallel to z in deg
 
const std::map< int, double > & getSensors () const
 get the vector storing ids of individual sensors
 
void addSensor (int id, double phi)
 add sensor with individual id
 

Private Member Functions

 ClassDef (VXDGeoRadiationSensorsPositionPar, 5)
 ClassDef, must be the last term before the closing {}.
 

Private Attributes

double m_z
 Common z position of the sensor centers in mm.
 
double m_radius
 Common radial position of the sensor centers in mm.
 
double m_theta
 Common angle to the z axis, 0 is parallel to z in deg.
 
std::map< int, double > m_sensors
 Individual radiations sensors.
 

Detailed Description

The Class for VXD Radiation Sensor Position parameters.

Definition at line 26 of file VXDGeoRadiationSensorsPar.h.

Constructor & Destructor Documentation

◆ VXDGeoRadiationSensorsPositionPar()

VXDGeoRadiationSensorsPositionPar ( double  z = 0,
double  radius = 0,
double  theta = 0 
)
inline

Constructor.

Definition at line 29 of file VXDGeoRadiationSensorsPar.h.

29 :
30 m_z(z), m_radius(radius), m_theta(theta) {}
double m_radius
Common radial position of the sensor centers in mm.
double m_theta
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.

Definition at line 32 of file VXDGeoRadiationSensorsPar.h.

32{}

Member Function Documentation

◆ addSensor()

void addSensor ( int  id,
double  phi 
)
inline

add sensor with individual id

Definition at line 48 of file VXDGeoRadiationSensorsPar.h.

48{ m_sensors[id] = phi; }
std::map< int, double > m_sensors
Individual radiations sensors.

◆ getRadius()

double getRadius ( ) const
inline

get the common radial position of the sensor centers

Definition at line 38 of file VXDGeoRadiationSensorsPar.h.

38{ return m_radius; }

◆ getSensors()

const std::map< int, double > & getSensors ( ) const
inline

get the vector storing ids of individual sensors

Definition at line 46 of file VXDGeoRadiationSensorsPar.h.

46{ return m_sensors; }

◆ getTheta()

double getTheta ( ) const
inline

get the common angle to the z axis, 0 is parallel to z in deg

Definition at line 42 of file VXDGeoRadiationSensorsPar.h.

42{ return m_theta; }

◆ getZ()

double getZ ( ) const
inline

get the common z position of the sensor centers

Definition at line 34 of file VXDGeoRadiationSensorsPar.h.

34{ return m_z; }

◆ setRadius()

void setRadius ( double  radius)
inline

set the common radial position of the sensor centers

Definition at line 40 of file VXDGeoRadiationSensorsPar.h.

40{ m_radius = radius; }

◆ setTheta()

void setTheta ( double  theta)
inline

set the common angle to the z axis, 0 is parallel to z in deg

Definition at line 44 of file VXDGeoRadiationSensorsPar.h.

44{ m_theta = theta; }

◆ setZ()

void setZ ( double  z)
inline

set the common z position of the sensor centers

Definition at line 36 of file VXDGeoRadiationSensorsPar.h.

36{ m_z = z; }

Member Data Documentation

◆ m_radius

double m_radius
private

Common radial position of the sensor centers in mm.

Definition at line 54 of file VXDGeoRadiationSensorsPar.h.

◆ m_sensors

std::map<int, double> m_sensors
private

Individual radiations sensors.

Definition at line 58 of file VXDGeoRadiationSensorsPar.h.

◆ m_theta

double m_theta
private

Common angle to the z axis, 0 is parallel to z in deg.

Definition at line 56 of file VXDGeoRadiationSensorsPar.h.

◆ m_z

double m_z
private

Common z position of the sensor centers in mm.

Definition at line 52 of file VXDGeoRadiationSensorsPar.h.


The documentation for this class was generated from the following file: