Belle II Software development
CAValidator< CellType > Struct Template Reference

validation tool for CA algorithm More...

#include <CAValidator.h>

Public Member Functions

bool isValidRound (int caRound)
 checks if CA is still in valid area
 
bool checkSeed (const CellType &aCell)
 function to check the cell if seed-conditions are met.
 

Public Attributes

int nMaxIterations = 25
 determines max number of iterations allowed by user, standard value is (number of VXD layers x 4) + 1.
 
unsigned int seedThreshold = 1
 threshold for being seed, standard value is 1
 

Detailed Description

template<class CellType>
struct Belle2::CAValidator< CellType >

validation tool for CA algorithm

Definition at line 19 of file CAValidator.h.

Member Function Documentation

◆ checkSeed()

template<class CellType>
bool checkSeed ( const CellType & aCell)
inline

function to check the cell if seed-conditions are met.

Definition at line 24 of file CAValidator.h.

24{ return !(aCell.getState() < seedThreshold); }

◆ isValidRound()

template<class CellType>
bool isValidRound ( int caRound)
inline

checks if CA is still in valid area

Definition at line 21 of file CAValidator.h.

21{ return !(caRound > nMaxIterations) and !(caRound < 0); }

Member Data Documentation

◆ nMaxIterations

template<class CellType>
int nMaxIterations = 25

determines max number of iterations allowed by user, standard value is (number of VXD layers x 4) + 1.

Definition at line 27 of file CAValidator.h.

◆ seedThreshold

template<class CellType>
unsigned int seedThreshold = 1

threshold for being seed, standard value is 1

Definition at line 30 of file CAValidator.h.


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