Geant4
v4-10.4-release
메인 페이지
관련된 페이지
모듈
네임스페이스
클래스
파일들
파일 목록
파일 멤버
모두
클래스
네임스페이스들
파일들
함수
변수
타입정의
열거형 타입
열거형 멤버
Friends
매크로
그룹들
페이지들
examples
extended
field
field04
include
F04FocusSolenoid.hh
이 파일의 문서화 페이지로 가기
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
// $Id: F04FocusSolenoid.hh 68021 2013-03-13 13:36:07Z gcosmo $
27
//
30
//
31
32
#ifndef F04FocusSolenoid_h
33
#define F04FocusSolenoid_h 1
34
35
#include "
G4LogicalVolume.hh
"
36
37
#include "
F04SimpleSolenoid.hh
"
38
39
// F04FocusSolenoid implements a solenoid magnet with an increased
40
// cylindrical magnetic field in +/- z-direction (or half focusing)
41
42
class
F04FocusSolenoid
:
public
F04SimpleSolenoid
43
{
44
public
:
45
47
F04FocusSolenoid
(
G4double
,
G4double
,
G4double
,
48
G4LogicalVolume
*,
G4ThreeVector
);
49
51
virtual
~F04FocusSolenoid
() {}
52
54
void
SetHalf
(
G4bool
h) {
fHalf
= h; }
55
58
virtual
void
AddFieldValue
(
const
G4double
point[4],
G4double
field[6])
const
;
59
60
private
:
61
62
G4bool
fHalf
;
63
64
G4double
fB1
;
65
G4double
fB2
;
66
67
};
68
69
#endif
F04FocusSolenoid::fB2
G4double fB2
Definition:
F04FocusSolenoid.hh:65
F04SimpleSolenoid.hh
Definition of the F04SimpleSolenoid class.
F04FocusSolenoid::SetHalf
void SetHalf(G4bool h)
Set F04FocusSolenoid to only half-focusing (default negative z)
Definition:
F04FocusSolenoid.hh:54
F04FocusSolenoid::AddFieldValue
virtual void AddFieldValue(const G4double point[4], G4double field[6]) const
Definition:
F04FocusSolenoid.cc:55
G4double
double G4double
Definition:
G4Types.hh:76
G4bool
bool G4bool
Definition:
G4Types.hh:79
F04FocusSolenoid::fB1
G4double fB1
Definition:
F04FocusSolenoid.hh:64
F04FocusSolenoid::~F04FocusSolenoid
virtual ~F04FocusSolenoid()
Destructor.
Definition:
F04FocusSolenoid.hh:51
F04SimpleSolenoid
Definition:
F04SimpleSolenoid.hh:44
CLHEP::Hep3Vector
Definition:
ThreeVector.h:41
G4LogicalVolume.hh
F04FocusSolenoid::fHalf
G4bool fHalf
Definition:
F04FocusSolenoid.hh:62
F04FocusSolenoid::F04FocusSolenoid
F04FocusSolenoid(G4double, G4double, G4double, G4LogicalVolume *, G4ThreeVector)
Default constructor.
Definition:
F04FocusSolenoid.cc:43
G4LogicalVolume
Definition:
G4LogicalVolume.hh:190
F04FocusSolenoid
Definition:
F04FocusSolenoid.hh:42
다음에 의해 생성됨 :
1.8.5