$ pickReco.pl runnum eventnum [recoversion]
where "recoversion" is a string describing the reconstruction version, such as
"p13" "p13.05.00" "p11.02"
New, from Lukas Phaf: pickTMB.pl
* A link to the reconstructed file is stored in the subdirectory "links"
* The event is stored in the subdirectory "events" with the name
run"runnum"_event"eventnum"_file"filename"
where "filename" is the reconstructed file from SAM.
$ setup D0RunII
$ setup sam
$ pickReco.pl 164382 3507437
results in the events:
run164382_event3507437_filereco_all_0000164382_013.raw_amd11.12.01_000 run164382_event3507437_filereco_all_0000164382_013.raw_p11.12.01_000 run164382_event3507437_filereco_all_0000164382_013.raw_p13.05.00_000
$ pickReco.pl 164382 3507437 p11
results in the events:
run164382_event3507437_filereco_all_0000164382_013.raw_amd11.12.01_000 run164382_event3507437_filereco_all_0000164382_013.raw_p11.12.01_000
% pickReco.pl 164382 3507437 p13
results in the event:
run164382_event3507437_filereco_all_0000164382_013.raw_p13.05.00_000
pickReco works by using the SAM database to identify the raw data file in which the event is stored. It uses the file name (and number) to identify reconstructed versions of the same file and creates local links to those files. It then uses copyd0om to select the individual event.
No warranties are implied or expressed!