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

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

#include <SVDReconstructionBase.h>

Collaboration diagram for SVDReconstructionBase:

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.

Member Function Documentation

◆ 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  }
std::set< TString > m_chargeAlgorithms
set containing the available charge algorithms

◆ 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.

◆ 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.


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