Mixing in backgrounds
Available frames
The following background frames are available for including in stand-alone applications:
- TDR frames:
- Nominal background: 3 frames, 2,000 events each. To stage these frames, use the commands:
dbstage -VHQ0012 -Lfile1.xdr 1 (for file1.xdr)
dbstage -VHQ0012 -Lfile2.xdr 2 (for file2.xdr)
dbstage -VHQ0012 -Lfile3.xdr 3 (for file3.xdr)
- Background 3 x nominal, 1,000 events. To stage the frames, use the command:
dbstage -VHQ0012 -Lfile94.xdr 94 (for file94.xdr)
- Background 10 x nominal, 1,000 events. To stage the frames, use the command:
dbstage -VHQ0012 -Lfile92.xdr 92 (for file92.xdr)
dbstage -VHQ0012 -Lfile93.xdr 93 (for file93.xdr)
- June'99 frames (see definition):
- 235 events without MC truth information. To stage the frames, use the commands:
dbstage -VHQ0015 -Lfile399.xdr 399 (for file399.xdr)
- 235 events with MC truth information. To stage the frames, use the commands:
dbstage -VHQ0015 -Lfile400.xdr 400 (for file400.xdr)
- Note that if you would like to use reco federations background runs, this posting summarizes the collections available in the 7.12.7 federation; this, the collections available in the 8.0.1 federation; this, the collections available in the PRV0 federation.
Mixing in backgrounds in stand-alone applications
In order to mix in backgrounds in a stand-alone application, include trgFrame/MixFullInputSequence.hh in your AppUserBuild.cc:
#include "trgFrame/MixFullInputSequence.hh"
<....>
MixFullInputSequence(this);
(I usually include it at the beginning of AppUserBuild, right after FcsInputSequence).
Then in the corresponding tcl script,
catch { sourceFoundFile trgFrame/MixFullInputSequence.tcl }
<....>
path append MyPath MixFullInputSequence
<....>
module talk Mixer1
frameMode set true
svtFirstBX set -125
svtLastBX set 477
input file file92.xdr
exit
(You should of course put the full path for the background frame in 'input file'). You might also want to specify which subdetector data you would like the mixer to process. For example, if it's an SVT stand-alone application, you might say 'set doSvt true' and set the rest of 'doXxx' to false.
You can also re-use the same frames over and over again for more statistics by doing
module talk Mixer1
...
input file file92.xdr
input file file92.xdr
input file file92.xdr
...
exit
Mixing in backgrounds in SimApp
In order to run SimApp with backgrounds, you should have a file in your workdir named Frame.xdr. It can be just a symbolic link to one of the available background frames.
If you would like to re-use the same frame file several times, you should set an environment variable called frame_files to the number of times you would like to use the file. By default, the number of times a given background frame file can be used is set to 15.
Mixing in backgrounds in Beta
If you are running Beta from the event store, you don't need to worry about anything apart from selecting the right collection (with backgrounds). If you are running Beta from an xdr file, you can use the same prescription as for SimApp to mix in backgrounds.
Natalia Kuznetsova natalia@charm.physics.ucsb.edu 4/19/99