Belle II Software development
SVDReconstructionBase Class Reference

Class to check whether the reconstruction algorithms are available or not. More...

#include <SVDReconstructionBase.h>

Public Member Functions

 SVDReconstructionBase (const SVDReconstructionBase &)=default
 default copy constructor
 
 SVDReconstructionBase ()
 default constructor
 
virtual ~SVDReconstructionBase ()
 virtual destructor
 
bool isTimeAlgorithmAvailable (TString timeAlg)
 
bool isChargeAlgorithmAvailable (TString chargeAlg)
 
bool isPositionAlgorithmAvailable (TString positionAlg)
 

Protected Member Functions

void buildAlgorithmSets ()
 build the sets containing the available time, charge and position algorithms
 

Protected Attributes

std::set< TString > m_timeAlgorithms
 set containing the available time algorithms
 
std::set< TString > m_chargeAlgorithms
 set containing the available charge algorithms
 
std::set< TString > m_positionAlgorithms
 set containing the available position algorithms
 

Detailed Description

Class to check whether the reconstruction algorithms are available or not.

Definition at line 18 of file SVDReconstructionBase.h.

Constructor & Destructor Documentation

◆ SVDReconstructionBase()

SVDReconstructionBase ( )
inlineexplicit

default constructor

Definition at line 30 of file SVDReconstructionBase.h.

void buildAlgorithmSets()
build the sets containing the available time, charge and position algorithms

◆ ~SVDReconstructionBase()

virtual ~SVDReconstructionBase ( )
inlinevirtual

virtual destructor

Definition at line 35 of file SVDReconstructionBase.h.

35{};

Member Function Documentation

◆ buildAlgorithmSets()

void buildAlgorithmSets ( )
inlineprotected

build the sets containing the available time, charge and position algorithms

Definition at line 75 of file SVDReconstructionBase.h.

76 {
77 m_timeAlgorithms.insert("CoG6");
78 m_timeAlgorithms.insert("CoG3");
79 m_timeAlgorithms.insert("ELS3");
80
81 m_chargeAlgorithms.insert("MaxSample");
82 m_chargeAlgorithms.insert("SumSamples");
83 m_chargeAlgorithms.insert("ELS3");
84
85 m_positionAlgorithms.insert("CoGOnly");
86 m_positionAlgorithms.insert("OldDefault");
87 }
std::set< TString > m_positionAlgorithms
set containing the available position algorithms
std::set< TString > m_timeAlgorithms
set containing the available time algorithms
std::set< TString > m_chargeAlgorithms
set containing the available charge algorithms

◆ isChargeAlgorithmAvailable()

bool isChargeAlgorithmAvailable ( TString  chargeAlg)
inline
Returns
true if the chargeAlg is implemented and available for reconstruction

Definition at line 48 of file SVDReconstructionBase.h.

49 {
50 return m_chargeAlgorithms.find(chargeAlg) != m_chargeAlgorithms.end();
51 }

◆ isPositionAlgorithmAvailable()

bool isPositionAlgorithmAvailable ( TString  positionAlg)
inline
Returns
true if the positionAlg is implemented and available for reconstruction

Definition at line 56 of file SVDReconstructionBase.h.

57 {
58 return m_positionAlgorithms.find(positionAlg) != m_positionAlgorithms.end();
59 }

◆ isTimeAlgorithmAvailable()

bool isTimeAlgorithmAvailable ( TString  timeAlg)
inline
Returns
true if the timeAlg is implemented and available for reconstruction

Definition at line 40 of file SVDReconstructionBase.h.

41 {
42 return m_timeAlgorithms.find(timeAlg) != m_timeAlgorithms.end();
43 }

Member Data Documentation

◆ m_chargeAlgorithms

std::set<TString> m_chargeAlgorithms
protected

set containing the available charge algorithms

Definition at line 69 of file SVDReconstructionBase.h.

◆ m_positionAlgorithms

std::set<TString> m_positionAlgorithms
protected

set containing the available position algorithms

Definition at line 72 of file SVDReconstructionBase.h.

◆ m_timeAlgorithms

std::set<TString> m_timeAlgorithms
protected

set containing the available time algorithms

Definition at line 66 of file SVDReconstructionBase.h.


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