#include <G4ChannelingMaterialData.hh>
Definition at line 41 of file G4ChannelingMaterialData.hh.
◆ G4ChannelingMaterialData()
G4ChannelingMaterialData::G4ChannelingMaterialData |
( |
const G4String & |
name | ) |
|
Definition at line 36 of file G4ChannelingMaterialData.cc.
36 :
38fPotential(0),
39fElectricFieldX(0),
40fElectricFieldY(0),
41fNucleiDensity(0),
42fElectronDensity(0),
G4PhysicsVector * fVectorR
◆ ~G4ChannelingMaterialData()
G4ChannelingMaterialData::~G4ChannelingMaterialData |
( |
| ) |
|
|
virtual |
◆ GetBR()
◆ GetEFX()
◆ GetEFXEl()
◆ GetEFY()
◆ GetEFYEl()
◆ GetElD()
◆ GetElDEl()
◆ GetNuD()
◆ GetNuDEl()
◆ GetPot()
◆ GetPotEl()
◆ IsBent()
virtual G4bool G4ChannelingMaterialData::IsBent |
( |
| ) |
|
|
inlinevirtual |
◆ Print()
void G4ChannelingMaterialData::Print |
( |
| ) |
const |
|
inlinevirtual |
◆ SetBR() [1/2]
void G4ChannelingMaterialData::SetBR |
( |
const G4String & |
filename | ) |
|
|
virtual |
Definition at line 102 of file G4ChannelingMaterialData.cc.
102 {
103 std::ifstream vFileIn;
104 int points;
105 float maximum;
106 vFileIn.open(filename);
107 vFileIn >> points >> maximum;
108
110 double vTempX;
113 for(
G4int i0=0;i0<points; i0++){
114 vFileIn >> vTempX;
115 if(vTempX>maximumY) maximumY = vTempX;
116 if(vTempX<minimumY) minimumY = vTempX;
118 }
119 G4cout <<
"G4ChannelingMaterialData::SetBR()" <<
G4endl;
121 G4cout <<
"Point: " << points <<
" - Length [mm]: " << maximum <<
G4endl;
122 G4cout <<
"Maximum Radius [m]: " << maximumY <<
" - Minimum Radius [m]: " << minimumY <<
G4endl;
124}
void PutValue(const std::size_t index, const G4double value)
◆ SetBR() [2/2]
void G4ChannelingMaterialData::SetBR |
( |
G4double |
val | ) |
|
|
virtual |
◆ SetFilename()
void G4ChannelingMaterialData::SetFilename |
( |
const G4String & |
fileName | ) |
|
◆ SetFilenameElement()
void G4ChannelingMaterialData::SetFilenameElement |
( |
const G4String & |
fileName, |
|
|
std::string |
elementName |
|
) |
| |
◆ bIsBent
G4bool G4ChannelingMaterialData::bIsBent |
|
protected |
◆ fVectorR
The documentation for this class was generated from the following files: