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. More... | |
double | CalculateAnnValue (int globalTrackIndex, double momentum) |
Calculate output value of the ANN. More... | |
Static Public Member Functions | |
static CbmRichElectronIdAnn & | GetInstance () |
Private Member Functions | |
CbmRichElectronIdAnn () | |
Standard constructor. More... | |
void | Init () |
Initialize ANN before use. More... | |
CbmRichElectronIdAnn (const CbmRichElectronIdAnn &) | |
Copy constructor. More... | |
CbmRichElectronIdAnn & | operator= (const CbmRichElectronIdAnn &) |
Assignment operator. More... | |
Private Attributes | |
string | fAnnWeights |
Set path to the file with ANN weights. More... | |
TMultiLayerPerceptron * | fNN |
TClonesArray * | fGlobalTracks |
TClonesArray * | fRichRings |
Implementation of the electron identification algorithm in the RICH detector using Artificial Neural Network(ANN).
Definition at line 32 of file CbmRichElectronIdAnn.h.
|
private |
|
virtual |
Destructor.
Definition at line 31 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 84 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(), CbmAnaConversionTest::ElectronANNvalue(), CbmAnaConversionReco::ElectronANNvalue(), CbmAnaConversionRecoFull::ElectronANNvalue(), CbmAnaConversion::Exec(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), CbmLitGlobalElectronId::GetRichAnn(), CbmLitGlobalElectronId::IsRichElectron(), CbmAnaConversionGlobalFunctions::IsRICHElectronANN(), and CbmAnaConversionReco::IsRichElectronANN().
|
inlinestatic |
Return Instance of CbmRichGeoManager.
Definition at line 43 of file CbmRichElectronIdAnn.h.
Referenced by CbmAnaConversionGlobalFunctions::ElectronANNvalue(), CbmAnaConversionTest::ElectronANNvalue(), CbmAnaConversionReco::ElectronANNvalue(), CbmAnaConversionRecoFull::ElectronANNvalue(), CbmAnaConversion::Exec(), PairAnalysisVarManager::FillVarPairAnalysisTrack(), CbmLitGlobalElectronId::GetRichAnn(), CbmLitGlobalElectronId::IsRichElectron(), CbmAnaConversionGlobalFunctions::IsRICHElectronANN(), and CbmAnaConversionReco::IsRichElectronANN().
|
private |
Initialize ANN before use.
Definition at line 33 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 69 of file CbmRichElectronIdAnn.h.
Referenced by Init().
|
private |
Definition at line 72 of file CbmRichElectronIdAnn.h.
Referenced by CalculateAnnValue(), and Init().
|
private |
Definition at line 70 of file CbmRichElectronIdAnn.h.
Referenced by CalculateAnnValue(), and Init().
|
private |
Definition at line 73 of file CbmRichElectronIdAnn.h.
Referenced by CalculateAnnValue(), and Init().