R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandPrimaryInteractionFinder.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_R3BNEULANDPRIMARYINTERACTIONFINDER_H
15#define R3BROOT_R3BNEULANDPRIMARYINTERACTIONFINDER_H
16
17#include "FairTask.h"
18#include "R3BMCTrack.h"
19#include "R3BNeulandHit.h"
20#include "R3BNeulandPoint.h"
21#include <R3BIOConnector.h>
22
23class TH1D;
24class TH2D;
25
27{
28 public:
29 explicit R3BNeulandPrimaryInteractionFinder(std::string_view pointsIn = "NeulandPoints",
30 std::string_view hitsIn = "NeulandHits",
31 std::string_view pointsOut = "NeulandPrimaryPoints",
32 std::string_view hitsOut = "NeulandPrimaryHits",
33 std::string_view tracksOut = "NeulandPrimaryTracks");
34
36
37 // No copy and no move is allowed (Rule of three/five)
42
43 protected:
44 auto Init() -> InitStatus override;
45 void Finish() override;
46
47 public:
48 void Exec(Option_t* /*option*/) override;
49
50 private:
54
58
59 TH1D* fhDistance;
60 TH2D* fhPointsVsHits;
61 TH2D* fhPointVsHitPaddle;
62
63 ClassDefOverride(R3BNeulandPrimaryInteractionFinder, 0);
64};
65
66#endif // R3BROOT_R3BNEULANDPRIMARYINTERACTIONFINDER_H
auto operator=(const R3BNeulandPrimaryInteractionFinder &) -> R3BNeulandPrimaryInteractionFinder &=delete
R3BNeulandPrimaryInteractionFinder(const R3BNeulandPrimaryInteractionFinder &)=delete
R3BNeulandPrimaryInteractionFinder(std::string_view pointsIn="NeulandPoints", std::string_view hitsIn="NeulandHits", std::string_view pointsOut="NeulandPrimaryPoints", std::string_view hitsOut="NeulandPrimaryHits", std::string_view tracksOut="NeulandPrimaryTracks")
auto operator=(R3BNeulandPrimaryInteractionFinder &&) -> R3BNeulandPrimaryInteractionFinder &=delete
R3BNeulandPrimaryInteractionFinder(R3BNeulandPrimaryInteractionFinder &&)=delete
~R3BNeulandPrimaryInteractionFinder() override=default
InputConnector< std::vector< ElementType > > InputVectorConnector
OutputConnector< std::vector< ElementType > > OutputVectorConnector