R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandNeutronReconstructionStatistics.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3 * Copyright (C) 2019-2025 Members of R3B Collaboration *
4 * *
5 * This software is distributed under the terms of the *
6 * GNU General Public Licence (GPL) version 3, *
7 * copied verbatim in the file "LICENSE". *
8 * *
9 * In applying this license GSI does not waive the privileges and immunities *
10 * granted to it by virtue of its status as an Intergovernmental Organization *
11 * or submit itself to any jurisdiction. *
12 ******************************************************************************/
13
14#ifndef R3BROOT_R3BNEULANDNEUTRONRECONSTRUCTIONSTATISTICS_H
15#define R3BROOT_R3BNEULANDNEUTRONRECONSTRUCTIONSTATISTICS_H
16
17#include "FairTask.h"
18#include "R3BDataMonitor.h"
19#include "R3BIOConnector.h"
20#include "R3BNeulandCluster.h"
21#include "R3BNeulandNeutron.h"
22#include <Rtypes.h>
23#include <RtypesCore.h>
24#include <TH1.h>
25#include <string>
26#include <string_view>
27#include <vector>
28
30{
31 public:
32 explicit R3BNeulandNeutronReconstructionStatistics(std::string_view primary = "NeulandNeutronClusters",
33 std::string_view secondary = "NeulandPrimaryClusters",
34 std::string_view predicted = "NeulandSecondaryClusters");
35
36 protected:
37 auto Init() -> InitStatus override;
38 void Finish() override;
39
40 public:
41 void Exec(Option_t* /*option*/) override;
42
43 private:
48
52 std::string predicted_name_;
53
54 TH1D* hist_true_positive_ = nullptr;
55 TH1D* hist_false_positive_ = nullptr;
56 TH1D* hist_false_negative_ = nullptr;
57 TH1D* hist_true_negative_ = nullptr;
58 TH1D* hist_f1_value_ = nullptr;
59
60 std::vector<int> multiplicities_;
62
63 public:
65};
66
67#endif // R3BROOT_R3BNEULANDNEUTRONRECONSTRUCTIONSTATISTICS_H
R3BNeulandNeutronReconstructionStatistics(std::string_view primary="NeulandNeutronClusters", std::string_view secondary="NeulandPrimaryClusters", std::string_view predicted="NeulandSecondaryClusters")
R3B::InputVectorConnector< R3BNeulandCluster > secondary_clusters_
R3B::InputVectorConnector< R3BNeulandCluster > primary_clusters_
ClassDefOverride(R3BNeulandNeutronReconstructionStatistics, 1)
R3B::InputVectorConnector< R3BNeulandNeutron > predicted_neutrons_
InputConnector< std::vector< ElementType > > InputVectorConnector