Linear Collider Forum



Home » Software Tools » org.lcsim » How can I access the current input file from within the lcsim
Re: How can I access the current input file from within the lcsim [message #1856 is a reply to message #1855] Mon, 14 September 2009 13:04 Go to previous messageGo to previous message
wenzel
Messages: 25
Registered: February 2007
Location: Fermilab
Hi Tony


Thanks for the response. Now of course the question is how do i get access access to the LCSimLoop. I am running in batch which I think uses the JobControlManager.

For jas I found the following code snipet to get the file name.


SequentialRecordLoop loop = (SequentialRecordLoop((Studio)Application.getApplication()). getLookup().lookup(SequentialRecordLoop.class);
SequentialRecordSource source = loop.getRecordSource();
String s = source.getSourceName();


thanks for your help


Hans
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Failing to run tutorial: Processing Data in Batch Mode using LCSim XML
Next Topic:JAS3: No information about the Detector Geometry Error
Goto Forum:
  


Current Time: Tue Jul 17 14:11:12 Pacific Daylight Time 2018
.:: Contact :: Home ::.

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