- Log in to one of the slac machine (yakut or noric)
- In this example, release 22.1.1 is used
- Some usual settings:
> srtpath [enter][enter]
> cond22boot
- add package: RecoBGFilter HEAD, Elf, and workdir
- Compile and Link:
> gmake clean
> gmake installdirs
> gmake workdir.setup
> gmake lib
> gmake Elf.ElfUserXtcApp
- Stage xtc file for the run you want: (ex: run 67676)
> tcstage 0067676-001
This file will be stage into: /nfs/babar/tcfiles
- Make myelf.tcl in workdir:
set ElfConfigPatchSet Run2
set ElfHistoFileName myElf.root
set ElfOutputCollection /work/users/[your user name]/elftest.xtc
set ElfTuple root
sourceFoundFile Elf/ElfProduction.tcl
- If run more than once, don't forget to remove output. In my case they are in /nfs/sulky40/user02/work/users/hojeong/ dir.
- Run:
ElfUserXtcApp -n 10 -f /nfs/babar/tcfiles/babar-0067676-001.xtc myelf.tcl
-n: number of events (-1 for all events)