Belle II Software development
SpacePointTest Class Reference

Set up a few arrays and objects in the datastore. More...

Inheritance diagram for SpacePointTest:

Public Member Functions

VXD::SensorInfoBase createSensorInfo (VxdID aVxdID, float width=1., float length=1., float width2=-1., VXD::SensorInfoBase::SensorType sensorType=VXD::SensorInfoBase::PXD)
 this is a small helper function to create a sensorInfo to be used
 

Detailed Description

Set up a few arrays and objects in the datastore.

Definition at line 32 of file spacePoint.cc.

Member Function Documentation

◆ createSensorInfo()

VXD::SensorInfoBase createSensorInfo ( VxdID  aVxdID,
float  width = 1.,
float  length = 1.,
float  width2 = -1.,
VXD::SensorInfoBase::SensorType  sensorType = VXD::SensorInfoBase::PXD 
)
inline

this is a small helper function to create a sensorInfo to be used

Definition at line 36 of file spacePoint.cc.

38 {
39 // (SensorType type, VxdID id, float width, float length, float thickness, int uCells, int vCells, float width2=-1, double splitLength=-1, int vCells2=0)
40 VXD::SensorInfoBase sensorInfoBase(sensorType, aVxdID, width, length, 0.3, 2, 4, width2);
41
42 TGeoRotation r1;
43 r1.SetAngles(45, 20, 30); // rotation defined by Euler angles
44 TGeoTranslation t1(-10, 10, 1);
45 TGeoCombiTrans c1(t1, r1);
46 TGeoHMatrix transform = c1;
47 sensorInfoBase.setTransformation(transform);
48
49 return sensorInfoBase;
50 }

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