From - Tue Aug 20 16:22:40 2002 Return-Path: Received: from lap19.hep.ucl.ac.uk (lap19.hep.ucl.ac.uk [128.40.4.119]) by castor.ts.infn.it (8.11.6/8.11.6) with ESMTP id g78ADaS09935 for ; Thu, 8 Aug 2002 12:13:36 +0200 (MET DST) Received: (from dwaters@localhost) by lap19.hep.ucl.ac.uk (8.11.6/8.11.6) id g78A9jK02822; Thu, 8 Aug 2002 11:09:45 +0100 X-Authentication-Warning: lap19.hep.ucl.ac.uk: dwaters set sender to dwaters@hep.ucl.ac.uk using -f Date: Thu, 8 Aug 2002 11:09:45 +0100 From: David Waters To: stefano.belforte@ts.infn.it Subject: Re: how does SamInput work ? Message-Id: <20020808110945.7afce33f.dwaters@hep.ucl.ac.uk> In-Reply-To: <3D523F77.7EE6FEF1@ts.infn.it> References: <3D512D2C.CBB70CF9@ts.infn.it> <20020807153531.17ab1bc6.dwaters@hep.ucl.ac.uk> <3D513BAF.3F3FA442@ts.infn.it> <20020807180405.668616e8.dwaters@hep.ucl.ac.uk> <3D523F77.7EE6FEF1@ts.infn.it> Organization: University College London X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Stefano, Maybe there is some residual confusion here. SAM only eats SAM datasets. You cannot just ask for a given run number. However you can select only certain run numbers from within a dataset. This is what I was referring to. All events are read in, but only those passing the requirements are passed to the AC++ path(s) for processing. This is IDENTICAL to DHInput (see output from "help" below). Cheers, Dave. SamInput> selectEvents help Specify events to be selected for the processing. All events are read in any case, but only selected are sent for processing by defined pathes. The format of the commands are: selectEvents set selectEvents include selectEvents exclude selectEvents reset where is a combinations of requirements for run# and event#. recognized relations are: = < > <= >= Examples: selectEvents set run=5 selectEvents include run=5 event=2000 selectEvents exclude run=5 event>=1000 event<2000 selectEvents set run>5 run<=10 selectEvents set run>5 event>2000 run<=10 event<=1000 Note, that specification of the event# without specification of the run# is useless. This command operates the same list of requested events that "runsTrigs" command does. On Thu, 08 Aug 2002 11:52:55 +0200 Stefano Belforte wrote: > Thanks Dave, > > David Waters wrote: > > > > (3) SamInput inherits most of the functionality that DHInput > > offers in terms of specifying run and event ranges, etc. > > OK, I understand the fact that one can not run on a single file > other then by using include file statement, it makes some sense, > but it is odd since files are all in all a well clear concept for > DFC. For a concrete example how do I tell Sam it to only go through > a given run number ? Another swith to run_submit_sam ? Or is it now an > option for AC++ begin command ? > > > > Sorry, I know this is not as clear as it should be. We are > > aiming to get away from the driver script "runsam" to the > > point where eveything is passed to SamInput via a single > > tcl-file. This is quite intimately related to how you start > > and stop SAM projects, and there is quite a lot of debate > > within the SAM team regarding which direction we should go > > here, as you know. > > > I am very worried about this, in fact. *************************************** * Dr. David Waters * * Department of Physics and Astronomy * * University College London * * Gower Street * * London WC1E 6BT * * * * Tel : (UK)-20-7679-7141 * * (UK)-7812-748843 (mobile) * * Fax : (UK)-20-7679-7145 * ***************************************