Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4UCNBoundaryProcess.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 //
27 // $Id: G4UCNBoundaryProcess.hh 71487 2013-06-17 08:19:40Z gcosmo $
28 //
29 //
31 // Ultra Cold Neutron (UCN) Boundary Process Class Definition
33 //
34 // File: G4UCNBoundaryProcess.hh
35 // Description: Discrete Process -- Boundary Process of UCN
36 // Version: 1.0
37 // Created: 2014-06-04
38 // Author: Peter Gumplinger
39 // Adopted from: UCNMaterialBoundary by Peter Fierlinger 4.9.2004
40 // Updated:
41 // mail: gum@triumf.ca
42 //
44 
45 #ifndef G4UCNBOUNDARYPROCESS_HH
46 #define G4UCNBOUNDARYPROCESS_HH 1
47 
49 // Includes
51 
52 #include "G4VDiscreteProcess.hh"
53 
54 #include "G4Neutron.hh"
55 
57 
59 
60 // Class Description:
61 // Discrete Process -- Boundary Process of Ultra Cold Neutrons.
62 // Reflects/Absorpts UCN at boundaries.
63 // Class inherits publicly from G4VDiscreteProcess.
64 // Class Description - End:
65 
67 // Class Definition
69 
70 
81  };
82 
84 {
85 
86 public:
87 
89  // Constructors and Destructor
91 
92  G4UCNBoundaryProcess(const G4String& processName = "UCNBoundaryProcess",
93  G4ProcessType type = fUCN);
94  virtual ~G4UCNBoundaryProcess();
95 
96 private:
97 
99 
101  // Operators
103 
105 
106 public:
107 
109  // Methods
111 
112  G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
113  // Returns true -> 'is applicable' only for an UCN.
114 
115  G4double GetMeanFreePath(const G4Track& aTrack,
116  G4double ,
118 
119  G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
120  const G4Step& aStep);
121 
122 private:
123 
125 
127 
129 
131 
134 
135  // the G4UCNMaterialPropertiesTable of PreStepPoint
137  // the G4UCNMaterialPropertiesTable of PostStepPoint
139 
142 
144  // Methods
146 
148 
150 
152 
154 
156 
158 
160 
161 public:
162 
165  G4double , G4double );
168  G4double , G4double , G4double& );
169 
170 private:
171 
176 
178  G4ThreeVector );
179 
180  void BoundaryProcessVerbose() const;
181 
182  // Invoke SD for post step point if the photon is 'detected'
183  G4bool InvokeSD(const G4Step* step);
184 
185 private:
186 
194 
196 
197 public:
198 
199  void SetMicroRoughness(G4bool );
201 
203 
204  void BoundaryProcessSummary() const;
205 
208 
211 
213  G4double GetPhi_o() {return fphi_o;};
214 
215 };
216 
218 // Inline methods
220 
221 inline G4bool
223 {
224  return ( &aParticleType == G4Neutron::NeutronDefinition() );
225 }
226 
227 inline
229 {
230  return theStatus;
231 }
232 
233 inline
235 {
236  // Returns true for Energy > Fermi Potential Difference
237 
238  return (Energy > FermiPotDiff);
239 }
240 
241 inline
243 {
245 }
246 
247 inline
249 {
251 }
252 
253 #endif /* G4UCNBOUNDARYPROCESS_HH */
G4UCNBoundaryProcessStatus theStatus
G4UCNBoundaryProcess & operator=(const G4UCNBoundaryProcess &right)
G4ThreeVector MRreflect(G4double, G4ThreeVector, G4ThreeVector, G4double, G4double)
G4UCNBoundaryProcess(const G4String &processName="UCNBoundaryProcess", G4ProcessType type=fUCN)
void BoundaryProcessVerbose() const
G4ThreeVector MRDiffTrans(G4ThreeVector, G4double, G4double, G4ThreeVector, G4double)
G4bool InvokeSD(const G4Step *step)
void SetMaterialPropertiesTable2(G4UCNMaterialPropertiesTable *MPT)
G4bool IsApplicable(const G4ParticleDefinition &aParticleType)
G4double condition(const G4ErrorSymMatrix &m)
G4UCNBoundaryProcessStatus
G4ThreeVector Reflect(G4double, G4ThreeVector, G4ThreeVector)
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
G4double GetMeanFreePath(const G4Track &aTrack, G4double, G4ForceCondition *condition)
G4ProcessType
G4ThreeVector MRreflectHigh(G4double, G4double, G4double, G4ThreeVector, G4ThreeVector, G4double, G4double, G4double &)
G4UCNMaterialPropertiesTable * aMaterialPropertiesTable2
G4bool Loss(G4double, G4double, G4double)
G4UCNMaterialPropertiesTable * aMaterialPropertiesTable1
Definition: G4Step.hh:76
G4ThreeVector LDiffRefl(G4ThreeVector)
G4RotationMatrix GetCoordinateTransformMatrix(G4ThreeVector, G4ThreeVector)
G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep)
int G4int
Definition: G4Types.hh:78
void BoundaryProcessSummary() const
G4double Reflectivity(G4double, G4double)
void SetMaterialPropertiesTable1(G4UCNMaterialPropertiesTable *MPT)
G4bool High(G4double, G4double)
G4ForceCondition
static G4Neutron * NeutronDefinition()
Definition: G4Neutron.cc:99
G4double Transmit(G4double, G4double)
G4UCNBoundaryProcessStatus GetStatus() const
G4UCNBoundaryProcessMessenger * fMessenger
G4ThreeVector MRDiffRefl(G4ThreeVector, G4double, G4double, G4ThreeVector, G4double)