ATLAS Offline Software
Functions | Variables
CaloGetLC_CL_W_OOC_Config Namespace Reference

Functions

def GetLC_CL_W_OOC_Cfg (flags)
 

Variables

 flags = initConfigFlags()
 
 Files
 
 OutputLevel
 
 inRootCL
 
 inRootW
 
 inRootOOC
 
 inRootOOCPI0
 
 DatabaseInstance
 
 DBConnection
 
 cfg = MainServicesCfg(flags)
 
 Dump
 
 defaultLimit
 

Function Documentation

◆ GetLC_CL_W_OOC_Cfg()

def CaloGetLC_CL_W_OOC_Config.GetLC_CL_W_OOC_Cfg (   flags)

Definition at line 6 of file CaloGetLC_CL_W_OOC_Config.py.

6 def GetLC_CL_W_OOC_Cfg(flags):
7 
9 
10  cfg.addEventAlgo( CompFactory.CaloReadLCClassificationFile("ReadLCClassification",
11  LCClassificationFileName = flags.LCW.inRootCL, ClassificationKey="EMFracClassify"))
12 
13  cfg.addEventAlgo( CompFactory.CaloReadLCWeightsFile("ReadLCWeights",
14  LCWeightFileName = flags.LCW.inRootW, CorrectionKey="H1ClusterCellWeights"))
15 
16  cfg.addEventAlgo( CompFactory.CaloReadLCOutOfClusterFile("ReadLCOutOfCluster",
17  LCOutOfClusterFileName = flags.LCW.inRootOOC, CorrectionKey="OOCCorrection"))
18 
19  cfg.addEventAlgo( CompFactory.CaloReadLCOutOfClusterFile("ReadLCOutOfClusterPi0",
20  LCOutOfClusterFileName = flags.LCW.inRootOOCPI0, CorrectionKey="OOCPi0Correction"))
21 
22 
23  # Output pool+sqlite
24  from RegistrationServices.OutputConditionsAlgConfig import OutputConditionsAlgCfg
25  cfg.merge(OutputConditionsAlgCfg(flags,
26  outputFile=flags.LCW.outDirCLWOOC+"/"+flags.LCW.outFileNameCLWOOC,
27  ObjectList=["CaloLocalHadCoeff#EMFracClassify#/CALO/HadCalibration2/CaloEMFrac",
28  "CaloLocalHadCoeff#H1ClusterCellWeights#/CALO/HadCalibration2/H1ClusterCellWeights",
29  "CaloLocalHadCoeff#OOCCorrection#/CALO/HadCalibration2/CaloOutOfCluster",
30  "CaloLocalHadCoeff#OOCPi0Correction#/CALO/HadCalibration2/CaloOutOfClusterPi0"
31  ],
32  IOVTagList=[flags.LCW.outTagCL, flags.LCW.outTagW, flags.LCW.outTagOOC, flags.LCW.outTagOOCPI0],
33  WriteIOV = True,
34  Run1 = 0,
35  Run2 = 0x7FFFFFFF
36  ))
37 
38  return cfg
39 
40 

Variable Documentation

◆ cfg

CaloGetLC_CL_W_OOC_Config.cfg = MainServicesCfg(flags)

Definition at line 70 of file CaloGetLC_CL_W_OOC_Config.py.

◆ DatabaseInstance

CaloGetLC_CL_W_OOC_Config.DatabaseInstance

Definition at line 64 of file CaloGetLC_CL_W_OOC_Config.py.

◆ DBConnection

CaloGetLC_CL_W_OOC_Config.DBConnection

Definition at line 65 of file CaloGetLC_CL_W_OOC_Config.py.

◆ defaultLimit

CaloGetLC_CL_W_OOC_Config.defaultLimit

Definition at line 80 of file CaloGetLC_CL_W_OOC_Config.py.

◆ Dump

CaloGetLC_CL_W_OOC_Config.Dump

Definition at line 79 of file CaloGetLC_CL_W_OOC_Config.py.

◆ Files

CaloGetLC_CL_W_OOC_Config.Files

Definition at line 51 of file CaloGetLC_CL_W_OOC_Config.py.

◆ flags

CaloGetLC_CL_W_OOC_Config.flags = initConfigFlags()

Definition at line 43 of file CaloGetLC_CL_W_OOC_Config.py.

◆ inRootCL

CaloGetLC_CL_W_OOC_Config.inRootCL

Definition at line 58 of file CaloGetLC_CL_W_OOC_Config.py.

◆ inRootOOC

CaloGetLC_CL_W_OOC_Config.inRootOOC

Definition at line 60 of file CaloGetLC_CL_W_OOC_Config.py.

◆ inRootOOCPI0

CaloGetLC_CL_W_OOC_Config.inRootOOCPI0

Definition at line 61 of file CaloGetLC_CL_W_OOC_Config.py.

◆ inRootW

CaloGetLC_CL_W_OOC_Config.inRootW

Definition at line 59 of file CaloGetLC_CL_W_OOC_Config.py.

◆ OutputLevel

CaloGetLC_CL_W_OOC_Config.OutputLevel

Definition at line 55 of file CaloGetLC_CL_W_OOC_Config.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
CaloGetLC_CL_W_OOC_Config.GetLC_CL_W_OOC_Cfg
def GetLC_CL_W_OOC_Cfg(flags)
Definition: CaloGetLC_CL_W_OOC_Config.py:6
OutputConditionsAlgConfig.OutputConditionsAlgCfg
def OutputConditionsAlgCfg(flags, name="OutputConditionsAlg", outputFile='condobjs.root', **kwargs)
Definition: OutputConditionsAlgConfig.py:5