#!/bin/sh # ------------------------------------------------------------------------- # make a merge of d0trigsim and reco_analyze \rm -fR recoats ctnewpkg -b recoats echo recoats > recoats/bin/BINARIES cat > recoats/bin/recoats.cpp << EOF // framework executable EOF # merge d0trigsim and recoanalyze OBJECTS and LIBRARIES sort -u $D0RUNII_DIR/d0trigsim/bin/OBJECTS $D0RUNII_DIR/reco_analyze/binSAM/OBJECTS > recoats/bin/OBJECTS sort -u $D0RUNII_DIR/d0trigsim/bin/LIBRARIES $D0RUNII_DIR/reco_analyze/binSAM/LIBRARIES > recoats/bin/LIBRARIES cat $D0RUNII_DIR/d0trigsim/rcp/runD0TrigSim_sam.rcp $D0RUNII_DIR/reco_analyze/rcp/runRecoAnalyzeSAM.rcp > framework.rcp echo "package recoats created, and framework rcp files concatenated, you'll have to edit framework.rcp"