Hi Guifen,<br><br>It is just that you did not define any delay window, so the command is unknown for Gate.<br>Just remove it !<br><br>Cheers, <br>Simon<br><br><div class="gmail_quote">On Sun, May 11, 2008 at 4:48 AM, Guifen Lin <<a href="mailto:guifen_lin@yahoo.com.cn">guifen_lin@yahoo.com.cn</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,all<br> <div>I correct the macro file(such as myexample.mac) as Nicolas tell me,but there's another error,Here is my file(scatter.mac):</div>
<div><div></div><div class="Wj3C7c"> <div>/control/verbose 0</div> <div>#####################################<br>#Choose the visualisation Parameters<br>#####################################<br>/vis/disable<br>#/control/execute visu.mac</div>
<div># W O R L D<br>/gate/world/geometry/setXLength 400. cm<br>/gate/world/geometry/setYLength 400. cm<br>/gate/world/geometry/setZLength 400. cm</div> <div>/control/execute camera0.mac</div> <div>/control/execute phantom.mac</div>
<div>/control/execute physics.mac</div> <div># I N I T I A L I Z E <br>/gate/systems/cylindricalPET/verbose 0<br>/gate/geometry/enableAutoUpdate<br>/run/initialize</div> <div>/control/execute digitizer.mac</div> <div>
# V E R B O S I T Y<br>/control/verbose 0<br>/grdm/verbose 0<br>/run/verbose 0<br>/event/verbose 0<br>/tracking/verbose
0<br>/gate/application/verbose 0<br>/gate/generator/verbose 0<br>/gate/stacking/verbose 0<br>/gate/event/verbose 0<br>/gate/source/verbose 0</div> <div>/control/execute sources.mac</div> <div># O U T P U T </div> <div>
/gate/output/verbose 0</div> <div><br>/gate/output/ascii/setOutFileSinglesAdderFlag 0<br>/gate/output/ascii/setOutFileSinglesReadoutFlag 0<br>/gate/output/ascii/setOutFileSinglesThresholderFlag 0<br>/gate/output/ascii/setOutFileSinglesUpholderFlag 0<br>
/gate/output/ascii/setOutFileSinglesFlag 0<br>/gate/output/ascii/setOutFileHitsFlag 0<br>/gate/output/ascii/setOutFileCoincidencesFlag 0</div> <div> </div> <div>/gate/output/root/setFileName scatterBGO<br>/gate/output/root/setRootHitFlag 0<br>
/gate/output/root/setRootSinglesFlag 0<br>/gate/output/root/setRootCoincidencesFlag 1<br>/gate/output/root/setRootdelayFlag 0<br>/gate/output/root/setRootNtupleFlag 0<br>/gate/output/root/setSaveRndmFlag 0</div> <div><br>
# S T A R T
<br>/gate/application/setTimeSlice 300. s<br>/gate/application/setTimeStart 0. s<br>/gate/application/setTimeStop 300. s<br>/gate/application/startDAQ<br></div> <div> </div> </div></div><div>[guifenlin@server scatter]$ Gate scatter.mac</div>
<div><div></div><div class="Wj3C7c"> <div>*************************************************************<br> Geant4 version Name: geant4-09-00-patch-02 (25-January-2008)<br> Copyright : Geant4 Collaboration<br>
Reference : NIM A 506 (2003), 250-303<br> WWW : <a href="http://cern.ch/geant4" target="_blank">http://cern.ch/geant4</a><br>*************************************************************</div>
<div>Visualization Manager instantiating...<br>Visualization Manager initialising...<br>Registering graphics systems...</div> <div>You have successfully registered the following graphics systems.<br>Current available graphics systems are:<br>
ASCIITree (ATree)<br> DAWNFILE (DAWNFILE)<br> G4HepRep (HepRepXML)<br> G4HepRepFile (HepRepFile)<br> RayTracer (RayTracer)<br> VRML1FILE (VRML1FILE)<br> VRML2FILE (VRML2FILE)<br> OpenGLImmediateX (OGLIX)<br> OpenGLStoredX (OGLSX)<br>
RayTracerX (RayTracerX)</div> <div>Registering model factories...</div> <div>You have successfully registered the following model factories.<br>Registered model factories:<br> generic<br> drawByCharge<br> drawByParticleID<br>
drawByOriginVolume<br> drawByAttribute</div> <div>Registered
filter factories:<br> chargeFilter<br> particleFilter<br> originVolumeFilter<br> attributeFilter</div> <div>[GateSystemListManager::CheckScannerAutoCreation:<br> Creating new system based on volume inserter 'cylindricalPET'<br>
GateMaterialDatabase: did not load properties table for material 'Aluminium'.<br> This is only a problem when OPTICAL PHOTONS are transported in this material.'<br> GateMaterialDatabase: did not load properties table for material 'Tungsten'.<br>
This is only a problem when OPTICAL PHOTONS are transported in this material.'<br> GateMaterialDatabase: did not load properties table for material 'PTFE'.<br> This is only a problem when OPTICAL PHOTONS are transported in this material.'<br>
GateMaterialDatabase: did not load properties table for material
'BGO'.<br> This is only a problem when OPTICAL PHOTONS are transported in this material.'<br> GateMaterialDatabase: did not load properties table for material 'Glass'.<br> This is only a problem when OPTICAL PHOTONS are transported in this material.'</div>
<div>GATE object: 'systems/cylindricalPET'<br>Components:</div> <div>GATE object: 'systems/cylindricalPET/base'<br>Attached to volume: cylindricalPET<br>Nb of children: 1</div> <div>
GATE object: 'systems/cylindricalPET/rsector'<br> Attached to volume: rsector<br> Nb of children: 1</div>
<div> GATE object: 'systems/cylindricalPET/module'<br> Attached to volume: module<br> Nb of children: 1</div> <div> GATE object: 'systems/cylindricalPET/submodule'<br>
Attached to volume:
---<br> Nb of children: 1</div> <div> GATE object: 'systems/cylindricalPET/crystal'<br> Attached to volume: crystal<br>
Nb of children: 4</div>
<div> GATE object: 'systems/cylindricalPET/layer0'<br> Attached to volume: ---<br> Nb of children: 0</div>
<div> GATE object: 'systems/cylindricalPET/layer1'<br> Attached to volume: ---<br> Nb of children: 0</div>
<div> GATE object: 'systems/cylindricalPET/layer2'<br> Attached to volume: ---<br> Nb of children: 0</div>
</div></div><div><div><div></div><div class="Wj3C7c"> GATE object: 'systems/cylindricalPET/layer3'<br> Attached to volume: ---<br>
Nb of children: 0<br>geometrical design type: 1<br>ring diameter: 93.108 cm<br>rsector axial pitch: 0 fm<br>rsector
azimuthal pitch: 6.42857 degree<br>rsector tangential size: 4.998 cm<br>rsector axial size: 15.204 cm<br>module axial size: 5.048 cm<br>module tangential size: 2.399 cm<br>module axial pitch: 5.068 cm<br>module tangential pitch: 2.599 cm<br>
submodule axial size: 5.048 cm<br>submodule tangential size: 2.399 cm<br>submodule axial pitch: 0 fm<br>submodule tangential pitch: 0 fm<br>crystal radial size: 3.002 cm<br>crystal axial size: 8.22 mm<br>crystal tangential size: 3.88 mm<br>
crystal axial pitch: 8.22 mm<br>crystal tangential pitch: 3.88 mm<br>Axial nb of rsectors: 1<br>Azimuthal nb of rsectors: 56<br>Axial nb of modules: 3<br>Tangential nb of modules: 2<br>Axial nb of submodules: 1<br>Tangential nb of submodules: 1<br>
Axial nb of crystals: 6<br>Tangential nb of crystals: 6<br>Radial nb of layers: 0<br></div></div>WARNING !<br> SetCutValueForOthers became obsolete.<br> It is harmless to remove this invokation without any side effects.<br>
This dummy method
implementation will be removed soon.<div class="Ih2E3d"><br> GateMaterialDatabase: did not load properties table for material 'Polyethylene'.<br> This is only a problem when OPTICAL PHOTONS are transported in this material.'<br>
GateMaterialDatabase: did not load properties table for material 'Water'.<br> This is only a problem when OPTICAL PHOTONS are transported in this material.'<br>Warning: the selected insertion name ('adder') was already in use.<br>
Name 'adder2' will be used instead.<br>Nof Higher level 2<br> Ignoring confine condition<br>GateSourceMgr::ListSources: List of the sources in the source managaer<br>Source --------------> F18LineSource<br> ID : 0<br>
type :<br> activity
(Bq) : 1e+06<br> startTime (s) : 0<br> time (s) : 0<br> forcedUnstable : 1<br> forcedHalfLife (s) : 6586.2<br> verboseLevel : 0<br>----------------------</div></div><div class="Ih2E3d">
<div>***** COMMAND NOT FOUND </gate/output/root/setRootdelayFlag 0> *****</div> </div><div><div class="Ih2E3d">***** Batch is interupted!! *****<br>Graphics systems deleted.<br>Visualization Manager deleting...<br>
</div>[guifenlin@server scatter]$<br></div> <div> </div> <div> </div><p>
</p><hr size="1"><a href="http://cn.mail.yahoo.com/" target="_blank"> ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡</a><br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
<a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
<br></blockquote></div><br>