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) 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 BDSOUTPUTROOTEVENTCAVITYINFO_H
19#define BDSOUTPUTROOTEVENTCAVITYINFO_H
20
21#ifndef __ROOTBUILD__
23#endif
24
25#include "TObject.h"
26
27#include <vector>
28
35class BDSOutputROOTEventCavityInfo: public TObject
36{
37public:
40
41 std::string componentName;
42 std::string componentType;
43 double length;
44 double tilt;
45 double efield;
46 double gradient;
47 double frequency;
48 double phase;
49 std::string material;
50 std::string cavityType;
51 double irisRadius;
52 double thickness;
53 double equatorRadius;
54 double halfCellLength;
55 int numberOfPoints;
56 int numberOfCells;
57 double equatorHorizontalAxis;
58 double equatorVerticalAxis;
59 double irisHorizontalAxis;
60 double irisVerticalAxis;
61 double tangentLineAngle;
62
64#ifndef __ROOTBUILD__
65 void Fill(const BDSBeamlineElement* element);
66#endif
67 virtual void Flush();
68
70};
71
72
73#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.