CbmRoot
CbmRichRingSelectAnn.h
Go to the documentation of this file.
1 
15 #ifndef CBM_RICH_RING_SELECT_ANN
16 #define CBM_RICH_RING_SELECT_ANN
17 
18 #include <string>
19 
20 class CbmRichRingLight;
22 class NNfunction;
23 class TMultiLayerPerceptron;
24 using namespace std;
25 
40 private:
41  std::string fAnnWeights;
42  TMultiLayerPerceptron* fNN;
44 
45 public:
50 
54  virtual ~CbmRichRingSelectAnn();
55 
59  virtual void Init();
60 
65  void DoSelect(CbmRichRingLight* ring);
66 
71  void SetAnnWeights(const string& fileName) { fAnnWeights = fileName; }
72 
73 private:
78 
83 };
84 
85 #endif
CbmRichRingSelectAnn::fSelectImpl
CbmRichRingSelectImpl * fSelectImpl
Definition: CbmRichRingSelectAnn.h:43
CbmRichRingSelectAnn
Implementation for concrete RICH ring selection algorithm: reject rings using a trained neural net (i...
Definition: CbmRichRingSelectAnn.h:39
CbmRichRingSelectAnn::fAnnWeights
std::string fAnnWeights
Definition: CbmRichRingSelectAnn.h:41
CbmRichRingSelectAnn::SetAnnWeights
void SetAnnWeights(const string &fileName)
Set path to the file with ANN weights.
Definition: CbmRichRingSelectAnn.h:71
CbmRichRingSelectImpl
Definition: CbmRichRingSelectImpl.h:28
CbmRichRingSelectAnn::operator=
CbmRichRingSelectAnn & operator=(const CbmRichRingSelectAnn &)
Assignment operator.
CbmRichRingSelectAnn::fNN
TMultiLayerPerceptron * fNN
Definition: CbmRichRingSelectAnn.h:42
CbmRichRingLight
Definition: CbmRichRingLight.h:39
CbmRichRingSelectAnn::CbmRichRingSelectAnn
CbmRichRingSelectAnn(const CbmRichRingSelectAnn &)
Copy constructor.