err importing original Varian Phase space files
Quote from emintavlayan on March 25, 2026, 9:20 amHi all,
I am getting error importing original Varian Phase space files:
- Key phrase:$RECORD_CONSTANT: vals:
- Error: the calculated record length does not match the one declared in the header !
any ideas?!
//TrueBeam_06E_00.IAEAheader :
$IAEA_INDEX:
00$TITLE:
Varian TrueBeam 06E beam; created with VirtuaLinac (Sept. 24, 2014)$FILE_TYPE:
0$CHECKSUM:
986120961$RECORD_CONTENTS:
1 // X is stored ?
1 // Y is stored ?
0 // Z is stored ?
1 // U is stored ?
1 // V is stored ?
0 // W is stored ?
0 // Weight is stored ?
0 // Extra floats stored ?
0 // Extra longs stored ?$RECORD_CONSTANT:
26.7 // Constant Z$RECORD_LENGTH:
21$BYTE_ORDER:
1234$ORIG_HISTORIES:
65000000$PARTICLES:
46958141$PHOTONS:
9905535$ELECTRONS:
37050269$POSITRONS:
2337$PROTONS:
0$NEUTRONS:
0$TRANSPORT_PARAMETERS:
Physics list: emstandard_opt4
Interaction data: G4EMLOW6.35
Range cut (photon) : 0.01 mm
Range cut (electron): 0.01 mm
Range cut (positron): 0.01 mm$MACHINE_TYPE:
x86_64$MONTE_CARLO_CODE_VERSION:
Name: geant4-10-00-patch-01 [MT] (28-February-2014)$GLOBAL_PHOTON_ENERGY_CUTOFF:
0.0$GLOBAL_PARTICLE_ENERGY_CUTOFF:
0.0$COORDINATE_SYSTEM_DESCRIPTION:
IEC 61217. Z is beam axis; X is crossplane; Y is inplane.
Positive Z is opposite beam direction and Z=0 is at isocenter
(1000 mm from virtual source). For consistency with photon files,
"Constant Z" parameter above is the distance from the photon virtual
source (i.e. particles are 73.3 cm from isoplane.)$MD5SUM:
71642220aa1e45d3dad341e41f356d32$BEAM_NAME:
Electron beam with foil 1 name: 6E and foil 2 name: 6E
Foil 1 thickness (relative to nominal): 1.07
Thickness of metal coating on ion chamber windows (relative to nominal): 0.8$FIELD_SIZE:
Jaws/mlc not included in simulation.$NOMINAL_SSD:
$MC_INPUT_FILENAME:
$VARIANCE_REDUCTION_TECHNIQUES:
$INITIAL_SOURCE_DESCRIPTION:
Random incident beam. Mean energy of incident electrons: 6.84 MeV.
Energy spectrum is a Gaussian with sigma 0.6 MeV.
Spot is a Gaussian with sigma: 0.7 mm (X), 0.7 mm (Y).
Spot position: 0 mm (X), 0 mm (Y).
Beam divergence: 0 deg (X), 0 deg (Y);
Beam angle: 0 deg (X), 0 deg (Y).$PUBLISHED_REFERENCE:
$AUTHORS:
Daren Sawkey <daren.sawkey@varian.com>, <montecarloresearch@varian.com>$INSTITUTION:
Varian Medical Systems, Inc., 3100 Hansen Way, Palo Alto CA 94304 USA$LINK_VALIDATION:
http://myvarian.com/montecarlo$ADDITIONAL_NOTES:
Format of phase space file:
Type (1 byte); Energy (4); X (4); Y (4); MomDirX (4); MomDirY (4) Weight (if recorded) (4);
Total of 21 bytes per particle.
Units are MeV for energy, cm for X and Y.
Types are 1 (photon), 2 (electron), 3 (positron)
W is not recorded. Only particles travelling toward isocenter recorded.
Original history flag is a negative energy.$STATISTICAL_INFORMATION_PARTICLES:
// Weight Wmin Wmax <E> Emin Emax Particle
9905535 1.00000 1.00000 0.738188 0.000990 8.657561 PHOTONS
37050269 1.00000 1.00000 5.594001 0.000000 9.370461 ELECTRONS
2337 1.00000 1.00000 1.464628 0.186184 4.712856 POSITRONS$STATISTICAL_INFORMATION_GEOMETRY:
direction min max
x -6.5000 6.5000
y -6.5000 6.5000
Hi all,
I am getting error importing original Varian Phase space files:
- Key phrase:$RECORD_CONSTANT: vals:
- Error: the calculated record length does not match the one declared in the header !
any ideas?!
//TrueBeam_06E_00.IAEAheader :
$IAEA_INDEX:
00
$TITLE:
Varian TrueBeam 06E beam; created with VirtuaLinac (Sept. 24, 2014)
$FILE_TYPE:
0
$CHECKSUM:
986120961
$RECORD_CONTENTS:
1 // X is stored ?
1 // Y is stored ?
0 // Z is stored ?
1 // U is stored ?
1 // V is stored ?
0 // W is stored ?
0 // Weight is stored ?
0 // Extra floats stored ?
0 // Extra longs stored ?
$RECORD_CONSTANT:
26.7 // Constant Z
$RECORD_LENGTH:
21
$BYTE_ORDER:
1234
$ORIG_HISTORIES:
65000000
$PARTICLES:
46958141
$PHOTONS:
9905535
$ELECTRONS:
37050269
$POSITRONS:
2337
$PROTONS:
0
$NEUTRONS:
0
$TRANSPORT_PARAMETERS:
Physics list: emstandard_opt4
Interaction data: G4EMLOW6.35
Range cut (photon) : 0.01 mm
Range cut (electron): 0.01 mm
Range cut (positron): 0.01 mm
$MACHINE_TYPE:
x86_64
$MONTE_CARLO_CODE_VERSION:
Name: geant4-10-00-patch-01 [MT] (28-February-2014)
$GLOBAL_PHOTON_ENERGY_CUTOFF:
0.0
$GLOBAL_PARTICLE_ENERGY_CUTOFF:
0.0
$COORDINATE_SYSTEM_DESCRIPTION:
IEC 61217. Z is beam axis; X is crossplane; Y is inplane.
Positive Z is opposite beam direction and Z=0 is at isocenter
(1000 mm from virtual source). For consistency with photon files,
"Constant Z" parameter above is the distance from the photon virtual
source (i.e. particles are 73.3 cm from isoplane.)
$MD5SUM:
71642220aa1e45d3dad341e41f356d32
$BEAM_NAME:
Electron beam with foil 1 name: 6E and foil 2 name: 6E
Foil 1 thickness (relative to nominal): 1.07
Thickness of metal coating on ion chamber windows (relative to nominal): 0.8
$FIELD_SIZE:
Jaws/mlc not included in simulation.
$NOMINAL_SSD:
$MC_INPUT_FILENAME:
$VARIANCE_REDUCTION_TECHNIQUES:
$INITIAL_SOURCE_DESCRIPTION:
Random incident beam. Mean energy of incident electrons: 6.84 MeV.
Energy spectrum is a Gaussian with sigma 0.6 MeV.
Spot is a Gaussian with sigma: 0.7 mm (X), 0.7 mm (Y).
Spot position: 0 mm (X), 0 mm (Y).
Beam divergence: 0 deg (X), 0 deg (Y);
Beam angle: 0 deg (X), 0 deg (Y).
$PUBLISHED_REFERENCE:
$AUTHORS:
Daren Sawkey <daren.sawkey@varian.com>, <montecarloresearch@varian.com>
$INSTITUTION:
Varian Medical Systems, Inc., 3100 Hansen Way, Palo Alto CA 94304 USA
$LINK_VALIDATION:
http://myvarian.com/montecarlo
$ADDITIONAL_NOTES:
Format of phase space file:
Type (1 byte); Energy (4); X (4); Y (4); MomDirX (4); MomDirY (4) Weight (if recorded) (4);
Total of 21 bytes per particle.
Units are MeV for energy, cm for X and Y.
Types are 1 (photon), 2 (electron), 3 (positron)
W is not recorded. Only particles travelling toward isocenter recorded.
Original history flag is a negative energy.
$STATISTICAL_INFORMATION_PARTICLES:
// Weight Wmin Wmax <E> Emin Emax Particle
9905535 1.00000 1.00000 0.738188 0.000990 8.657561 PHOTONS
37050269 1.00000 1.00000 5.594001 0.000000 9.370461 ELECTRONS
2337 1.00000 1.00000 1.464628 0.186184 4.712856 POSITRONS
$STATISTICAL_INFORMATION_GEOMETRY:
direction min max
x -6.5000 6.5000
y -6.5000 6.5000
Quote from Azhar Khatri on September 26, 2026, 7:27 amThere are some attention-grabbing time limits in this article however I don’t know if I see all of them center to heart. There’s some validity however I will take maintain opinion till I look into it further. Good article , thanks and we wish extra! Added to FeedBurner as properly The Sen
There are some attention-grabbing time limits in this article however I don’t know if I see all of them center to heart. There’s some validity however I will take maintain opinion till I look into it further. Good article , thanks and we wish extra! Added to FeedBurner as properly The Sen
Quote from mawes on September 26, 2026, 8:22 amIt is best to participate in a contest for the most effective blogs on the web. I’ll advocate this website! The Hillshore
It is best to participate in a contest for the most effective blogs on the web. I’ll advocate this website! The Hillshore
Quote from lareca3949 on September 26, 2026, 9:21 amI love all the articles, I need to point out my partner and i treasured, My partner and i wants more information with regards to this kind of, simply because it is rather fantastic., Many thanks relating to uncovering.TMW Maxwell
I love all the articles, I need to point out my partner and i treasured, My partner and i wants more information with regards to this kind of, simply because it is rather fantastic., Many thanks relating to uncovering.TMW Maxwell
Quote from vibiyox351 on September 26, 2026, 9:56 amAn fascinating discussion will probably be worth comment. I do think that you can write regarding this topic, it will not become a taboo subject but typically everyone is too little to communicate in on such topics. Yet another. CheersAurea
An fascinating discussion will probably be worth comment. I do think that you can write regarding this topic, it will not become a taboo subject but typically everyone is too little to communicate in on such topics. Yet another. CheersAurea
Quote from rixihex171 on September 26, 2026, 10:45 amIt’s the best time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I wish to suggest you some interesting things or advice. Maybe you can write next articles referring to this article. I wish to read even more things about it! The Robertson Opus
It’s the best time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I wish to suggest you some interesting things or advice. Maybe you can write next articles referring to this article. I wish to read even more things about it! The Robertson Opus
Quote from poxovoj on September 26, 2026, 1:29 pmThings i have seen in terms of computer memory is the fact there are technical specs such as SDRAM, DDR and many others, that must match the features of the motherboard. If the personal computer’s motherboard is fairly current while there are no operating-system issues, changing the memory literally takes under sixty minutes. It’s one of several easiest personal computer upgrade techniques one can picture. Thanks for giving your ideas. 8@BT
Things i have seen in terms of computer memory is the fact there are technical specs such as SDRAM, DDR and many others, that must match the features of the motherboard. If the personal computer’s motherboard is fairly current while there are no operating-system issues, changing the memory literally takes under sixty minutes. It’s one of several easiest personal computer upgrade techniques one can picture. Thanks for giving your ideas. 8@BT
Página en mantenimiento.
Page under maintenance.
