CbmRoot
|
Implementation of the electron identification algorithm in the RICH detector using Artificial Neural Network(ANN). More...
#include <CbmRichElectronIdAnn.h>
Public Member Functions | |
virtual | ~CbmRichElectronIdAnn () |
Destructor. | |
double | CalculateAnnValue (int globalTrackIndex, double momentum) |
Calculate output value of the ANN. | |
Static Public Member Functions | |
static CbmRichElectronIdAnn & | GetInstance () |
Private Member Functions | |
CbmRichElectronIdAnn () | |
Standard constructor. | |
void | Init () |
Initialize ANN before use. | |
CbmRichElectronIdAnn (const CbmRichElectronIdAnn &) | |
Copy constructor. | |
CbmRichElectronIdAnn & | operator= (const CbmRichElectronIdAnn &) |
Assignment operator. | |
Private Attributes | |
string | fAnnWeights |
Set path to the file with ANN weights. | |
TMultiLayerPerceptron * | fNN |
TClonesArray * | fGlobalTracks |
TClonesArray * | fRichRings |
Implementation of the electron identification algorithm in the RICH detector using Artificial Neural Network(ANN).
Definition at line 36 of file CbmRichElectronIdAnn.h.
|
private |
|
virtual |
Destructor.
Definition at line 38 of file CbmRichElectronIdAnn.cxx.
|
private |
Copy constructor.
double CbmRichElectronIdAnn::CalculateAnnValue | ( | int | globalTrackIndex, |
double | momentum ) |
Calculate output value of the ANN.
[in] | ring | Found and fitted ring. |
[in] | momentum | Momentum of the track attached to this ring. |
Definition at line 85 of file CbmRichElectronIdAnn.cxx.
References fGlobalTracks, fNN, fRichRings, CbmRichRing::GetAaxis(), CbmRichRing::GetBaxis(), CbmRichRing::GetChi2(), CbmRichRing::GetNDF(), CbmRichRing::GetNofHits(), CbmRichRing::GetPhi(), CbmRichRing::GetRadialAngle(), CbmRichRing::GetRadialPosition(), CbmGlobalTrack::GetRichRingIndex(), and CbmRichUtil::GetRingTrackDistance().
Referenced by CbmAnaConversionGlobalFunctions::ElectronANNvalue(), CbmAnaConversionReco::ElectronANNvalue(), CbmAnaConversionRecoFull::ElectronANNvalue(), CbmAnaConversionTest::ElectronANNvalue(), CbmAnaConversion::Exec(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), CbmLitGlobalElectronId::GetRichAnn(), CbmLitGlobalElectronId::IsRichElectron(), CbmAnaConversionGlobalFunctions::IsRICHElectronANN(), and CbmAnaConversionReco::IsRichElectronANN().
|
inlinestatic |
Return Instance of CbmRichGeoManager.
Definition at line 47 of file CbmRichElectronIdAnn.h.
Referenced by CbmAnaConversionGlobalFunctions::ElectronANNvalue(), CbmAnaConversionReco::ElectronANNvalue(), CbmAnaConversionRecoFull::ElectronANNvalue(), CbmAnaConversionTest::ElectronANNvalue(), CbmAnaConversion::Exec(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), CbmLitGlobalElectronId::GetRichAnn(), CbmLitGlobalElectronId::IsRichElectron(), CbmAnaConversionGlobalFunctions::IsRICHElectronANN(), and CbmAnaConversionReco::IsRichElectronANN().
|
private |
Initialize ANN before use.
Definition at line 40 of file CbmRichElectronIdAnn.cxx.
References CbmRichGeometryTypeCylindrical, CbmRichGeometryTypeTwoWings, fAnnWeights, fGlobalTracks, fNN, fRichRings, CbmRichGeoManager::GetInstance(), and x.
Referenced by CbmRichElectronIdAnn().
|
private |
Assignment operator.
|
private |
Set path to the file with ANN weights.
[in] | fileName | path to the file with ANN weights. |
Definition at line 74 of file CbmRichElectronIdAnn.h.
Referenced by Init().
|
private |
Definition at line 77 of file CbmRichElectronIdAnn.h.
Referenced by CalculateAnnValue(), and Init().
|
private |
Definition at line 75 of file CbmRichElectronIdAnn.h.
Referenced by CalculateAnnValue(), and Init().
|
private |
Definition at line 78 of file CbmRichElectronIdAnn.h.
Referenced by CalculateAnnValue(), and Init().