ATLAS Offline Software
Functions | Variables
CaloGetLCDMConfig Namespace Reference

Functions

def GetLCDMCfg (flags)
 

Variables

 flags = initConfigFlags()
 
 Files
 
 OutputLevel
 
 inRootDM
 
 DatabaseInstance
 
 DBConnection
 
 cfg = MainServicesCfg(flags)
 
 Dump
 
 defaultLimit
 

Function Documentation

◆ GetLCDMCfg()

def CaloGetLCDMConfig.GetLCDMCfg (   flags)

Definition at line 6 of file CaloGetLCDMConfig.py.

6 def GetLCDMCfg(flags):
7 
9 
10  GetLCDM = CompFactory.GetLCDeadMaterial("GetLCDM")
11 
12  GetLCDM.HadDMCoeffInputFile = "CaloHadDMCoeff_init_v2.txt"
13 
14  GetLCDM.HadDMCoeffOutputFile = flags.LCW.outDirDM+"/CaloLocalHadCoeff_output_"+flags.LCW.outsfxDM+".txt"
15  GetLCDM.ReportProfiles = flags.LCW.outDirDM+"/report_CaloLocalHadCoeff_profiles_"+flags.LCW.outsfxDM+".ps"
16  GetLCDM.ReportMinimization = flags.LCW.outDirDM+"/report_CaloLocalHadCoeff_minim_"+flags.LCW.outsfxDM+".ps"
17  GetLCDM.ReportCheck = flags.LCW.outDirDM+"/report_CaloLocalHadCoeff_check_"+flags.LCW.outsfxDM+".ps"
18 
19 
20  GetLCDM.DoFit = True
21  GetLCDM.DoMinimization = True
22  GetLCDM.DoPool = True
23  GetLCDM.DoCheck = True
24  # new feature to run on dmtrees from di-jets
25  #GetLCDM.NormalizationTypeForFit="const"
26  #GetLCDM.NormalizationTypeForMinim="const"
27  #GetLCDM.ClassificationType = "particleid"
28 
29  GetLCDM.InputRootFiles = flags.LCW.inRootDM
30 
31  GetLCDM.CorrectionKey="HadDMCoeff2"
32 
33  cfg.addEventAlgo(GetLCDM)
34 
35  # Output pool+sqlite
36  from RegistrationServices.OutputConditionsAlgConfig import OutputConditionsAlgCfg
37  cfg.merge(OutputConditionsAlgCfg(flags,
38  outputFile=flags.LCW.outDirDM+"/"+flags.LCW.outsfxDM+".pool.root",
39  ObjectList=["CaloLocalHadCoeff#HadDMCoeff2#/CALO/HadCalibration2/CaloDMCorr2",],
40  IOVTagList=[flags.LCW.outTagDM,],
41  WriteIOV = True,
42  Run1 = 0,
43  Run2 = 0x7FFFFFFF
44  ))
45 
46  return cfg
47 
48 

Variable Documentation

◆ cfg

CaloGetLCDMConfig.cfg = MainServicesCfg(flags)

Definition at line 75 of file CaloGetLCDMConfig.py.

◆ DatabaseInstance

CaloGetLCDMConfig.DatabaseInstance

Definition at line 69 of file CaloGetLCDMConfig.py.

◆ DBConnection

CaloGetLCDMConfig.DBConnection

Definition at line 70 of file CaloGetLCDMConfig.py.

◆ defaultLimit

CaloGetLCDMConfig.defaultLimit

Definition at line 85 of file CaloGetLCDMConfig.py.

◆ Dump

CaloGetLCDMConfig.Dump

Definition at line 84 of file CaloGetLCDMConfig.py.

◆ Files

CaloGetLCDMConfig.Files

Definition at line 59 of file CaloGetLCDMConfig.py.

◆ flags

CaloGetLCDMConfig.flags = initConfigFlags()

Definition at line 51 of file CaloGetLCDMConfig.py.

◆ inRootDM

CaloGetLCDMConfig.inRootDM

Definition at line 66 of file CaloGetLCDMConfig.py.

◆ OutputLevel

CaloGetLCDMConfig.OutputLevel

Definition at line 63 of file CaloGetLCDMConfig.py.

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