Belle II Software  release-08-01-10
GblMultipleScatteringController Class Reference

TrackSegmentController for use with GblFitter in Belle2. More...

#include <GblMultipleScatteringController.h>

Inheritance diagram for GblMultipleScatteringController:
Collaboration diagram for GblMultipleScatteringController:

Public Member Functions

 GblMultipleScatteringController ()
 Constructor.
 
virtual ~GblMultipleScatteringController ()
 Destructor.
 
virtual void controlTrackSegment (TVector3, TVector3, double scatTheta, genfit::GblFitter *fitter)
 Change fitter options to not use scatterers inside CDC. More...
 
virtual void Print (const Option_t *="") const
 

Detailed Description

TrackSegmentController for use with GblFitter in Belle2.

Its main purpose is to switch off GBL scatterers inside CDC. This has no measurable effects except for much improved performance of the fitter.

Definition at line 26 of file GblMultipleScatteringController.h.

Member Function Documentation

◆ controlTrackSegment()

void controlTrackSegment ( TVector3  ,
TVector3  ,
double  scatTheta,
genfit::GblFitter fitter 
)
virtual

Change fitter options to not use scatterers inside CDC.

Currently by checking the volume name in the middle of entry and exit vectors.

The first two arguments are unused in our implementation, so they are not explicitely named here, even though they are present in the base class genfit::GblTrackSegmentController.

Parameters
scatThetaTotal MS variance accumulated in segment
fitterPointer to the fitter
Returns
void

Implements GblTrackSegmentController.

Definition at line 16 of file GblMultipleScatteringController.cc.

18 {
19  bool enableScattering = true;
20 
21  if (scatTheta < 0.0001) enableScattering = false;
22 
23  if (!enableScattering)
24  // No scattering
25  fitter->setMSOptions(false, false);
26  else
27  // Thick scatterers
28  fitter->setMSOptions(true, true);
29 }

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