Warning, /macros/calibrations/calo/emcal_noisy_tower_macro/README is written in an unsupported language. File is not indexed.
0001 This code is used to run over the first stage of calorimeter ouputs (uncalibrated DST's post waveform processing) and measure the hit-frequency of each tower and interface board in the emcal. The distributions of these hit frequencies is then used to flag noisy and cold towers for QA during the calibration process. Below is a description of the files contained in this directory:
0002
0003 Top directory:
0004
0005 Fun4All_EMCalBadTowerID.C
0006 - The steering macro for the analysis module
0007
0008 channels.root
0009 - Contains information on the fiber type of the EMCal blocks
0010
0011 scripts/:
0012
0013 setupDirs.csh
0014 -Creates the directory structure for the output and intermediate files
0015
0016 generateFileLists.csh
0017 -Generates a file list based on a given production and ana build
0018
0019 makeSingleFileList.csh
0020 -Generates a list with one file per run for use during the second stage of the tower flagging so the
0021 code can parse a run number
0022
0023 runHotTowerMacroMultiStage.csh
0024 -Passes over the DST's in two stages. The first determines the hit frequency in each tower/IB, and the second calculates the modes of central tendency for these frequencies (mu, sigma) and, based on
0025 value set in the steering macro, flags bad towers by assigning them a non-zero value in the output
0026 CDBTTree
0027
0028 runEverything.csh
0029 -Surprisingly, this script runs everything
0030