R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandNeutron.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 R3BNEULANDNEUTRON_H
15
#define R3BNEULANDNEUTRON_H
16
17
#include "
R3BNeulandCluster.h
"
18
#include "
R3BNeulandHit.h
"
19
#include "TObject.h"
20
#include "TVector3.h"
21
#include <iostream>
22
23
class
R3BNeulandNeutron
:
public
TObject
24
{
25
public
:
26
R3BNeulandNeutron
() =
default
;
27
R3BNeulandNeutron
(Int_t paddle, Double_t time,
const
TVector3& pos,
const
TVector3& pix);
28
explicit
R3BNeulandNeutron
(
const
R3BNeulandHit
&);
29
explicit
R3BNeulandNeutron
(
const
R3BNeulandCluster
&);
30
31
Int_t
GetPaddle
()
const
{
return
fPaddle
; }
32
Double_t
GetT
()
const
{
return
fT
; }
33
TVector3
GetPosition
()
const
{
return
fPosition
; }
34
TVector3
GetPixel
()
const
{
return
fPixel
; }
35
36
Double_t
GetEtot
()
const
;
37
Double_t
GetEkin
()
const
;
38
Double_t
GetGamma
()
const
;
39
TVector3
GetP
()
const
;
40
41
void
Print
(
const
Option_t*)
const override
;
42
43
private
:
44
Int_t
fPaddle
;
45
Double_t
fT
;
46
TVector3
fPosition
;
47
TVector3
fPixel
;
48
49
ClassDefOverride(
R3BNeulandNeutron
, 1)
50
};
51
52
std::ostream&
operator<<
(std::ostream&,
const
R3BNeulandNeutron
&);
// Support easy printing
53
54
#endif
// R3BNEULANDNEUTRON_H
R3BNeulandCluster.h
R3BNeulandHit.h
operator<<
std::ostream & operator<<(std::ostream &, const R3BNeulandNeutron &)
Definition
R3BNeulandNeutron.cxx:54
R3BNeulandCluster
Definition
R3BNeulandCluster.h:24
R3BNeulandNeutron
Definition
R3BNeulandNeutron.h:24
R3BNeulandNeutron::GetPosition
TVector3 GetPosition() const
Definition
R3BNeulandNeutron.h:33
R3BNeulandNeutron::fT
Double_t fT
Definition
R3BNeulandNeutron.h:45
R3BNeulandNeutron::fPosition
TVector3 fPosition
Definition
R3BNeulandNeutron.h:46
R3BNeulandNeutron::GetP
TVector3 GetP() const
Definition
R3BNeulandNeutron.cxx:48
R3BNeulandNeutron::GetPixel
TVector3 GetPixel() const
Definition
R3BNeulandNeutron.h:34
R3BNeulandNeutron::fPixel
TVector3 fPixel
Definition
R3BNeulandNeutron.h:47
R3BNeulandNeutron::fPaddle
Int_t fPaddle
Definition
R3BNeulandNeutron.h:44
R3BNeulandNeutron::GetEtot
Double_t GetEtot() const
Definition
R3BNeulandNeutron.cxx:50
R3BNeulandNeutron::Print
void Print(const Option_t *) const override
Definition
R3BNeulandNeutron.cxx:61
R3BNeulandNeutron::R3BNeulandNeutron
R3BNeulandNeutron()=default
R3BNeulandNeutron::GetGamma
Double_t GetGamma() const
Definition
R3BNeulandNeutron.cxx:42
R3BNeulandNeutron::GetPaddle
Int_t GetPaddle() const
Definition
R3BNeulandNeutron.h:31
R3BNeulandNeutron::GetT
Double_t GetT() const
Definition
R3BNeulandNeutron.h:32
R3BNeulandNeutron::GetEkin
Double_t GetEkin() const
Definition
R3BNeulandNeutron.cxx:52
R3BNeulandHit
Definition
R3BNeulandHit.h:26
r3bdata
neulandData
R3BNeulandNeutron.h
Generated by
1.13.2