R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BCoarseTimeStitch.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#pragma once
15
16#include <Rtypes.h>
17#include <TObject.h>
18#include <TString.h>
19
20class R3BCoarseTimeStitch : public TObject
21{
22 public:
23 // Default Constructor for sync two tamex channels
25
26 // Destructor
27 ~R3BCoarseTimeStitch() override = default;
28
29 // Accessors with [[nodiscard]]
30 [[nodiscard]] inline double GetRange1() const { return fRange1; }
31 [[nodiscard]] inline double GetRange2() const { return fRange2; }
32 [[nodiscard]] double GetTime(double, TString const& name1 = "tamex", TString const& name2 = "tamex");
33
34 inline void SetRange1(Float_t range) { fRange1 = range; }
35 inline void SetRange2(Float_t range) { fRange2 = range; }
36
38
39 private:
40 double fRange1;
41 double fRange2;
43 double fRangeVftx;
44 double fRangeTrb;
47
48 public:
49 ClassDefOverride(R3BCoarseTimeStitch, 1)
50};
void SetRange2(Float_t range)
void SetRange1(Float_t range)
double GetTime(double, TString const &name1="tamex", TString const &name2="tamex")
~R3BCoarseTimeStitch() override=default