R3BROOT
R3B analysis software
Toggle main menu visibility
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
25
class
TH1D;
26
class
TH2D;
27
28
class
R3BNeulandPrimaryInteractionFinder
:
public
FairTask
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
37
~R3BNeulandPrimaryInteractionFinder
()
override
=
default
;
38
39
// No copy and no move is allowed (Rule of three/five)
40
R3BNeulandPrimaryInteractionFinder
(
const
R3BNeulandPrimaryInteractionFinder
&) =
delete
;
41
R3BNeulandPrimaryInteractionFinder
(
R3BNeulandPrimaryInteractionFinder
&&) =
delete
;
42
auto
operator=
(
const
R3BNeulandPrimaryInteractionFinder
&) ->
R3BNeulandPrimaryInteractionFinder
& =
delete
;
43
auto
operator=
(
R3BNeulandPrimaryInteractionFinder
&&) ->
R3BNeulandPrimaryInteractionFinder
& =
delete
;
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
:
53
R3B::InputTCAConnector<R3BMCTrack>
fTracksIn
;
54
R3B::InputVectorConnector<R3BNeulandPoint>
fPointsIn
;
55
R3B::InputVectorConnector<R3BNeulandHit>
fHitsIn
;
56
57
R3B::OutputVectorConnector<R3BMCTrack>
fTracksOut
;
58
R3B::OutputVectorConnector<R3BNeulandPoint>
fPointsOut
;
59
R3B::OutputVectorConnector<R3BNeulandHit>
fHitsOut
;
60
61
TH1D*
fhDistance
;
62
TH2D*
fhPointsVsHits
;
63
TH2D*
fhPointVsHitPaddle
;
64
65
ClassDefOverride
(
R3BNeulandPrimaryInteractionFinder
, 0);
66
};
R3BIOConnector.h
R3BMCTrack.h
R3BNeulandHit.h
R3BNeulandPoint.h
R3B::InputTCAConnector
Definition
R3BIOConnector.h:141
R3BNeulandPrimaryInteractionFinder::operator=
auto operator=(const R3BNeulandPrimaryInteractionFinder &) -> R3BNeulandPrimaryInteractionFinder &=delete
R3BNeulandPrimaryInteractionFinder::R3BNeulandPrimaryInteractionFinder
R3BNeulandPrimaryInteractionFinder(const R3BNeulandPrimaryInteractionFinder &)=delete
R3BNeulandPrimaryInteractionFinder::fhPointsVsHits
TH2D * fhPointsVsHits
Definition
R3BNeulandPrimaryInteractionFinder.h:62
R3BNeulandPrimaryInteractionFinder::fhDistance
TH1D * fhDistance
Definition
R3BNeulandPrimaryInteractionFinder.h:61
R3BNeulandPrimaryInteractionFinder::fPointsIn
R3B::InputVectorConnector< R3BNeulandPoint > fPointsIn
Definition
R3BNeulandPrimaryInteractionFinder.h:54
R3BNeulandPrimaryInteractionFinder::R3BNeulandPrimaryInteractionFinder
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")
Definition
R3BNeulandPrimaryInteractionFinder.cxx:139
R3BNeulandPrimaryInteractionFinder::fHitsIn
R3B::InputVectorConnector< R3BNeulandHit > fHitsIn
Definition
R3BNeulandPrimaryInteractionFinder.h:55
R3BNeulandPrimaryInteractionFinder::operator=
auto operator=(R3BNeulandPrimaryInteractionFinder &&) -> R3BNeulandPrimaryInteractionFinder &=delete
R3BNeulandPrimaryInteractionFinder::fhPointVsHitPaddle
TH2D * fhPointVsHitPaddle
Definition
R3BNeulandPrimaryInteractionFinder.h:63
R3BNeulandPrimaryInteractionFinder::fTracksIn
R3B::InputTCAConnector< R3BMCTrack > fTracksIn
Definition
R3BNeulandPrimaryInteractionFinder.h:53
R3BNeulandPrimaryInteractionFinder::Finish
void Finish() override
Definition
R3BNeulandPrimaryInteractionFinder.cxx:233
R3BNeulandPrimaryInteractionFinder::fPointsOut
R3B::OutputVectorConnector< R3BNeulandPoint > fPointsOut
Definition
R3BNeulandPrimaryInteractionFinder.h:58
R3BNeulandPrimaryInteractionFinder::R3BNeulandPrimaryInteractionFinder
R3BNeulandPrimaryInteractionFinder(R3BNeulandPrimaryInteractionFinder &&)=delete
R3BNeulandPrimaryInteractionFinder::Exec
void Exec(Option_t *) override
Definition
R3BNeulandPrimaryInteractionFinder.cxx:174
R3BNeulandPrimaryInteractionFinder::ClassDefOverride
ClassDefOverride(R3BNeulandPrimaryInteractionFinder, 0)
R3BNeulandPrimaryInteractionFinder::fHitsOut
R3B::OutputVectorConnector< R3BNeulandHit > fHitsOut
Definition
R3BNeulandPrimaryInteractionFinder.h:59
R3BNeulandPrimaryInteractionFinder::Init
auto Init() -> InitStatus override
Definition
R3BNeulandPrimaryInteractionFinder.cxx:163
R3BNeulandPrimaryInteractionFinder::~R3BNeulandPrimaryInteractionFinder
~R3BNeulandPrimaryInteractionFinder() override=default
R3BNeulandPrimaryInteractionFinder::fTracksOut
R3B::OutputVectorConnector< R3BMCTrack > fTracksOut
Definition
R3BNeulandPrimaryInteractionFinder.h:57
R3B::InputVectorConnector
InputConnector< std::vector< ElementType > > InputVectorConnector
Definition
R3BIOConnector.h:290
R3B::OutputVectorConnector
OutputConnector< std::vector< ElementType > > OutputVectorConnector
Definition
R3BIOConnector.h:293
neuland
simulation
R3BNeulandPrimaryInteractionFinder.h
Generated by
1.18.0