#include <Doxymodules_parameterisations.h>
◆ Par01EnergySpot() [1/2]
Par01EnergySpot::Par01EnergySpot |
( |
| ) |
|
◆ Par01EnergySpot() [2/2]
Par01EnergySpot::Par01EnergySpot |
( |
const G4ThreeVector & |
point, |
|
|
G4double |
E |
|
) |
| |
◆ ~Par01EnergySpot()
Par01EnergySpot::~Par01EnergySpot |
( |
| ) |
|
◆ SetEnergy()
void Par01EnergySpot::SetEnergy |
( |
const G4double & |
E | ) |
|
|
inline |
◆ GetEnergy()
G4double Par01EnergySpot::GetEnergy |
( |
| ) |
const |
|
inline |
◆ SetPosition()
void Par01EnergySpot::SetPosition |
( |
const G4ThreeVector & |
point | ) |
|
|
inline |
◆ GetPosition()
G4ThreeVector Par01EnergySpot::GetPosition |
( |
| ) |
const |
|
inline |
◆ operator==()
◆ Draw()
void Par01EnergySpot::Draw |
( |
G4Colour * |
color = 0 | ) |
|
Definition at line 60 of file Par01EnergySpot.cc.
61{
62 G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
63 if (pVVisManager)
64 {
67 if (color != nullptr) colour = *color;
68 polyline.SetVisAttributes(colour);
70
71
72 pp.setZ(pp.z()+1*cm);
73 polyline.push_back(pp);
74 pp.setZ(pp.z()-2*cm);
75 polyline.push_back(pp);
77 polyline.push_back(pp);
78 pp.setX(pp.x()+1*cm);
79 polyline.push_back(pp);
80 pp.setX(pp.x()-2*cm);
81 polyline.push_back(pp);
83 polyline.push_back(pp);
84 pp.setY(pp.y()+1*cm);
85 polyline.push_back(pp);
86 pp.setY(pp.y()-2*cm);
87 polyline.push_back(pp);
88 pVVisManager ->
Draw(polyline);
89 }
90}
void Draw(G4Colour *color=0)
◆ Print()
void Par01EnergySpot::Print |
( |
| ) |
|
◆ fEnergy
G4double Par01EnergySpot::fEnergy |
|
private |
◆ fPoint
G4ThreeVector Par01EnergySpot::fPoint |
|
private |
The documentation for this class was generated from the following files: