Z->BB Strip

Tcl files for 4.9.1hpt1_ucntuple: test.tcl

# Make some definitions we might want to change regularly:
set nev 10
set jetcollname JetCluModule-cone0.4
set infile $env(INFILE)
set outfile $env(OUTFILE)
set lumifile $env(LUMIFILE)

# Random talk-tos:
creator set PROD
useRCP set true

# Setup input:
module talk DHInput
  include file $infile
  luminosityLog set $lumifile
  # Keep track of empty run sections
  rawRS set true
  show
exit

module talk PuffModule
  puffOnly set CalData CdfMet CdfJetColl
  puffOnly add StorableRun2SiStripSet SiClusterSet SiHitSet
  show
exit

module clone SecVtxModule cone0.7

module talk SecVtxModule
  verbose set t
  main
    jetcol set $jetcollname
    jetetcut set 10
#    outputcol set SecVtxModule 
    outputcoldesc set mySecVtxCol
    outputtrkdesc set mySecVtxTrk
    beamHistCode set 19
    show
  exit
exit

module talk SecVtxModule-cone0.7
  verbose set t
  main
    jetcol set JetCluModule-cone0.7
    jetetcut set 10
    rconecut set 0.7
    outputcoldesc set mySecVtxCol-cone0.7
    outputtrkdesc set mySecVtxTrk-cone0.7
    beamHistCode set 19
    show
  exit
exit

module talk UCNtupleModule
  histfile $outfile
  verbose set f
  processName set PROD
  jetCollName set $jetcollname
  jetColl2Name set JetCluModule-cone0.7
  tagCollName set mySecVtxCol
  tagColl2Name set mySecVtxCol-cone0.7
  tagTrkName set mySecVtxTrk
  tagTrk2Name set mySecVtxTrk-cone0.7
  tagCollJetBlock set jet
  tagColl2JetBlock set jet2
  vertexCollType set "ZVertexColl"
  vertexCollName set "ZVertexColl"
  revertexMet set t
  useRefitTracks set t
  simulatedData set f
  addZbbBlocks set t
  zbbMenu
    level3Info set t
    beamStrategy set 0
  exit
  show
exit

# --- require the following good run bits
# --- (GOODRUN_STATUS requires the following ONLINE bits:
# ---     TRIG_L1 && L2 && L3 && CAL && COT && CMU && SMX && CLC)
talk ConfigManager 
  statusFilterEnable set t 
  statusGood set GOODRUN_STATUS COT_OFFLINE SVX_STATUS SVT_STATUS
  statusAnd      set t 
exit 

# Setup path:
path disable AllPath
module disable HepRootManager Prereq CosmicFinderModule CT_TrackingModule \
    PVFinder ZVertexModule TrackRefitModule EventDump
path create mypath ManagerSequence SecVtxModule SecVtxModule-cone0.7 UCNtupleModule
path enable mypath
path list

#begin -nev $nev
cont
show
exit

Maintained by Lester Miller lmiller@fnal.gov