R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandTimingCanvas.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3 * Copyright (C) 2019-2023 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
17#include <R3BIOConnector.h>
18#include <R3BNeulandCalData2.h>
19#include <R3BNeulandHit.h>
20
21namespace R3B::Neuland
22{
24 {
25 public:
26 explicit TimingCanvas(std::string_view name)
27 : OnlineCanvas(name)
28 {
29 }
30
31 private:
32 InputVectorConnector<BarCalData> cal_data_{ "NeulandCalData" };
33 InputVectorConnector<R3BNeulandHit> hit_data_{ "NeulandHits" };
34 CanvasElement<TH2D> hTofvsZ_;
35 CanvasElement<TH2D> hNeuLANDvsStart_;
36 CanvasElement<TH1D> hTOFc_;
37 CanvasElement<TH2D> hTofcvsX_;
38
39 void DataInit() override;
40 void CanvasInit(DataMonitor& histograms) override;
41 void CanvasFill(DataMonitor& histograms) override;
42 void CanvasFinish() override;
43
44 void hit_data_fill();
45 void cal_data_fill();
46 };
47} // namespace R3B::Neuland
OnlineCanvas(const OnlineCanvas &)=default
TimingCanvas(std::string_view name)
void CanvasFill(DataMonitor &histograms) override
void CanvasInit(DataMonitor &histograms) override
Simulation of NeuLAND Bar/Paddle.
InputConnector< std::vector< ElementType > > InputVectorConnector