BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSOutputROOTEventCavityInfo.hh
1/*
2Beam Delivery Simulation (BDSIM) Copyright (C) Royal Holloway,
3University of London 2001 - 2023.
4
5This file is part of BDSIM.
6
7BDSIM is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published
9by the Free Software Foundation version 3 of the License.
10
11BDSIM is distributed in the hope that it will be useful, but
12WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
18*/
19#ifndef BDSOUTPUTROOTEVENTCAVITYINFO_H
20#define BDSOUTPUTROOTEVENTCAVITYINFO_H
21
22#ifndef __ROOTBUILD__
24#endif
25
26#include "TObject.h"
27
28#include <vector>
29
36class BDSOutputROOTEventCavityInfo: public TObject
37{
38public:
41
42 std::string componentName;
43 std::string componentType;
44 double length;
45 double tilt;
46 double efield;
47 double gradient;
48 double frequency;
49 double phase;
50 std::string material;
51 std::string cavityType;
52 double irisRadius;
53 double thickness;
54 double equatorRadius;
55 double halfCellLength;
56 int numberOfPoints;
57 int numberOfCells;
58 double equatorHorizontalAxis;
59 double equatorVerticalAxis;
60 double irisHorizontalAxis;
61 double irisVerticalAxis;
62 double tangentLineAngle;
63
65#ifndef __ROOTBUILD__
66 void Fill(const BDSBeamlineElement* element);
67#endif
68 virtual void Flush();
69
71};
72
73
74#endif
A class that holds a fully constructed BDSAcceleratorComponent as well as any information relevant to...
Data stored for each cavity in the model.
BDSOutputROOTEventCavityInfo()
Default constructor for ROOT.