CbmRoot
Loading...
Searching...
No Matches
HistogramContainer.cxx
Go to the documentation of this file.
1/* Copyright (C) 2024 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Sergei Zharko [committer] */
4
9
10#include "HistogramContainer.h"
11
12#include <algorithm>
13
15
16// ---------------------------------------------------------------------------------------------------------------------
17//
19{
20 constexpr auto ResetHistograms = [&](auto& h) { h.Reset(); };
21 std::for_each(fvH1.begin(), fvH1.end(), ResetHistograms);
22 std::for_each(fvH2.begin(), fvH2.end(), ResetHistograms);
23 std::for_each(fvP1.begin(), fvP1.end(), ResetHistograms);
24 std::for_each(fvP2.begin(), fvP2.end(), ResetHistograms);
25}
A histogram container for the histogram server (header)
Data class with information on a STS local track.
Structure to keep the histograms for sending them on the histogram server.
void Reset()
Resets the histograms.
std::forward_list< qa::Prof1D > fvP1
List of 1D-profiles.
std::forward_list< qa::Prof2D > fvP2
List of 2D-profiles.
std::forward_list< qa::H1D > fvH1
List of 1D-histograms.
std::forward_list< qa::H2D > fvH2
List of 2D-histograms.