CbmRoot
Loading...
Searching...
No Matches
CbmRichRingSelectAnn.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2013 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Semen Lebedev, Denis Bertini [committer] */
4
19#ifndef CBM_RICH_RING_SELECT_ANN
20#define CBM_RICH_RING_SELECT_ANN
21
22#include <string>
23
26class NNfunction;
27class TMultiLayerPerceptron;
28using namespace std;
29
44 private:
45 std::string fAnnWeights;
46 TMultiLayerPerceptron* fNN;
48
49 public:
54
58 virtual ~CbmRichRingSelectAnn();
59
63 virtual void Init();
64
69 void DoSelect(CbmRichRingLight* ring);
70
75 void SetAnnWeights(const string& fileName) { fAnnWeights = fileName; }
76
77 private:
82
87};
88
89#endif
Implementation for concrete RICH ring selection algorithm: reject rings using a trained neural net (i...
CbmRichRingSelectAnn(const CbmRichRingSelectAnn &)
Copy constructor.
TMultiLayerPerceptron * fNN
void DoSelect(CbmRichRingLight *ring)
CbmRichRingSelectAnn()
Standard constructor.
virtual ~CbmRichRingSelectAnn()
Destructor.
virtual void Init()
Initialize ANN.
void SetAnnWeights(const string &fileName)
Set path to the file with ANN weights.
CbmRichRingSelectAnn & operator=(const CbmRichRingSelectAnn &)
Assignment operator.
CbmRichRingSelectImpl * fSelectImpl
Hash for CbmL1LinkKey.