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