Jet Analysis Driver with LCIO Output Driver [message #1802] |
Fri, 17 July 2009 01:34  |
twhite Messages: 2 Registered: July 2009 |
|
|
|
Hi,
I am able to add both these drivers to the constructor and have them run during each event by calling
super.process;
However I want to be able to output only selected events, which was possible before I added the Jet Analysis driver but now seems impossible as I want to run the Jet Analysis driver in every event.
I have tried adding and removing the drivers during each event to selectively and individually run the each driver but this has so far just caused the program to freeze when I run it.
i.e.
super.add(output);
super.remove(j);
super.process;
super.remove(output);
super.add(j);
where 'output' and 'j' have been defined as the drivers with the correct settings, both of which work fine if added in the constructor and simply called in the event.
I am pretty new to this so was wondering if I'm missing anything?
Is there another way to output to an LCIO file?
Thanks
Tom
|
|
|