Latest update: 29-Jul-1994 Adding Your Own Subdetector Module ABCD _______________________________________ Write documentation and put in doc/ and doc/Readme. Add any dbin dat/*.db files. Put code in new directory src/ABCD. Add 10 dummy routines to src/dummy (see below). Be sure calls to your module in src/bbg/gucall.F are present and correct: INTEGER SUB_ABCD, PARAMETER SUB_ABCD, EXTERNAL AB_HIST; 10 calls: DEFS, VRFY, HIST, TMED, VOLU, EVNT, STEP, DIGI, OUTP, LAST. Add the file .cvsignore (see other subsystems) for ignoring .d and .f files. Add ABCD to the bbdirs definition in GNUmakefile and dat/GNUmakefile. Add ABCD to the library made in src/GNUmakefile. Add ABCD 2 to your FFREAD file. Add ABCD 0 to default-job file, dat/ftn01. Add *BOOK 'ABCD' 0 to your FFREAD cards if want AB_HIST to be called. Document your new subdetector installation in bbsim/README. If you find something in this procedure has changed, update this file. Type gmake. Will build ABCD library in lib/ and executable. Test the code (using bbsim, bbsimb and/or bbsimb20 to run). Test the code on all platforms. . .well, at least AIX6000 at SLAC. Install BBSIM files into rCVS repository at SLAC (If you are already at SLAC, omit the -R qualifier to the cvs command.) o Add new ABCD subsystem ("cvs -R add file_name" then "cvs commit"): bbsim/doc/* bbsim/dat/ABCD.db bbsim/src/ABCD/ bbsim/src/ABCD/*.F bbsim/src/ABCD/*.inc bbsim/src/dummy/AB_*.F o Modify old files ("cvs -R diff file_name" then "cvs -R commit file_name"): bbsim/doc/Readme bbsim/dat/ftn01 bbsim/dat/*.db bbsim/src/bbg/gucall.F bbsim/dat/GNUmakefile bbsim/src/GNUmakefile bbsim/README Install any new PAW code into rCVS repository at SLAC o Add new ABCD code: bbsim/kumac/ABCD/ bbsim/kumac/ABCD/Readme bbsim/kumac/ABCD/*.kumac bbsim/kumac/ABCD/*.for o Modify appropriate old files: bbsim/glogon.kumac bbsim/README