LISTSERV mailing list manager LISTSERV 16.5

Help for LCD-SIM Archives


LCD-SIM Archives

LCD-SIM Archives


LCD-SIM@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

LCD-SIM Home

LCD-SIM Home

LCD-SIM  October 2000

LCD-SIM October 2000

Subject:

Re: FastMC with JAS 2.2.1

From:

Wolfgang Walkowiak <[log in to unmask]>

Date:

10 Oct 2000 01:02:11 -0700 (PDT)Tue, 10 Oct 2000 01:02:11 -0700 (PDT)

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (132 lines)


Hi Bob,

I am currently running Jas 2.2.1 with lcd.jar 1.2 on my linux laptop
without any problems, at least not those you experience.

Since lcd.jar 1.2 is is necessary that you explicitly select either the S2
or the L2 detector design in your driver's constructor with:
   Detector.setCurrentDetector(new Detector("S2"));
in your driver's constructor(!).
The appropriate (old) ini files are supplied with the same version of
lcd.jar which contains the new MCFast with full cov. track smearing.
 
The appropriate .ini-files are contained in lcd.jar.

Here an example from one of my programs:

import hep.analysis.*;
import hep.physics.*;
import hep.lcd.event.*;
import hep.lcd.mc.fast.*;
import hep.lcd.util.driver.*;
import hep.lcd.geometry.*;
import java.util.*;
import java.io.*;

final public class TrackVtxTest extends Driver
{
	public TrackVtxTest() throws IOException 
	{
		// set the detector -- necessary for stdhep input
		Detector.setCurrentDetector(new Detector("S2"));

		// initialize MCFAst, select beamSpotConstraint		
		add(new MCFast(MCFast.noBeamSpotConstraint));

                // add analysis
		add(new TrackVtxCheck()); // analysis routine
	}
}

class TrackVtxCheck extends AbstractProcessor
{	
 ....
}

I have run that program about 5 min ago on a setup similar to yours.  Pay
attention that the detector is selected before calling the constructor of
MCFast -- the constructor already reads the resolution tables.  :-( 
The argument to the MCFast constructor
(MCFast.noBeamSpotConstraint/MCFast.withBeamSpotConstraint) is optional.

We should probably make "S2" or "L2" default ...

As with lcd.jar 1.3 the resolution tables will be updated to account for
Bruce Schumm's bug fix, which he doesn't expect to show a large effect.

I hope this helps.  Let me know, if there are more questions. ( I have
recently worked with this code and included the full covariance matrix for
track smearing into the existing structure.) 

w.w.


On Tue, 10 Oct 2000, Robert J. Wilson wrote:

> Hello,
> 
> I am unable to run FastMC in JAS 2.2.1 with lcd.jar 1.2 on a linux
> machine (despite help from Tony). The latest complaint is when I try to
> load
> (it compiles okay) -- see below. It cannot find a ResolutionTableFile.
> Perhaps all I need are the correct resolution and/or parameters files in
> the correct path. Can anybody tell me what additional files I need and
> where I should put them?
> Thanks,
> Bob
> 
> 
> Error occured during instantiation of CheckFast
> hep.lcd.util.error.LCDException: ResolutionTableFile not found!  Check
> for detector settings.  Only L2 and S2 work in this version!
>  at
> hep.lcd.mc.fast.TrackResolutionTables.<init>(TrackResolutionTables.java:29)
> 
>  at hep.lcd.mc.fast.MCFast.init(MCFast.java:34)
>  at
> hep.lcd.util.driver.AbstractProcessor.setContext(AbstractProcessor.java:44)
> 
>  at hep.lcd.util.driver.Driver.add(Driver.java:39)
>  at CheckFast.<init>(CheckFast.java:13)
>  at jas.job.AbstractJob.loadObject(AbstractJob.java:184)
> 
> 
> --
> Robert J. Wilson
> Professor of Physics
> Department of Physics
> Colorado State University
> Fort Collins, CO 80523
> Phone:  (970) 491 5033
> Fax:     (970) 491 7947
> Email: [log in to unmask]
> 
> August 2000 - July 2001:
> ========================
> Institut de Fisica d'Altes Energies
> Universitat Autonoma de Barcelona
> E-08193 Bellaterra (Barcelona)
> SPAIN
> Phone: (011 34) 93 581.28.32
> Email: [log in to unmask]
> ========================
> 
> 
> 

=============================================================================

Wolfgang Walkowiak                  Phone +1-(650)-926-3432 (@ SLAC)
Stanford Linear Accelerator Center      
Mail Stop 94
P.O.Box 20450
Stanford , CA 94309         ! -->   [log in to unmask]
USA                                 [log in to unmask]  

=============================================================================




Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

May 2015
March 2015
February 2015
January 2013
November 2012
June 2012
July 2011
April 2011
September 2010
June 2010
February 2010
October 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
September 2006
August 2006
July 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
August 2005
July 2005
June 2005
May 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
April 2003
March 2003
February 2003
January 2003
July 2002
October 2001
June 2001
May 2001
March 2001
February 2001
December 2000
November 2000
October 2000
June 2000
April 2000
March 2000
February 2000
January 2000
November 1999
October 1999
September 1999
August 1999
July 1999
June 1999
May 1999
April 1999
March 1999
February 1999
January 1999

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use