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 #1858 is a reply to message #1855] Mon, 21 September 2009 06:10 Go to previous message
wenzel
Messages: 25
Registered: February 2007
Location: Fermilab
Hi All

I managed to get to to the using the getLCSimLoop() provided by Jeremy. To access the instance of the the JobControlManager I made it a Singleton and provided a getInstance() method.
No I can access the RecordSource
lcloop = JCM.getLCSimLoop();
rsource = lcloop.getRecordSource();
System.out.println(rsource.getSourceName());


Unfortunately that doesn't provide me with the information I need which is the current lcio file that is being processed instead I get the filelist. Any idea how I could get the current file?
I have attached the modified java classes.


thanks


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: Mon Jan 22 11:46:14 Pacific Standard Time 2018
.:: Contact :: Home ::.

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