Belle II Software development
SpacePointTrackCandTest Class Reference

Test class for the SpacePointTrackCand class. More...

Inheritance diagram for SpacePointTrackCandTest:

Public Member Functions

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

Detailed Description

Test class for the SpacePointTrackCand class.

Definition at line 30 of file spacePointTrackCand.cc.

Member Function Documentation

◆ createSensorInfo()

VXD::SensorInfoBase createSensorInfo ( VxdID  aVxdID,
double  width = 1.,
double  length = 1.,
double  width2 = -1. 
)
inline

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

Definition at line 33 of file spacePointTrackCand.cc.

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

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