R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BHit.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
// -----------------------------------------------------------------------------
15
// ----- R3BHit -----
16
// ----- Created on 01.03.2018 by D.Kresan -----
17
// -----------------------------------------------------------------------------
18
19
#ifndef R3BHIT_H
20
#define R3BHIT_H
21
22
#include "TObject.h"
23
24
class
R3BHit
:
public
TObject
25
{
26
public
:
27
R3BHit
();
28
R3BHit
(Int_t detId, Double_t x, Double_t y, Double_t eloss, Double_t time, Int_t hitId = -1);
29
virtual
~R3BHit
();
30
31
inline
const
Int_t&
GetDetId
()
const
{
return
fDetId
; }
32
inline
const
Double_t&
GetX
()
const
{
return
fX
; }
33
inline
const
Double_t&
GetY
()
const
{
return
fY
; }
34
inline
const
Double_t&
GetEloss
()
const
{
return
fEloss
; }
35
inline
const
Double_t&
GetTime
()
const
{
return
fTime
; }
36
inline
const
Int_t&
GetHitId
()
const
{
return
fHitId
; }
37
38
inline
void
SetEloss
(
const
Double_t& eloss) {
fEloss
= eloss; }
39
inline
void
SetTime
(
const
Double_t& time) {
fTime
= time; }
40
inline
void
SetHitId
(
const
Int_t& hitId) {
fHitId
= hitId; }
41
42
protected
:
43
Int_t
fDetId
;
44
Double_t
fX
;
45
Double_t
fY
;
46
Double_t
fEloss
;
47
Double_t
fTime
;
48
Int_t
fHitId
;
49
50
public
:
51
ClassDef(
R3BHit
, 1)
52
};
53
54
#endif
R3BHit::GetTime
const Double_t & GetTime() const
Definition
R3BHit.h:35
R3BHit::SetTime
void SetTime(const Double_t &time)
Definition
R3BHit.h:39
R3BHit::fTime
Double_t fTime
Definition
R3BHit.h:47
R3BHit::fY
Double_t fY
Definition
R3BHit.h:45
R3BHit::fX
Double_t fX
Definition
R3BHit.h:44
R3BHit::fDetId
Int_t fDetId
Definition
R3BHit.h:43
R3BHit::GetEloss
const Double_t & GetEloss() const
Definition
R3BHit.h:34
R3BHit::GetX
const Double_t & GetX() const
Definition
R3BHit.h:32
R3BHit::GetY
const Double_t & GetY() const
Definition
R3BHit.h:33
R3BHit::SetHitId
void SetHitId(const Int_t &hitId)
Definition
R3BHit.h:40
R3BHit::GetHitId
const Int_t & GetHitId() const
Definition
R3BHit.h:36
R3BHit::fEloss
Double_t fEloss
Definition
R3BHit.h:46
R3BHit::R3BHit
R3BHit()
Definition
R3BHit.cxx:21
R3BHit::fHitId
Int_t fHitId
Definition
R3BHit.h:48
R3BHit::~R3BHit
virtual ~R3BHit()
Definition
R3BHit.cxx:41
R3BHit::GetDetId
const Int_t & GetDetId() const
Definition
R3BHit.h:31
R3BHit::SetEloss
void SetEloss(const Double_t &eloss)
Definition
R3BHit.h:38
r3bdata
R3BHit.h
Generated by
1.13.2