CbmRoot
Loading...
Searching...
No Matches
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.
 
virtual ~CbmRichRingSelectAnn ()
 Destructor.
 
virtual void Init ()
 Initialize ANN.
 
void DoSelect (CbmRichRingLight *ring)
 
void SetAnnWeights (const string &fileName)
 Set path to the file with ANN weights.
 

Private Member Functions

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

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 43 of file CbmRichRingSelectAnn.h.

Constructor & Destructor Documentation

◆ CbmRichRingSelectAnn() [1/2]

CbmRichRingSelectAnn::CbmRichRingSelectAnn ( )

◆ ~CbmRichRingSelectAnn()

CbmRichRingSelectAnn::~CbmRichRingSelectAnn ( )
virtual

Destructor.

Definition at line 32 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 34 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 75 of file CbmRichRingSelectAnn.h.

References fAnnWeights.

Member Data Documentation

◆ fAnnWeights

std::string CbmRichRingSelectAnn::fAnnWeights
private

Definition at line 45 of file CbmRichRingSelectAnn.h.

Referenced by Init(), and SetAnnWeights().

◆ fNN

TMultiLayerPerceptron* CbmRichRingSelectAnn::fNN
private

Definition at line 46 of file CbmRichRingSelectAnn.h.

Referenced by DoSelect(), and Init().

◆ fSelectImpl

CbmRichRingSelectImpl* CbmRichRingSelectAnn::fSelectImpl
private

Definition at line 47 of file CbmRichRingSelectAnn.h.

Referenced by DoSelect(), and Init().


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