How to run reco and keep the raw data chunk
In order to run trigsim, your inputfile must still contain the raw
data chunk. By default, d0reco (for data, this page does
not apply to MC as long as you are running on DSTs) does not keep
the raw data chunk, so here is what to do:
For p17 (and p20, use p20.04.01):
setup D0RunII p17.05.01
newrel p17.05.01 d0recop17
addpkg d0reco
edit: d0reco/rcp/reco_write_data.rcp
change:
string Packages = "tmb tagspecial dump writemonitor rdcdistill
tagtmb writetmb"
to:
string Packages = "tmb tagspecial dump writemonitor writedst
tagtmb writetmb"
and add
RCP writedst = <d0reco D0recoWriteEvent>
also: You need to keep the CPS information:
addpkg cps_reco
edit: cps_reco/rcp/CPSReco.rcp
bool DEACTIVATE_CLUS_COMPRESS = true (default is false)
use d0tools with -localrcp -rcppkg=d0reco -localfwkrcp options
For p14:
setup D0RunII p14.05.01
newrel -t p14.05.01 d0recop14
cd d0recop14
addpkg d0reco
edit: d0reco/rcp/reco_write_data.rcp
change:
string Packages = "tmb tagspecial dump writemonitor rdcdistill
writedst tagtmb writetmb"
to:
string Packages = "tmb tagspecial dump writemonitor writedst
tagtmb writetmb"
rdcdistill (rcd = raw data chunk ;-) deletes everything but the
L1/L2 information.
make a file containing a list of your inputfiles (here raw1.dat)
tigerente-clued0:d0reco_nodrop_p140501 :-> more raw1a.dat
/work/tigerente-clued0/dbauer/zmumuraw/marian_zmumu_0_100.raw
/work/tigerente-clued0/dbauer/zmumuraw/marian_zmumu_1000_1100.raw
/work/tigerente-clued0/dbauer/zmumuraw/marian_zmumu_100_200.raw
To run: (on clued0)
d0setwa
setup d0tools
runreco -format=data -filelist=raw1.dat -name=reco_raw1 -localrcp
-localfwkrcp -rcppkg=d0reco -batch -cput=36:00:00 -mem=900Mb
-nofpe
You'll then find the output in a directory called reco_raw1.
-nofpe means it's ignoring floating point exceptions,
unfortunately a must when running d0reco.
Daniela Bauer
Last modified: Wed Jan 7 16:41:36 CST 2004