Print

Print


Thanks,
	I don't need to run this outside of JAS so I've deleted the main
function. However, the original code came with a separate driver file
(which contained the main method) which is now reduced to:

final public class EnergyFlowReco extends Driver
{
	public EnergyFlowReco()
	{
		// Smear Tracker hits with resolution
		add(new SmearDriver());
		// Find tracks
		add(new TrackReco()); 
		// analyze events
		add(new TrackCellAssociationAnalyzer());
	}
}

Everything compiles, but when I try to load the program I receive a
message:

Error Instantiating EnergyFlowReco

with the following detail

java.lang.NoClassDefFoundError: hep/analysis/EventSource


-Brandon

On Wed, 2003-07-02 at 09:59, Tony Johnson wrote:
> The JAS2 Job class was normally used only inside a main() method to make it
> possible to run some analysis as a "batch" job outside the JAS GUI
> environment. There is no direct replacement for Job in JAS3, but if you do
> not need to be able to run outside JAS you can probably just delete the
> entire main method.
> 
> If you do need to run outside if JAS, then the same functionality should be
> achievable using AIDA's tree, and commiting the entire tree when finished,
> but the code would be a little different. If you need this functionality let
> me know and I will generate an example.
> 
> Tony
> 
> ----- Original Message ----- 
> From: "Brandon William Drummond" <[log in to unmask]>
> To: "LCD list" <[log in to unmask]>
> Sent: Wednesday, July 02, 2003 9:39 AM
> Subject: jas3
> 
> 
> > I am trying to JAS3-ize some JAS2 code, but I'm having trouble with the
> > Job class. Is there a suitable replacement?
> >
> > -Brandon
> >
> >
>