BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
__w
bdsim
bdsim
include
BDSParallelWorldInfo.hh
1
/*
2
Beam Delivery Simulation (BDSIM) Copyright (C) BDSIM Collaboration, 2001 - 2026.
3
4
This file is part of BDSIM.
5
6
BDSIM is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published
8
by the Free Software Foundation version 3 of the License.
9
10
BDSIM is distributed in the hope that it will be useful, but
11
WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
#ifndef BDSPARALLELWORLDINFO_H
19
#define BDSPARALLELWORLDINFO_H
20
21
#include "globals.hh"
22
29
class
BDSParallelWorldInfo
30
{
31
public
:
32
BDSParallelWorldInfo
();
33
BDSParallelWorldInfo
(
const
G4String& sequenceNameIn,
34
G4bool curvilinearWorldIn,
35
G4bool samplerWorldIn,
36
const
G4String& placementNameIn =
""
):
37
sequenceName
(sequenceNameIn),
38
curvilinearWorld
(curvilinearWorldIn),
39
samplerWorld
(samplerWorldIn),
40
placementName
(placementNameIn),
41
curvilinearWorldName
(placementNameIn+
"_"
+sequenceNameIn)
42
{;}
43
~BDSParallelWorldInfo
(){;}
44
45
G4String
sequenceName
;
46
G4bool
curvilinearWorld
;
47
G4bool
samplerWorld
;
48
G4String
placementName
;
49
G4String
curvilinearWorldName
;
50
};
51
52
#endif
BDSParallelWorldInfo
A simple class to hold what parallel geometry is required for each sequence.
Definition
BDSParallelWorldInfo.hh:30
BDSParallelWorldInfo::curvilinearWorldName
G4String curvilinearWorldName
Unique name for curvilinear world.
Definition
BDSParallelWorldInfo.hh:49
BDSParallelWorldInfo::samplerWorld
G4bool samplerWorld
Whether a sampler world is required.
Definition
BDSParallelWorldInfo.hh:47
BDSParallelWorldInfo::curvilinearWorld
G4bool curvilinearWorld
Whether a curvilinear world is required.
Definition
BDSParallelWorldInfo.hh:46
BDSParallelWorldInfo::sequenceName
G4String sequenceName
Name of sequence worlds will be associated with.
Definition
BDSParallelWorldInfo.hh:45
BDSParallelWorldInfo::placementName
G4String placementName
Name of placement.
Definition
BDSParallelWorldInfo.hh:48
Generated on Thu Nov 12 2026 21:36:59 for BDSIM by
1.9.8