BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
PerEntryHistogramSetC.hh
1/*
2Beam Delivery Simulation (BDSIM) Copyright (C) BDSIM Collaboration, 2001 - 2026.
3
4This file is part of BDSIM.
5
6BDSIM is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published
8by the Free Software Foundation version 3 of the License.
9
10BDSIM is distributed in the hope that it will be useful, but
11WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
17*/
18#ifndef PERENTRYHISTOGRAMSETC_H
19#define PERENTRYHISTOGRAMSETC_H
20#include "PerEntryHistogramSet.hh"
21
22#include "BDSOutputROOTEventSamplerC.hh"
23
24#include <set>
25
26class Event;
27class HistogramDef;
28class HistogramDefSet;
29class TChain;
30
31
41{
42public:
43 PerEntryHistogramSetC(const HistogramDefSet* definitionIn,
44 Event* eventIn,
45 TChain* chainIn);
46 virtual ~PerEntryHistogramSetC();
47
52 virtual void CheckSampler();
53
54protected:
57 virtual void GetPDGIDSetFromSampler(std::set<long long int>& setIn) const;
58
60};
61
62#endif
Information stored per cylindrical sampler per event.
Event loader.
Definition Event.hh:49
Specification for a set of histograms.
Common specification for a histogram.
Histogram over a set of integers not number line.
virtual void GetPDGIDSetFromSampler(std::set< long long int > &setIn) const
Histogram over a set of integers not number line.