module output FileOutput
#set outfile /cdf/scratch/$env(USER)/isajet_qq_today_val.dst
#if [file exists $outfile ] { puts "*** removing old file $outfile ***" ; exec rm $outfile }
if [ file exists $env(PWD)/Production ] {
set TCL_FILES $env(PWD)/Production
} else {
set TCL_FILES $env(PROJECT_DIR)/Production
}
# override TCL_FILES
#source $TCL_FILES/defaultOutputKeepList.tcl
source $TCL_LOCATION/defaultOutputKeepList.tcl
talk FileOutput
parmSetName set Production
if { $USING_PRODUCTIONEXE_TCL } {
output create stream $prodfile
output path stream Null Production
defaultKeepList stream
output dropList stream -add CdfTrackHits:"COT Hits for CdfTrack"
output dropList stream -add StorableRun2SiStripSet:""
output list
}
exit
#
# This is a tcl procedure that configures DHOutput according to how
# it is used on the farms. This is the part that is the same for each
# stream.
#
# Don't know how to get the symbol "rawDataStream" into the
# procedure yet, so we'll hack it by creating two procedures
# for the moment.
#
if { $rawDataStream == "a" } then {
proc stdOutCommands { strName } {
$strName
writeSingleBranch set false
exit
output dropList $strName CT_HitSet PhysicsTowerData
output dropList $strName -add CdfTrackHits:"COT Hits for CdfTrack"
output dropList $strName -add SIXD_StorableBank:CORRECTED
output dropList $strName -add ISLD_StorableBank:CORRECTED
output dropList $strName -add StorableRun2SiStripSet:""
defaultKeepList $strName
}
} else {
proc stdOutCommands { strName } {
$strName
writeSingleBranch set false
exit
output dropList $strName CT_HitSet PhysicsTowerData
output dropList $strName -add CdfTrackHits:"COT Hits for CdfTrack"
output dropList $strName -add SiClusterSet
output dropList $strName -add CdfTrackColl:COT_Global_Tracking_HL
output dropList $strName -add CdfTrackColl:COT_Global_Tracking_SL
output dropList $strName -add CdfTrackColl:COT_Global_Tracking
output dropList $strName -add CdfTrackColl:GlobalSI_Tracking
output dropList $strName -add SIXD_StorableBank:CORRECTED
output dropList $strName -add ISLD_StorableBank:CORRECTED
output dropList $strName -add StorableRun2SiStripSet
defaultKeepList $strName
}
}
|