BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSLaserwireBuilder.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 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
26class BDSLaser;
27
35{
36public:
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
47protected:
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
Abstract class that represents a component of an accelerator.
Class to provide laser intensity at any point.
Definition BDSLaser.hh:35
virtual void BuildContainerLogicalVolume()