Various Instructions
Running BooNE batch jobs
Submit a simple analysis job to be run in the current directory
- boone-jobsub -J . -M AnalysisFramework -srcp myjob.rcp
- Answer yes when asked if you need access to AFS.
Making PostScript Output with PAW
for/fil 66 file_name.ps
meta 66 -111
--- make plots ---
for/cl 66
Making Normal Ntuples
C Initialization
Parameter ( Memory = 1000000 )
Common / PAWC / Hmemor( Memory )
common/quest/iquest(100)
character*255 filename
parameter (nvar1=5,nvar2=6)
character*8 var_names_1(nvar1),var_names_2(nvar1)
dimension data_1(nvar1),data_2(nvar1)
data var_names_1 /'var1','var2','var3','var4','var5'/
data var_names_2 /'var1','var2','var3','var4','var5','var6'/
---
call hlimit(Memory)
lrecl=1024
call getenv('NTOUT',filename)
call hropen(31,'NT_ID',filename,'N',lrecl,istat)
call hbookn(1,'nt1_name',nvar1,'NT_ID',1000,var_names_1)
call hbookn(2,'nt2_name',nvar2,'NT_ID',1000,var_names_2)
---
C Filling during event loop
call hfn(1,data_1)
call hfn(2,data_2)
---
C Finalizing
call hrout(1,icycle,' ')
call hrout(2,icycle,' ')
call hrend('NT_ID')
Merging Ntuples
This is easily done from PAW ...
> nt/hmerge out.nt in_a.nt in_b.nt in_c.nt
Writing Controls Software
- Log in to CNS55
- CREATE/DIR [.project] Create a
project area
SET DEF [.project]
- MECCA/NEWPA (MECCA/NEWSA) Reserve a
PA (SA) number
- MECCA/COPY PAxxxx Copy an appropriate
template
- Edit the template C program. If you change the file
names you will also need to edit BUILD_Z_PAGE.COM and DESCRIP.MMS
- @BUILD_Z_PAGE Create a test version on the Z
page
- MECCA PAxxxx (SAxxxx) Build or
rebuild the tested version
- MECCA/IPE To assign a page and number.
Using the Debugger on Controls Software
- Determine which machine your console is running on. This can be done by
looking at the Utilities window, which has a title of the
form CNSxXX. The console is running on
CNSXX. x is the
instance number.
- Login to that machine. RLogin CNSXX
- Type debug_slot
- Execute the program from the z-page.
Putting Files on the Booster Web Page
Moving files from the Z: disk on the PC
- Click Start->Programs->Accessories->Command Prompt
- Find the source directory
cd Projects\Booster\BLMs
- Start FTP session
ftp chablis
- Log in using cryptocard
- Go to target directory
cd /usr/local/www/data/proton/booster/blms
- Copy files
ascii
mput *.html
binary
mput *.gif
From fnalu the process is the same except for steps 1 and 2.