R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandTJumpCanvas.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
20class TH1D;
21class TH2D;
22
23namespace R3B::Neuland
24{
26 {
27 public:
28 explicit TJumpCanvas(std::string_view name)
29 : OnlineCanvas(name)
30 {
31 }
32
33 private:
34 InputVectorConnector<BarCalData> cal_data_{ "NeulandCalData" };
35 unsigned int last_event_num_ = 0;
36 CanvasElement<TH1D> hTstart_;
37 CanvasElement<TH2D> hTestJump_;
38 CanvasElement<TH2D> hTestJumpvsEvnt_;
39 CanvasElement<TH2D> hTestJumpvsEvntzoom_;
40
41 void DataInit() override;
42 void CanvasInit(DataMonitor& histograms) override;
43 void CanvasFill(DataMonitor& histograms) override;
44 void CanvasFinish() override;
45 };
46} // namespace R3B::Neuland
OnlineCanvas(const OnlineCanvas &)=default
void CanvasInit(DataMonitor &histograms) override
void CanvasFill(DataMonitor &histograms) override
TJumpCanvas(std::string_view name)
Simulation of NeuLAND Bar/Paddle.
InputConnector< std::vector< ElementType > > InputVectorConnector