6 flags.addFlag(
"LArCalib.isSC",isSC)
7 flags.addFlag(
"LArCalib.BadChannelDB",
"LAR_OFL")
8 flags.addFlag(
"LArCalib.BadChannelTag",
"-RUN2-UPD3-00")
9 flags.addFlag(
"LArCalib.BadChannelTagSC",
"-RUN3-UPD3-00")
12 def _prefix(prevFlags):
13 if prevFlags.LArCalib.isSC:
14 return "/LAR/ElecCalibOflSC/"
16 return "/LAR/ElecCalibOfl/"
18 flags.addFlag(
"LArCalib.Pedestal.Folder",
lambda prevFlags: _prefix(prevFlags)+
"Pedestals/Pedestal")
19 flags.addFlag(
"LArCalib.AutoCorr.Folder",
lambda prevFlags: _prefix(prevFlags)+
"AutoCorrs/AutoCorr")
20 flags.addFlag(
"LArCalib.PhysAutoCorr.Folder",
lambda prevFlags: _prefix(prevFlags)+
"AutoCorrs/PhysicsAutoCorr")
21 flags.addFlag(
"LArCalib.CaliWave.Folder",
lambda prevFlags: _prefix(prevFlags)+
"CaliWaves/CaliWave")
22 flags.addFlag(
"LArCalib.OFCCali.Folder",
lambda prevFlags: _prefix(prevFlags)+
"OFC/CaliWave")
23 flags.addFlag(
"LArCalib.PhysWave.Folder",
lambda prevFlags: _prefix(prevFlags)+
"PhysWaves/RTM")
24 flags.addFlag(
"LArCalib.Ramp.Folder",
lambda prevFlags: _prefix(prevFlags)+
"Ramps/RampLinea")
25 flags.addFlag(
"LArCalib.OFCPhys.Folder",
lambda prevFlags: _prefix(prevFlags)+
"OFC/PhysWave/RTM/")
26 flags.addFlag(
"LArCalib.Shape.Folder",
lambda prevFlags: _prefix(prevFlags)+
"Shape/RTM/")
27 flags.addFlag(
"LArCalib.MphysOverMcal.Folder",
lambda prevFlags: _prefix(prevFlags)+
"MphysOverMcal/RTM")
28 flags.addFlag(
"LArCalib.PhysCaliTdiff.Folder",
lambda prevFlags: _prefix(prevFlags)+
"PhysCaliTdiff")
29 flags.addFlag(
"LArCalib.CaliPulseParams.Folder",
lambda prevFlags: _prefix(prevFlags)+
"CaliPulseParams/RTM")
30 flags.addFlag(
"LArCalib.DetCellParams.Folder",
lambda prevFlags: _prefix(prevFlags)+
"DetCellParams/RTM")
32 flags.addFlag(
"LArCalib.FCALPhysWave.Folder",
"/LAR/ElecCalibOfl/PhysWaves/FCALFromTB")
34 flags.addFlag(
"LArCalib.GroupingType",
lambda prevFlags:
"SuperCells" if prevFlags.LArCalib.isSC
else "ExtendedSubDetector")
35 flags.addFlag(
"LArCalib.Output.POOLFile",
"ouput.pool.root")
36 flags.addFlag(
"LArCalib.Output.ROOTFile",
"")
37 flags.addFlag(
"LArCalib.Output.POOLFile2",
"ouput2.pool.root")
38 flags.addFlag(
"LArCalib.Output.ROOTFile2",
"")
39 flags.addFlag(
"LArCalib.Output.SaveAverages",
True)
41 flags.addFlag(
"LArCalib.Gain",0)
43 flags.addFlag(
"LArCalib.doValidation",
True)
45 flags.addFlag(
"LArCalib.CorrectBadChannels",
True)
48 flags.addFlag(
"LArCalib.Input.Dir",
".")
49 flags.addFlag(
"LArCalib.Input.RunNumbers",[])
50 flags.addFlag(
"LArCalib.Input.Type",
"calibration_LArElec-Pedestal")
51 flags.addFlag(
"LArCalib.Input.Files",_getInputFiles)
52 flags.addFlag(
"LArCalib.Input.SubDet",
"")
53 flags.addFlag(
"LArCalib.Input.isRawData",
False)
54 flags.addFlag(
"LArCalib.Input.paramsFile",
"parameters.dat")
56 flags.addFlag(
"LArCalib.Input.Database",
"LAR_OFL")
57 flags.addFlag(
"LArCalib.Input.Database2",
"LAR_OFL")
59 flags.addFlag(
"LArCalib.Input.ChannelSelection",
"")
61 flags.addFlag(
"LArCalib.IOVStart",
lambda pF:
min(pF.LArCalib.Input.RunNumbers)
if len(pF.LArCalib.Input.RunNumbers)>0
else 0)
62 flags.addFlag(
"LArCalib.IOVEnd", 0x7FFFFFFF)
66 flags.addFlag(
"LArCalib.Preselection.Side",[])
67 flags.addFlag(
"LArCalib.Preselection.BEC",[])
68 flags.addFlag(
"LArCalib.Preselection.FT",[])
69 flags.addFlag(
"LArCalib.Preselection.Slot",[])
71 flags.addFlag(
"LArCalib.SCIgnoreBarrelChannels",
False)
72 flags.addFlag(
"LArCalib.SCIgnoreEndcapChannels",
False)
74 flags.addFlag(
"LArCalib.RTM.ExtractAll",
True)
75 flags.addFlag(
"LArCalib.RTM.DumpOmegaScan",
False)
76 flags.addFlag(
"LArCalib.RTM.DumpResOscill",
False)
80 flags.addFlag(
"LArCalib.OFC.Ncoll",0)
81 flags.addFlag(
"LArCalib.OFC.UsePhysCalibTDiff",
True)
82 flags.addFlag(
"LArCalib.OFC.Normalize",
True)
83 flags.addFlag(
"LArCalib.OFC.useDelta",
False)
84 flags.addFlag(
"LArCalib.OFC.Nsamples",4)
85 flags.addFlag(
"LArCalib.OFC.ShapeCorrection",
False)
87 flags.addFlag(
"LArCalib.PhysACuseHG",
False)