R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandHitXYCanvas.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 <R3BNeulandHit.h>
19
20namespace R3B::Neuland
21{
23 {
24 public:
25 explicit HitXYCanvas(std::string_view name)
26 : OnlineCanvas(name)
27 {
28 }
29
30 private:
31 InputVectorConnector<R3BNeulandHit> hit_data_{ "NeulandHits" };
32 std::vector<CanvasElement<TH2D>> h_xy_per_plane_;
33
34 void DataInit() override;
35 void CanvasInit(DataMonitor& histograms) override;
36 void CanvasFill(DataMonitor& histograms) override;
37 void CanvasFinish() override;
38 };
39} // namespace R3B::Neuland
HitXYCanvas(std::string_view name)
void CanvasFill(DataMonitor &histograms) override
void CanvasInit(DataMonitor &histograms) override
OnlineCanvas(const OnlineCanvas &)=default
Simulation of NeuLAND Bar/Paddle.
InputConnector< std::vector< ElementType > > InputVectorConnector