BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
__w
bdsim
bdsim
include
BDSLaserwireBuilder.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 BDSLASERWIREBUILDER_H
19
#define BDSLASERWIREBUILDER_H
20
#include "BDSAcceleratorComponent.hh"
21
22
#include "globals.hh"
// geant4 types / globals
23
#include "G4ThreeVector.hh"
24
#include "G4Tubs.hh"
25
26
class
BDSLaser
;
27
34
class
BDSLaserwireBuilder
:
public
BDSAcceleratorComponent
35
{
36
public
:
37
BDSLaserwireBuilder
(G4String nameIn,
38
G4double lengthIn,
39
G4double horizontalWidthIn,
40
G4double laserOffsetThetaIn,
41
G4double laserOffsetPhiIn,
42
G4ThreeVector laserOffsetIn,
43
BDSLaser
* laserIn);
44
virtual
~BDSLaserwireBuilder
();
45
46
47
protected
:
48
49
virtual
void
BuildContainerLogicalVolume
();
50
51
virtual
void
Build
();
52
53
54
G4double horizontalWidth;
55
G4double laserOffsetTheta;
56
G4double laserOffsetPhi;
57
58
G4ThreeVector laserOffset;
59
BDSLaser
* laser;
60
G4double laserRadius;
61
62
};
63
64
#endif
BDSAcceleratorComponent
Abstract class that represents a component of an accelerator.
Definition
BDSAcceleratorComponent.hh:77
BDSLaser
Class to provide laser intensity at any point.
Definition
BDSLaser.hh:35
BDSLaserwireBuilder
Definition
BDSLaserwireBuilder.hh:35
BDSLaserwireBuilder::Build
virtual void Build()
Definition
BDSLaserwireBuilder.cc:54
BDSLaserwireBuilder::BuildContainerLogicalVolume
virtual void BuildContainerLogicalVolume()
Definition
BDSLaserwireBuilder.cc:39
Generated on Thu Nov 12 2026 21:36:59 for BDSIM by
1.9.8