BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSScreenFrameRectangular.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 BDSSCREENFRAMERECTANGULAR_H
19#define BDSSCREENFRAMERECTANGULAR_H
20
21#include "BDSScreenFrame.hh"
22
23#include "globals.hh"
24#include "G4RotationMatrix.hh"
25#include "G4ThreeVector.hh"
26#include "G4TwoVector.hh"
27
28class G4LogicalVolume;
29class G4Material;
30
40{
41public:
42 BDSScreenFrameRectangular(G4String name,
43 G4ThreeVector size,
44 G4TwoVector windowSize,
45 G4TwoVector windowOffset,
46 G4Material* material);
47
53
55 virtual void Build();
56
58 void Place(G4RotationMatrix* rot,
59 G4ThreeVector pos,
60 G4LogicalVolume* motherVol);
61
62
63protected:
64 virtual void SetVisAtts();
65
66private:
69 G4ThreeVector cavityPos;
70 G4RotationMatrix* zeroRot;
71};
72
73#endif
BDSScreenFrameRectangular(BDSScreenFrameRectangular &)=delete
Assignment and copy constructor not implemented nor used.
virtual void SetVisAtts()
Set the visual attributes to member logVol.
void Place(G4RotationMatrix *rot, G4ThreeVector pos, G4LogicalVolume *motherVol)
Place member logVol (from base class) into argument motherVol.
virtual void Build()
Construct the geometry.
BDSScreenFrameRectangular & operator=(const BDSScreenFrameRectangular &)=delete
Assignment and copy constructor not implemented nor used.
BDSScreenFrameRectangular()=delete
Remove default constructor to force use of supplied one.
A frame for the vacuum window in e.g. BDSMultilayerScreen.