Privacy and Security Notice

Archived Messages for CLAS_OFFLINE@cebaf.gov: DCGM and DCGW banks

DCGM and DCGW banks

Junho Yun (yun@physics.odu.edu)
Thu, 08 Jan 1998 16:00:26 -0500

Hi Mark
The variables, ipar_trk_histo and ipar_trk_ntuple, should be defined in the
include area, now they are in trk/trktcl_var.inc.
Somehow, ana couldn't read in from trk directory so i temporarily defined
tcl variables in local subroutines.(i was in a hurry?)

If your linux ana did read in trk/trktcl_var.inc, delete lines

integer ipar_trk_histo, ipar_trk_ntuple
ipar_trk_histo = 3
ipar_trk_ntuple = 3

in your trk_book(fill)_hbt(raw).F and
you need

set ipar_trk_histo 3;
set ipar_trk_ntuple 3;

# 1 for hbt only, 3 for raw+bht

in your myinit.tcl.

Sorry for the confusion and i will checkin again with permanent fix soon.

Junho Yun


-----------------------------
Reply to:
Junho et al.,

It looks like ipar_trk_ntuple is defined in two places, an include
file and a source file in the ana package. Is this a bug? I only get
this error on Linux, but it might point to a real problem, or not, you
tell me.

g77 -g -m486 -fno-automatic -finit-local-zero -ffixed-line-length-none -fno-s\
-DLinux \
-I. -I../EventStore/ -I../Map/ -I../ana/ -I../bos/ -I../bosio/ -I../cc/ -I../cct
uplemakers/ -I../recsis/ -I../recutl/ -I../sc/ -I../scat/ -I../scm/ -I../scripts
ite/clas/u1/builds/release-1-9/packages/sc -I/net/fs1/site/clas/u1/builds/releaa
ckages/lac -I/net/fs1/site/clas/u1/builds/release-1-9/packages/include -I/net/f\
trk_book_hbt.F -o /site/clas/u1/builds/release-1-9/obj/Linux/trk_book_hbt.o
../trk/trktcl_var.inc: In subroutine `trk_book_hbt':
../trk/trktcl_var.inc:201:
integer ipar_trk_histo, ipar_trk_ntuple
1
trk_book_hbt.F:89: (continued):
integer ipar_trk_histo
2
Invalid declaration of or reference to symbol `ipar_trk_histo' at (2) [initiall]
../trk/trktcl_var.inc:201:
integer ipar_trk_histo, ipar_trk_ntuple
1
trk_book_hbt.F:90: (continued):
integer ipar_trk_ntuple
2
Invalid declaration of or reference to symbol `ipar_trk_ntuple' at (2) [initial]
make[1]: *** [/site/clas/u1/builds/release-1-9/lib/Linux/libana_debug.a(trk_boo1
make[1]: Leaving directory `/net/fs1/site/clas/u1/builds/release-1-9/packages/a'
make: *** [user_ana] Error 2

Mark M. Ito, Thomas Jefferson National Accelerator Facility
12000 Jefferson Ave., Mail Stop 12H, Newport News, VA 23606
Email: marki@jlab.org, Office: (757)269-5295, Pager: (757)680-7175