Linear Collider Forum

Home » Simulation » Mokka » Setting pre-init variables
Setting pre-init variables [message #1514] Mon, 23 June 2008 01:31 Go to previous message
Messages: 78
Registered: March 2006
Location: University of Victoria
Hello all,

I was trying to execute the following commands in my macro file:

/Mokka/init/lcioWriteMode WRITE_NEW
/Mokka/init/lcioFilename last_run.slcio

but I keep getting an error when the macro file is executed:

***** Illegal application state </Mokka/init/lcioWriteMode WRITE_NEW> *****

Delving into the source code reveals that these commands are declared to be run in the phase G4State_PreInit.

Using the command line the lcio filename can be specified with the -l command but I couldn't find an option for changing the lcio write mode.

What is the proper method of executing pre-init commands?

Thanks in advance
Read Message
Read Message
Read Message
Previous Topic:HCAL number of layers and yoke with plug
Next Topic:lcioDetailedTRKHitMode
Goto Forum:

Current Time: Sat Mar 24 10:36:54 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software