[d2n-analysis-talk] DB/, analyzer, and replay/ updated on d2n and in CVS

David Flay flay at jlab.org
Thu Mar 25 13:08:33 EDT 2010


On Thu, Mar 25, 2010 at 12:06 PM, Diana Parno <dseymour at andrew.cmu.edu>wrote:

> I am a DB novice, here, and am pretty unclear both on how StartType.pl
> used to work ("the 'copy everything' approach'") and on how it's supposed
> to be working now (the "generate symlinks to the necessary DB files"
> approach), so I'm not sure how this should be fixed. I'd be really
> grateful for a quick explanation along with the fix!
>
> I am curious whether anyone else has tried replaying with the new build --
> this problem shouldn't be unique to me, or else I'm doing something wrong
> too...
>

I've done replays with the new build and everything goes well.

The old StartType.pl used to copy <every> possible DB file via particular
subroutines for the PR, GC, etc.

For instance, I have 32 calibration files for the PR (one at each p, for
each layer).  It used to copy all of those to the working directory, and
also make the change:

cp $DB_DIR/YYYYMMDD/db_L.prl1.dat.X db_L.prl1.dat

for the correct DB file for that run (X = 13, say, since that run
corresponds to momentum bin 13).

Now, it makes a symlink (via dolink() ) :

ln -s $DB_DIR/YYYYMMDD/db_L.prl1.dat.X db_L.prl1.dat

this way, we don't have 30+ DB files sitting in the replay directory after a
replay.

I'm not quite sure how your StartType.pl is different from mine, considering
I also updated my directory (both on d2n and my own machine) by hand, and
replays on both work just fine...

I'll take a look at your directory later and see if I can find anything?


Hope that clears up how StartType.pl works!

Dave

-- 
-----------------------------------------------------------
David Flay
Physics Department
Temple University
Philadelphia, PA 19122

office: Barton Hall, BA319
phone: (215) 204-1331

e-mail: flay at jlab.org
           flay at temple.edu

website: http://www.jlab.org/~flay
             http://quarks.temple.edu
-----------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.jlab.org/pipermail/d2n-analysis-talk/attachments/20100325/fb10e467/attachment.html 


More information about the d2n-analysis-talk mailing list