OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
MultiBunchDump.h
Go to the documentation of this file.
1//
2// Class MultiBunchDump
3// This class writes a SDDS file of single bunch statistics in multibunch simulations.
4//
5// Copyright (c) 2018 - 2019, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
6// All rights reserved
7//
8// Implemented as part of the PhD thesis
9// "Precise Simulations of Multibunches in High Intensity Cyclotrons"
10//
11// This file is part of OPAL.
12//
13// OPAL is free software: you can redistribute it and/or modify
14// it under the terms of the GNU General Public License as published by
15// the Free Software Foundation, either version 3 of the License, or
16// (at your option) any later version.
17//
18// You should have received a copy of the GNU General Public License
19// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
20//
21#ifndef OPAL_MULTI_BUNCH_DUMP_H
22#define OPAL_MULTI_BUNCH_DUMP_H
23
24#include "StatBaseWriter.h"
25
27
28
30
31public:
33
34 MultiBunchDump(const std::string& fname, bool restart);
35
36 void fillHeader();
37
39 void write(const PartBunchBase<double, 3>* beam, const beaminfo_t& binfo);
40};
41
42#endif
MultiBunchHandler::beaminfo_t beaminfo_t
MultiBunchDump(const std::string &fname, bool restart)
void write(const PartBunchBase< double, 3 > *beam, const beaminfo_t &binfo)
virtual void write(const PartBunchBase< double, 3 > *)
Definition: SDDSWriter.h:66