diff --git a/SConscript.py b/SConscript.py deleted file mode 100644 index 79197c4e87aedb713be06cd6996cb4b612415f4d..0000000000000000000000000000000000000000 --- a/SConscript.py +++ /dev/null @@ -1,32 +0,0 @@ -###### Hall C Software Main SConscript File ##### -###### Author: Edward Brash (brash@jlab.org) June 2013 - -import os -import re -import SCons.Util -Import ('pbaseenv') - -######## ROOT Dictionaries ######### - -roothcdict = pbaseenv.subst('$HC_DIR')+'/HallCDict.C' -roothcobj = pbaseenv.subst('$HC_SRC')+'/HallCDict.so' -hcheaders = Split(""" - src/THcInterface.h src/THcParmList.h src/THcAnalyzer.h src/THcHallCSpectrometer.h - src/THcDetectorMap.h src/THcRawHit.h src/THcHitList.h src/THcSignalHit.h src/THcHodoscope.h - src/THcScintillatorPlane.h src/THcHodoscopeHit.h src/THcDC.h src/THcDriftChamberPlane.h - src/THcDriftChamber.h src/THcRawDCHit.h src/THcDCHit.h src/THcDCWire.h src/THcSpacePoint.h - src/THcDCLookupTTDConv.h src/THcDCTimeToDistConv.h src/THcShower.h src/THcShowerPlane.h - src/THcRawShowerHit.h src/THcAerogel.h src/THcAerogelHit.h src/THcCherenkov.h src/THcCherenkovHit.h - src/THcGlobals.h src/THcDCTrack.h src/THcFormula.h - src/HallC_LinkDef.h - """) -pbaseenv.RootCint(roothcdict,hcheaders) -pbaseenv.SharedObject(target = roothcobj, source = roothcdict) - -####### Start of main SConscript ########### - -print ('LIBS = %s\n' % pbaseenv.subst('$LIBS')) - -analyzer = pbaseenv.Program(target = 'hcana', source = 'src/main.o') -pbaseenv.Install('./bin',analyzer) -pbaseenv.Alias('install',['./bin']) diff --git a/SConstruct b/SConstruct index 6d89421a9253a794b3dfcaaca6f1cac10d911a52..614ec609ab8e8589ad48b08670571fc10ed439eb 100644 --- a/SConstruct +++ b/SConstruct @@ -1,3 +1,4 @@ +#!/usr/bin/env python ###### Hall C Software Main SConstruct Build File ##### ###### Author: Edward Brash (brash@jlab.org) June 2013 @@ -165,3 +166,7 @@ Export('pbaseenv') SConscript(dirs = directorylist,name='SConscript.py',exports='baseenv') ####### End of SConstruct ######### + +# Local Variables: +# mode: python +# End: diff --git a/examples/PARAM/52949/hcana.param b/examples/PARAM/52949/hcana.param deleted file mode 100644 index 47b4766b5526cbf1fd9f0da9393347d6fe98188a..0000000000000000000000000000000000000000 --- a/examples/PARAM/52949/hcana.param +++ /dev/null @@ -1,79 +0,0 @@ -; -; Parameters that were built into Fortran analyzer that we want -; to pass as parameters so that the resulting code can be more generic. -; - -hhodo_num_planes = 4 -hhodo_plane_names = "1x 1y 2x 2y" - -hcal_num_layers = 4 - -# Exclusion band width for the calorimeter's fiducial volume. -hcal_fv_delta = 5. - -# Constants for the coordiante correction of the calorimeter energy depositions -hcal_a_cor = 200. -hcal_b_cor = 8000. -hcal_c_cor = 64.36 -hcal_d_cor = 1.66 - -hcal_layer_names = "1pr 2ta 3ta 4ta" - -haero_num_pairs = 8 - -# Names of planes so that parameter names can be constructed -hdc_plane_names = "1x1 1y1 1u1 1v1 1y2 1x2 2x1 2y1 2u1 2v1 2y2 2x2" - -# The following were defined in REPLAY.PARAM -h_recon_coeff_filename = 'PARAM/hms_recon_coeff.dat' ;hms optics matrix - -# The following are set to zero to replicate historical ENGINE behavior -# For new analyses they should be set to 1. If not defined here, -# hcana will default 1, the new and correct behaviour. - -# If 1, Let a hit have different L/R assignment for different space points -# instead of L/R assignment from first sp it appears in. -hdc_fix_lr = 0 -# If 1, don't do the the propagation along the wire each time the hit -# appears in a space point. (Which means the correction accumulates) -hdc_fix_propcorr = 0 - -# SOS parameters -shodo_num_planes = 4 -shodo_plane_names = "1x 1y 2x 2y" - -scal_num_layers = 4 - -# Exclusion band width for the calorimeter's fiducial volume. -# (saw) Don't know what this should be. Copied it from HMS. -scal_fv_delta = 5. - -# Constants for the coordiante correction of the calorimeter energy depositions -# (saw) Copied from HMS -scal_a_cor = 200. -scal_b_cor = 8000. -scal_c_cor = 64.36 -scal_d_cor = 1.66 - -scal_layer_names = "1pr 2ta 3ta 4ta" - -# Names of planes so that parameter names can be constructed -sdc_plane_names = "1u1 1u2 1x1 1x2 1v1 1v2 2u1 2u2 2x1 2x2 2v1 2v2" - -# The following were defined in REPLAY.PARAM -s_recon_coeff_filename = 'PARAM/sos_recon_coeff.dat' ;sos optics matrix - -# Fortran ENGINE only had this as a parameter for HMS. Need it here -# because same code used for both spectrometers -sntracks_max_fp = 10 - -# The following are set to zero to replicate historical ENGINE behavior -# For new analyses they should be set to 1. If not defined here, -# hcana will default 1, the new and correct behaviour. - -# If 1, Let a hit have different L/R assignment for different space points -# instead of L/R assignment from first sp it appears in. -sdc_fix_lr = 0 -# If 1, don't do the the propagation along the wire each time the hit -# appears in a space point. (Which means the correction accumulates) -sdc_fix_propcorr = 0 diff --git a/examples/PARAM/52949/hcana.param b/examples/PARAM/52949/hcana.param new file mode 120000 index 0000000000000000000000000000000000000000..7fd888b6ebf1fb22416f5b98f23bbabf7f0d745c --- /dev/null +++ b/examples/PARAM/52949/hcana.param @@ -0,0 +1 @@ +../hcana.param \ No newline at end of file