Linear Collider Forum



Home » Software Tools » org.lcsim » xml with driver
xml with driver [message #1695] Mon, 02 February 2009 17:26 Go to previous message
tjkim
Messages: 2
Registered: October 2008
Hello,

I was trying to run PFA with xml files.
I have two basic questions.

In PFA, it has lots of drive which have sub-driver and parameters.
For examples,

public class A extends Driver
{
public A()
{
add(new B());
add(new C(x,y,z));
}
}

In the B driver,

public class B extends Driver
{
public B()
{
add(new D());
.
.
}
}

I know that I am supposed to put drive name like following,
<drivers>
<driver name="A" type="...A">
</driver>
</drivers>

But I am wondering if xml file can handle this sub-driver like D() case and driver with parameters like C(x,y,z) driver.

Thank you for your help.

Taejeong
 
Read Message
Read Message
Previous Topic:Problem finding new class after adding it to org.lcsim
Next Topic:"Number of SeedSectors: 0" messages
Goto Forum:
  


Current Time: Tue Jan 16 01:33:39 Pacific Standard Time 2018
.:: Contact :: Home ::.

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