Geant4
10.01.p01
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
XLogicalLattice.hh
Go to the documentation of this file.
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
#ifndef XLogicalLattice_h
28
#define XLogicalLattice_h
29
30
#define MAXRES 322 //maximum one dimensional map resolution
31
32
#include <iostream>
33
#include <fstream>
34
#include <string>
35
#include "
G4ThreeVector.hh
"
36
37
38
using namespace
std
;
39
40
class
XLogicalLattice
{
41
42
private
:
43
44
int
fVresTheta
;
//velocity map theta resolution (inclination)
45
int
fVresPhi
;
//velocity map phi resolution (azimuth)
46
int
fDresTheta
;
//direction map theta resn
47
int
fDresPhi
;
//direction map phi resn
48
49
double
fMap[3][
MAXRES
][
MAXRES
];
//map for group velocity scalars
50
double
fN_map[3][
MAXRES
][
MAXRES
][3];
51
//normalized map containing group V direction unit vectors
52
53
double
fA
;
//Scaling constant for Anh.Dec. mean free path
54
double
fB
;
//Scaling constant for Iso.Scat. mean free path
55
double
fDosL
;
//Density of states for L-phonons
56
double
fDosST
;
//Density of states for ST-phonons
57
double
fDosFT
;
//Density of states for FT-phonons
58
double
fBeta, fGamma, fLambda,
fMu
;
//dynamical constants for material
59
60
61
ifstream
fMapFile
;
62
int
fThetaRes
, fPhiRes;
63
64
public
:
65
66
67
68
XLogicalLattice
();
69
~
XLogicalLattice
();
70
71
void
SetDynamicalConstants(
double
,
double
,
double
,
double
);
72
void
SetScatteringConstant(
G4double
);
73
void
SetAnhDecConstant(
G4double
);
74
void
SetLDOS(
double
);
75
void
SetSTDOS(
double
);
76
void
SetFTDOS(
double
);
77
78
79
80
double
GetBeta();
81
double
GetGamma();
82
double
GetLambda();
83
double
GetMu();
84
G4double
GetScatteringConstant();
85
G4double
GetAnhDecConstant();
86
double
GetLDOS();
87
double
GetSTDOS();
88
double
GetFTDOS();
89
90
91
bool
LoadMap(
int
,
int
,
int
,
string
);
92
bool
Load_NMap(
int
,
int
,
int
,
string
);
93
double
MapKtoV(
int
,
G4ThreeVector
);
//Get full group velocity vector
94
G4ThreeVector
MapKtoVDir(
int
,
G4ThreeVector
);
95
//Get normalized group velocity direction so that normalisatioon
96
//does not have to be done at run time
97
98
};
99
100
#endif
XLogicalLattice::fVresTheta
int fVresTheta
Definition:
XLogicalLattice.hh:44
MAXRES
#define MAXRES
Definition:
XLogicalLattice.hh:30
G4ThreeVector
CLHEP::Hep3Vector G4ThreeVector
Definition:
G4ThreeVector.hh:42
XLogicalLattice::fDosL
double fDosL
Definition:
XLogicalLattice.hh:55
XLogicalLattice::fDosST
double fDosST
Definition:
XLogicalLattice.hh:56
std
XLogicalLattice::fDresTheta
int fDresTheta
Definition:
XLogicalLattice.hh:46
XLogicalLattice::fB
double fB
Definition:
XLogicalLattice.hh:54
XLogicalLattice::fMu
double fMu
Definition:
XLogicalLattice.hh:58
XLogicalLattice::fA
double fA
Definition:
XLogicalLattice.hh:53
XLogicalLattice::fDosFT
double fDosFT
Definition:
XLogicalLattice.hh:57
XLogicalLattice::fMapFile
ifstream fMapFile
Definition:
XLogicalLattice.hh:61
XLogicalLattice::fVresPhi
int fVresPhi
Definition:
XLogicalLattice.hh:45
G4double
double G4double
Definition:
G4Types.hh:76
G4ThreeVector.hh
XLogicalLattice
Definition:
XLogicalLattice.hh:40
XLogicalLattice::fThetaRes
int fThetaRes
Definition:
XLogicalLattice.hh:62
XLogicalLattice::fDresPhi
int fDresPhi
Definition:
XLogicalLattice.hh:47
geant4.10.01.p01
examples
extended
exoticphysics
channeling
include
XLogicalLattice.hh
Generated on Wed Dec 30 2015 22:37:37 for Geant4 by
1.8.8