Newer
Older
TB_Chris / TbUT / options / TbUTPedestal_Ch.py
@iaro iaro on 9 May 2016 585 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/work/i/ibezshyi/public/TESTBEAM/ChrisSoft/KeplerDev_v3r0/Tb/Kepler/eos_sup/user/l/lhcbut/Testbeam/May2016/Board_M1_FanIn/Pedestal-M1-FanIn-51.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-51.dat"

app.runPedestals()