ATLAS Offline Software
Functions | Variables
LArFlatFromFileConfig Namespace Reference

Functions

def LArFlatFromFileCfg (flags)
 

Variables

 parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
 
 dest
 
 default
 
 help
 
 type
 
 False
 
 action
 
 True
 
 args = parser.parse_args()
 
 flags = initConfigFlags()
 
 Files
 
 isSC
 
 RunNumbers
 
 DatabaseInstance
 
 DBConnection
 
 doAlign
 
 AtlasVersion
 
 GlobalTag
 
 Folder
 
 Type
 
 SubDet
 
 doValidation
 
 OutputLevel
 
 GeometryID
 
 GeometryITk
 
 GeometryHGTD
 
 GeometryCalo
 
 GeometryMuon
 
 GeometryForward
 
 cfg = MainServicesCfg(flags)
 

Function Documentation

◆ LArFlatFromFileCfg()

def LArFlatFromFileConfig.LArFlatFromFileCfg (   flags)

Definition at line 5 of file LArFlatFromFileConfig.py.

5 def LArFlatFromFileCfg(flags):
6 
7  #Get basic services and cond-algos
8  from LArCalibProcessing.LArCalibBaseConfig import LArCalibBaseCfg
9  result=LArCalibBaseCfg(flags)
10 
11  if flags.LArCalib.isSC:
12  ckey="LArOnOffIdMapSC"
13  ngain=1
14  else:
15  ckey="LArOnOffIdMap"
16  ngain=3
17  result.addEventAlgo(CompFactory.LArFlatFromFile(SuperCells=flags.LArCalib.isSC,
18  CablingKey=ckey,NGains=ngain,
19  OFCInput="",
20  SingleInput=flags.LArCalib.Input.Files[0],
21  Folder=flags.LArCalib.DetCellParams.Folder,
22  Blob=flags.LArCalib.Input.SubDet,
23  checkInput=flags.LArCalib.doValidation
24  ))
25 
26  from RegistrationServices.OutputConditionsAlgConfig import OutputConditionsAlgCfg
27  result.merge(OutputConditionsAlgCfg(flags,
28  outputFile="dummy.root",
29  ObjectList=["CondAttrListCollection#"+flags.LArCalib.DetCellParams.Folder, ],
30  IOVTagList=[flags.LArCalib.Input.Type],
31  Run1=flags.LArCalib.IOVStart,
32  Run2=flags.LArCalib.IOVEnd
33  ))
34 
35  #RegistrationSvc
36  result.addService(CompFactory.IOVRegistrationSvc(RecreateFolders = True, SVFolder=False,
37  OverrideNames = [flags.LArCalib.Input.SubDet], OverrideTypes = ["Blob16M"]))
38  result.getService("IOVDbSvc").DBInstance=""
39 
40  #MC Event selector since we have no input data file
41  from McEventSelector.McEventSelectorConfig import McEventSelectorCfg
42  result.merge(McEventSelectorCfg(flags,
43  RunNumber = flags.LArCalib.Input.RunNumbers[0],
44  EventsPerRun = 1,
45  FirstEvent = 1,
46  InitialTimeStamp = 0,
47  TimeStampInterval = 1))
48 
49  return result
50 

Variable Documentation

◆ action

LArFlatFromFileConfig.action

Definition at line 63 of file LArFlatFromFileConfig.py.

◆ args

LArFlatFromFileConfig.args = parser.parse_args()

Definition at line 66 of file LArFlatFromFileConfig.py.

◆ AtlasVersion

LArFlatFromFileConfig.AtlasVersion

Definition at line 90 of file LArFlatFromFileConfig.py.

◆ cfg

LArFlatFromFileConfig.cfg = MainServicesCfg(flags)

Definition at line 118 of file LArFlatFromFileConfig.py.

◆ DatabaseInstance

LArFlatFromFileConfig.DatabaseInstance

Definition at line 85 of file LArFlatFromFileConfig.py.

◆ DBConnection

LArFlatFromFileConfig.DBConnection

Definition at line 86 of file LArFlatFromFileConfig.py.

◆ default

LArFlatFromFileConfig.default

Definition at line 58 of file LArFlatFromFileConfig.py.

◆ dest

LArFlatFromFileConfig.dest

Definition at line 58 of file LArFlatFromFileConfig.py.

◆ doAlign

LArFlatFromFileConfig.doAlign

Definition at line 88 of file LArFlatFromFileConfig.py.

◆ doValidation

LArFlatFromFileConfig.doValidation

Definition at line 101 of file LArFlatFromFileConfig.py.

◆ False

LArFlatFromFileConfig.False

Definition at line 63 of file LArFlatFromFileConfig.py.

◆ Files

LArFlatFromFileConfig.Files

Definition at line 80 of file LArFlatFromFileConfig.py.

◆ flags

LArFlatFromFileConfig.flags = initConfigFlags()

Definition at line 76 of file LArFlatFromFileConfig.py.

◆ Folder

LArFlatFromFileConfig.Folder

Definition at line 96 of file LArFlatFromFileConfig.py.

◆ GeometryCalo

LArFlatFromFileConfig.GeometryCalo

Definition at line 110 of file LArFlatFromFileConfig.py.

◆ GeometryForward

LArFlatFromFileConfig.GeometryForward

Definition at line 112 of file LArFlatFromFileConfig.py.

◆ GeometryHGTD

LArFlatFromFileConfig.GeometryHGTD

Definition at line 109 of file LArFlatFromFileConfig.py.

◆ GeometryID

LArFlatFromFileConfig.GeometryID

Definition at line 107 of file LArFlatFromFileConfig.py.

◆ GeometryITk

LArFlatFromFileConfig.GeometryITk

Definition at line 108 of file LArFlatFromFileConfig.py.

◆ GeometryMuon

LArFlatFromFileConfig.GeometryMuon

Definition at line 111 of file LArFlatFromFileConfig.py.

◆ GlobalTag

LArFlatFromFileConfig.GlobalTag

Definition at line 93 of file LArFlatFromFileConfig.py.

◆ help

LArFlatFromFileConfig.help

Definition at line 58 of file LArFlatFromFileConfig.py.

◆ isSC

LArFlatFromFileConfig.isSC

Definition at line 81 of file LArFlatFromFileConfig.py.

◆ OutputLevel

LArFlatFromFileConfig.OutputLevel

Definition at line 105 of file LArFlatFromFileConfig.py.

◆ parser

LArFlatFromFileConfig.parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)

Definition at line 57 of file LArFlatFromFileConfig.py.

◆ RunNumbers

LArFlatFromFileConfig.RunNumbers

Definition at line 82 of file LArFlatFromFileConfig.py.

◆ SubDet

LArFlatFromFileConfig.SubDet

Definition at line 99 of file LArFlatFromFileConfig.py.

◆ True

LArFlatFromFileConfig.True

Definition at line 64 of file LArFlatFromFileConfig.py.

◆ type

LArFlatFromFileConfig.type

Definition at line 58 of file LArFlatFromFileConfig.py.

◆ Type

LArFlatFromFileConfig.Type

Definition at line 98 of file LArFlatFromFileConfig.py.

LArFlatFromFileConfig.LArFlatFromFileCfg
def LArFlatFromFileCfg(flags)
Definition: LArFlatFromFileConfig.py:5
OutputConditionsAlgConfig.OutputConditionsAlgCfg
def OutputConditionsAlgCfg(flags, name="OutputConditionsAlg", outputFile='condobjs.root', **kwargs)
Definition: OutputConditionsAlgConfig.py:5
python.McEventSelectorConfig.McEventSelectorCfg
def McEventSelectorCfg(flags, **kwargs)
Definition: McEventSelectorConfig.py:5
python.LArCalibBaseConfig.LArCalibBaseCfg
def LArCalibBaseCfg(flags)
Definition: LArCalibBaseConfig.py:5