EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CbmRichElectronIdAnn.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CbmRichElectronIdAnn.h
1
11
#ifndef CBM_RICH_ELECTRONID_ANN
12
#define CBM_RICH_ELECTRONID_ANN
13
14
#include <string>
15
16
class
CbmRichRing
;
17
class
TMultiLayerPerceptron;
18
19
using
std::string;
20
30
class
CbmRichElectronIdAnn
31
{
32
private
:
33
string
fAnnWeights
;
// path to the file with weights for ANN
34
TMultiLayerPerceptron*
fNN
;
// Pointer to the ANN
35
public
:
36
40
CbmRichElectronIdAnn
();
41
45
virtual
~CbmRichElectronIdAnn
();
46
50
void
Init
();
51
58
double
DoSelect
(
59
CbmRichRing
* ring,
60
double
momentum
);
61
66
void
SetAnnWeights
(
const
string
& fileName){
fAnnWeights
= fileName;}
67
68
private
:
72
CbmRichElectronIdAnn
(
const
CbmRichElectronIdAnn
&);
73
77
CbmRichElectronIdAnn
&
operator=
(
const
CbmRichElectronIdAnn
&);
78
};
79
80
#endif
81
EicRoot
blob
master
rich
CbmRichElectronIdAnn.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:37
using
1.8.2 with
EIC GitHub integration