R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandCalData.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 R3BNEULANDCALDATA_H
15
#define R3BNEULANDCALDATA_H
16
17
#include "TObject.h"
18
#include <iostream>
19
20
class
R3BNeulandCalData
:
public
TObject
21
{
22
public
:
23
R3BNeulandCalData
() =
default
;
24
R3BNeulandCalData
(Int_t barId, Int_t side, Double_t time, Double_t triggertime,
double
qdc);
25
26
Int_t
GetBarId
()
const
{
return
fBarId; }
27
Int_t
GetSide
()
const
{
return
fSide; }
28
Double_t
GetTime
()
const
{
return
fTime; }
29
Double_t
GetTriggerTime
()
const
{
return
fTriggerTime; }
30
[[nodiscard]]
auto
GetQdc
() const ->
double
{
return
fQdc; }
31
32
void
Print
(
const
Option_t*)
const override
;
33
34
private
:
35
Int_t fBarId;
36
Int_t fSide;
37
Double_t fTime;
38
Double_t fTriggerTime;
39
double
fQdc;
40
41
ClassDefOverride(
R3BNeulandCalData
, 2)
42
};
43
44
std::ostream&
operator<<
(std::ostream&,
const
R3BNeulandCalData
&);
// Support easy printing
45
46
#endif
// R3BNEULANDCALDATA_H
operator<<
std::ostream & operator<<(std::ostream &, const R3BNeulandCalData &)
Definition
R3BNeulandCalData.cxx:25
R3BNeulandCalData
Definition
R3BNeulandCalData.h:21
R3BNeulandCalData::R3BNeulandCalData
R3BNeulandCalData()=default
R3BNeulandCalData::GetSide
Int_t GetSide() const
Definition
R3BNeulandCalData.h:27
R3BNeulandCalData::GetTime
Double_t GetTime() const
Definition
R3BNeulandCalData.h:28
R3BNeulandCalData::Print
void Print(const Option_t *) const override
Definition
R3BNeulandCalData.cxx:33
R3BNeulandCalData::GetQdc
auto GetQdc() const -> double
Definition
R3BNeulandCalData.h:30
R3BNeulandCalData::GetTriggerTime
Double_t GetTriggerTime() const
Definition
R3BNeulandCalData.h:29
R3BNeulandCalData::GetBarId
Int_t GetBarId() const
Definition
R3BNeulandCalData.h:26
r3bdata
neulandData
R3BNeulandCalData.h
Generated by
1.13.2