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
16#include "R3BDataMonitor.h"
19#include <R3BIOConnector.h>
20#include <R3BNeulandHit.h>
21#include <TH2.h>
22#include <string_view>
23#include <vector>
24
25namespace R3B::Neuland
26{
28 {
29 public:
30 explicit HitXYCanvas(std::string_view name)
31 : OnlineCanvas(name)
32 {
33 }
34
35 private:
37 std::vector<CanvasElement<TH2D>> h_xy_per_plane_;
38
39 void DataInit() override;
40 void CanvasInit(DataMonitor& histograms) override;
41 void CanvasFill(DataMonitor& histograms) override;
42 void CanvasFinish() override;
43 };
44} // namespace R3B::Neuland
std::vector< CanvasElement< TH2D > > h_xy_per_plane_
HitXYCanvas(std::string_view name)
void CanvasFill(DataMonitor &histograms) override
InputVectorConnector< R3BNeulandHit > hit_data_
void CanvasInit(DataMonitor &histograms) override
OnlineCanvas(const OnlineCanvas &)=default
Simulation of NeuLAND Bar/Paddle.
InputConnector< std::vector< ElementType > > InputVectorConnector