BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSOutputROOTEventBeam.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 BDSOUTPUTROOTEVENTBEAM_H
19#define BDSOUTPUTROOTEVENTBEAM_H
20
21#include "TObject.h"
22
23// relative path to suppress ROOT error message (issue #199)
24#include "../parser/beamBase.h"
25
32class BDSOutputROOTEventBeam: public TObject, public GMAD::BeamBase
33{
34public:
36 explicit BDSOutputROOTEventBeam(const GMAD::BeamBase* ob);
38
39#ifndef __ROOTBUILD__
40 void Fill();
41#endif
42 ClassDef(BDSOutputROOTEventBeam,7);
43};
44
45#endif
Class to store all beam options for a BDSIM run.
Options for a beam distribution.
Definition beamBase.h:34