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
20class 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
44std::ostream& operator<<(std::ostream&, const R3BNeulandCalData&); // Support easy printing
45
46#endif // R3BNEULANDCALDATA_H
std::ostream & operator<<(std::ostream &, const R3BNeulandCalData &)
R3BNeulandCalData()=default
Int_t GetSide() const
Double_t GetTime() const
void Print(const Option_t *) const override
auto GetQdc() const -> double
Double_t GetTriggerTime() const
Int_t GetBarId() const