Belle II Software development
SVDRecoPositionFactory Class Reference

Cluster Position Factory Class. More...

#include <SVDRecoPositionFactory.h>

Static Public Member Functions

static SVDClusterPositionNewPosition (const std::string &description)
 static function that returns the class to compute the cluster position
 

Detailed Description

Cluster Position Factory Class.

Definition at line 22 of file SVDRecoPositionFactory.h.

Member Function Documentation

◆ NewPosition()

static SVDClusterPosition * NewPosition ( const std::string &  description)
inlinestatic

static function that returns the class to compute the cluster position

Definition at line 30 of file SVDRecoPositionFactory.h.

31 {
32 if (description == "CoGOnly")
33 return new SVDCoGOnlyPosition;
34 if (description == "OldDefault")
35 return new SVDOldDefaultPosition;
36
37 B2WARNING("the SVD cluster position algorithm is not recognized, using OldDefault!");
38
39 return new SVDOldDefaultPosition;
40 }

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