Belle II Software development
GblMultipleScatteringController.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#include <alignment/GblMultipleScatteringController.h>
10
11#include <genfit/GblFitter.h>
12
13using namespace std;
14using namespace Belle2;
15
16void GblMultipleScatteringController::controlTrackSegment(TVector3, TVector3, double scatTheta, genfit::GblFitter* fitter)
17// void GblMultipleScatteringController::controlTrackSegment(B2Vector3D, B2Vector3D, double scatTheta, genfit::GblFitter* fitter)
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}
30
virtual void controlTrackSegment(TVector3, TVector3, double scatTheta, genfit::GblFitter *fitter)
Change fitter options to not use scatterers inside CDC.
Abstract base class for different kinds of events.
STL namespace.