R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandCalData.cxx
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#include "R3BNeulandCalData.h"
15
16R3BNeulandCalData::R3BNeulandCalData(Int_t barId, Int_t side, Double_t time, Double_t triggertime, double qdc) // NOLINT
17 : fBarId(barId)
18 , fSide(side)
19 , fTime(time)
20 , fTriggerTime(triggertime)
21 , fQdc(qdc)
22{
23}
24
25std::ostream& operator<<(std::ostream& os, const R3BNeulandCalData& calData)
26{
27 os << "R3BNeulandCalData: BarID " << calData.GetBarId() << " Side " << calData.GetSide() << " Time "
28 << calData.GetTime() << " Trigger time " << calData.GetTriggerTime() << " QDC " << calData.GetQdc()
29 << std::endl;
30 return os;
31}
32
33void R3BNeulandCalData::Print(const Option_t*) const { std::cout << *this; }
34
std::ostream & operator<<(std::ostream &os, const R3BNeulandCalData &calData)
ClassImp(R3B::Neuland::Cal2HitPar)
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