CbmRoot
CbmRichRingSelectAnn Class Reference

Implementation for concrete RICH ring selection algorithm: reject rings using a trained neural net (input file with weights needed!) store resulting value (0-1) in "SelectionNN": 0 = good rings 1 = rings to be rejected --> choose a value in between depending on required purity/ efficiency. More...

#include <CbmRichRingSelectAnn.h>

Collaboration diagram for CbmRichRingSelectAnn:
[legend]

Public Member Functions

 CbmRichRingSelectAnn ()
 Standard constructor. More...
 
virtual ~CbmRichRingSelectAnn ()
 Destructor. More...
 
virtual void Init ()
 Initialize ANN. More...
 
void DoSelect (CbmRichRingLight *ring)
 
void SetAnnWeights (const string &fileName)
 Set path to the file with ANN weights. More...
 

Private Member Functions

 CbmRichRingSelectAnn (const CbmRichRingSelectAnn &)
 Copy constructor. More...
 
CbmRichRingSelectAnnoperator= (const CbmRichRingSelectAnn &)
 Assignment operator. More...
 

Private Attributes

std::string fAnnWeights
 
TMultiLayerPerceptron * fNN
 
CbmRichRingSelectImplfSelectImpl
 

Detailed Description

Implementation for concrete RICH ring selection algorithm: reject rings using a trained neural net (input file with weights needed!) store resulting value (0-1) in "SelectionNN": 0 = good rings 1 = rings to be rejected --> choose a value in between depending on required purity/ efficiency.

Author
Semen Lebedev
Date
2008

Definition at line 39 of file CbmRichRingSelectAnn.h.

Constructor & Destructor Documentation

◆ CbmRichRingSelectAnn() [1/2]

CbmRichRingSelectAnn::CbmRichRingSelectAnn ( )

◆ ~CbmRichRingSelectAnn()

CbmRichRingSelectAnn::~CbmRichRingSelectAnn ( )
virtual

Destructor.

Definition at line 30 of file CbmRichRingSelectAnn.cxx.

◆ CbmRichRingSelectAnn() [2/2]

CbmRichRingSelectAnn::CbmRichRingSelectAnn ( const CbmRichRingSelectAnn )
private

Copy constructor.

Member Function Documentation

◆ DoSelect()

◆ Init()

void CbmRichRingSelectAnn::Init ( )
virtual

Initialize ANN.

Definition at line 32 of file CbmRichRingSelectAnn.cxx.

References fAnnWeights, fNN, fSelectImpl, and x.

Referenced by CbmRichRingFinderHoughImpl::Init().

◆ operator=()

CbmRichRingSelectAnn& CbmRichRingSelectAnn::operator= ( const CbmRichRingSelectAnn )
private

Assignment operator.

◆ SetAnnWeights()

void CbmRichRingSelectAnn::SetAnnWeights ( const string &  fileName)
inline

Set path to the file with ANN weights.

Parameters
[in]fileNamePath to the file name with ANN weights.

Definition at line 71 of file CbmRichRingSelectAnn.h.

Member Data Documentation

◆ fAnnWeights

std::string CbmRichRingSelectAnn::fAnnWeights
private

Definition at line 41 of file CbmRichRingSelectAnn.h.

Referenced by CbmRichRingSelectAnn(), and Init().

◆ fNN

TMultiLayerPerceptron* CbmRichRingSelectAnn::fNN
private

Definition at line 42 of file CbmRichRingSelectAnn.h.

Referenced by DoSelect(), and Init().

◆ fSelectImpl

CbmRichRingSelectImpl* CbmRichRingSelectAnn::fSelectImpl
private

Definition at line 43 of file CbmRichRingSelectAnn.h.

Referenced by DoSelect(), and Init().


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