R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandHitCosmicCanvas.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 HitCosmicCanvas(std::string_view name)
26 : OnlineCanvas(name)
27 {
28 }
29
30 private:
31 InputVectorConnector<R3BNeulandHit> hit_data_{ "NeulandHits" };
32
33 CanvasElement<TH2D> hHitEvsBarCosmics_;
34 CanvasElement<TH2D> hTdiffvsBarCosmics_;
35 CanvasElement<TH2D> hDTBack_;
36 CanvasElement<TH2D> hDTBackc_;
37 CanvasElement<TH2D> hDTFront_;
38 CanvasElement<TH2D> hDTFrontc_;
39
40 void DataInit() override;
41 void CanvasInit(DataMonitor& histograms) override;
42 void CanvasFill(DataMonitor& histograms) override;
43 void CanvasFinish() override;
44 };
45} // namespace R3B::Neuland
void CanvasInit(DataMonitor &histograms) override
void CanvasFill(DataMonitor &histograms) override
OnlineCanvas(const OnlineCanvas &)=default
Simulation of NeuLAND Bar/Paddle.
InputConnector< std::vector< ElementType > > InputVectorConnector