Running p12.03

 
Home Research Classes

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:

  1. Create a new local release based on p12.03.00
  2. 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
  3. addpkg d0trigsim (note -- no -h)
  4. 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
  5. 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>
  6. In d0trigsim/rcp/D0TrigSimWriteEvent.rcp add a leading quote before the outputfile_12 in the OutputFile rcp setting.
  7. 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.
  8. addpkg -h event_info To make sure you get the latest on the event block
  9. addpkg -h config_base Support for event_info.
  10. addpkg reco_analyze
  11. 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.
  12. srt_setup SRT_QUAL=maxopt
  13. 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.).