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