|
I have basically followed
what is on
the trigger web pages for release p12.03.00, and added my bug fix for
HepTuple. The other thing I want is reco objects in my analyze, so I combine the
trigger simulator and the analyzer and kill the intermediate output file.
Do the following:
- Create a new local release based on p12.03.00
- Copy from my release area the HepTuple package (pikeplace-clued0:
/disk3/work/gwatts/trigsim/p12.03.00_trigsim). Then, in your release
include area do a ln -s ../HepTuple/HepTuple HepTuple
- addpkg d0trigsim (note -- no -h)
- To make sure reco objects are dumped in the same file as trig sim objects
(and avoid the pain of an intermediate file), add the following to
d0trigsim/bin/OBJECTS:
RegAnalyzeFECrates
RegCAEPAnalyze
RegCALanalyze
CalNadaAnalyzeReg
RegbcJetAnalyze
RegVertexAnalysis
RegTauAnalyze
RegMuoIdAnalyze
RegCPSanal
RegChAnalyze
RegEMAnalyze
RegMetAnalyze
RegTauReco
RegGtrAnalyze
RegJetAnalyze
RegwzAnalyze
- In d0trigsim/rcp/runD0TrigSim.rcp, at the end of the Packages line
add "reco_analyze" to the list. Also remove the write package from the
list. Use the following specification:
RCP reco_analyze = <reco_analyze RecoAnalyze>
- In d0trigsim/rcp/D0TrigSimWriteEvent.rcp add a leading quote before the
outputfile_12 in the OutputFile rcp setting.
- If you are going to run on data you have to remove run_config otherwise
there will be a nasty crash (see the p12 web page). Edit the d0trigsim/rcp/D0TrigSimInit_data.rcp
file and remove run_config from the Packages list.
- addpkg -h event_info To make sure you get the latest on the event
block
- addpkg -h config_base Support for event_info.
- addpkg reco_analyze
- remove package cps from rcp/RecoAnalyze.rcp to take care of a bug
in the cps examiner. If you need cps, you'll have to contact Andre and figure
out what to do.
- srt_setup SRT_QUAL=maxopt
- gmake
Don't even think it is cake walk from here. The tricky bit is getting the
trigger list right! The
p12 trigger
web pages describe this in detail. So far they have worked perfectly for me.
I use the version of 8.2 that is found on the trigger page (see
the bottom of this page).
To run, create a file list file in the local release directory, and then
setup d0tools -t
runD0TrigSim -format=mc -localbuild -localrcp -localfwkrcp -filelist=whenu.list
I use the test version of d0tools because it has some extra features I like
(for debuging). If you've liked the right lamp post this winter, this will run
just fine. Ahem.
If you have a crash, add the -debug flag to get things running under
the debugger. Also, make sure to do a srt_setup SRT_QUAL= to get back to
the debug, non-opt version (so you can examine the variables, etc.).
|