Newer
Older
TB_Chris / TbUT / options / TbUTPedestal.py~
@iaro iaro on 9 May 2016 485 bytes first attempt of automated anal
__author__ = 'ja'
import sys
sys.path.append( "options/python" )

from TbUTPedestalRunner import TbUTPedestalRunner
app=TbUTPedestalRunner()
# set parameter
app.inputData='/afs/cern.ch/user/c/cbetanco/public/Pedestal-M1-FanIn-5.dat'
app.isAType=False
# have to be more than 4k (~10k)
app.eventMax=100000
#  keep the pedestals files in $KEPLERROOT/../TbUT/options/UT/ directory !!!!!
app.pedestalOutputData ="$KEPLERROOT/../TbUT/options/UT/Pedestal-M1-FanIn-5.dat"

app.runPedestals()