4 from LArCalibProcessing.LArCalib_Delay_OFCCaliConfig
import LArDelay_OFCCaliCfg
7 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
10 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
12 from LArCalibProcessing.LArCalibConfigFlags
import addLArCalibFlags
20 flags.LArCalib.Input.Dir =
"/scratch/wlampl/calib21/HECFCAL_Oct20"
21 flags.LArCalib.Input.Type=
"calibration_LArElec-Delay"
22 flags.LArCalib.Input.RunNumbers=[404512,]
23 flags.Input.Files=flags.LArCalib.Input.Files
28 flags.LArCalib.Input.Database=
"db.sqlite"
32 flags.LArCalib.Input.SubDet=
"HEC"
36 flags.LArCalib.BadChannelDB=
"BadChannelSnapshot.db"
37 flags.LArCalib.BadChannelTag=
"-RUN2-UPD3-00"
40 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
41 flags.GeoModel.AtlasVersion=defaultGeometryTags.RUN3
45 flags.LArCalib.Output.ROOTFile=
"ofccali.root"
48 flags.LArCalib.Output.POOLFile=
"ofccali.pool.root"
51 flags.IOVDb.DBConnection=
"sqlite://;schema=db.sqlite;dbname=CONDBR2"
54 flags.IOVDb.GlobalTag=
"LARCALIB-RUN2-00"
68 print (
"Input files to be processed:")
69 for f
in flags.Input.Files:
94 print(
"Start running...")
95 sys.exit(cfg.run().isFailure())