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#pragma once
15
16#include "FairTask.h"
17#include "R3BMCTrack.h"
18#include "R3BNeulandHit.h"
19#include "R3BNeulandPoint.h"
20#include <R3BIOConnector.h>
21#include <Rtypes.h>
22#include <RtypesCore.h>
23#include <string_view>
24
25class TH1D;
26class TH2D;
27
29{
30 public:
31 explicit R3BNeulandPrimaryInteractionFinder(std::string_view pointsIn = "NeulandPoints",
32 std::string_view hitsIn = "NeulandHits",
33 std::string_view pointsOut = "NeulandPrimaryPoints",
34 std::string_view hitsOut = "NeulandPrimaryHits",
35 std::string_view tracksOut = "NeulandPrimaryTracks");
36
38
39 // No copy and no move is allowed (Rule of three/five)
44
45 protected:
46 auto Init() -> InitStatus override;
47 void Finish() override;
48
49 public:
50 void Exec(Option_t* /*option*/) override;
51
52 private:
56
60
64
66};
auto operator=(const R3BNeulandPrimaryInteractionFinder &) -> R3BNeulandPrimaryInteractionFinder &=delete
R3BNeulandPrimaryInteractionFinder(const R3BNeulandPrimaryInteractionFinder &)=delete
R3B::InputVectorConnector< R3BNeulandPoint > fPointsIn
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")
R3B::InputVectorConnector< R3BNeulandHit > fHitsIn
auto operator=(R3BNeulandPrimaryInteractionFinder &&) -> R3BNeulandPrimaryInteractionFinder &=delete
R3B::InputTCAConnector< R3BMCTrack > fTracksIn
R3B::OutputVectorConnector< R3BNeulandPoint > fPointsOut
R3BNeulandPrimaryInteractionFinder(R3BNeulandPrimaryInteractionFinder &&)=delete
ClassDefOverride(R3BNeulandPrimaryInteractionFinder, 0)
R3B::OutputVectorConnector< R3BNeulandHit > fHitsOut
~R3BNeulandPrimaryInteractionFinder() override=default
R3B::OutputVectorConnector< R3BMCTrack > fTracksOut
InputConnector< std::vector< ElementType > > InputVectorConnector
OutputConnector< std::vector< ElementType > > OutputVectorConnector