ATLAS Offline Software
Functions
CaloNoise2Ntuple Namespace Reference

Functions

def CaloNoise2NtupleCfg (flags, outputFile)
 

Function Documentation

◆ CaloNoise2NtupleCfg()

def CaloNoise2Ntuple.CaloNoise2NtupleCfg (   flags,
  outputFile 
)

Definition at line 7 of file CaloNoise2Ntuple.py.

7 def CaloNoise2NtupleCfg(flags,outputFile):
8 
10  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
11  cfg.merge(LArGMCfg(flags))
12  from TileGeoModel.TileGMConfig import TileGMCfg
13  cfg.merge(TileGMCfg(flags))
14 
15  from CaloTools.CaloNoiseCondAlgConfig import CaloNoiseCondAlgCfg
16  cfg.merge(CaloNoiseCondAlgCfg(flags,"totalNoise"))
17  cfg.merge(CaloNoiseCondAlgCfg(flags,"electronicNoise"))
18  cfg.merge(CaloNoiseCondAlgCfg(flags,"pileupNoise"))
19 
20  cfg.addEventAlgo(CompFactory.CaloNoise2Ntuple())
21  cfg.addService(CompFactory.THistSvc(Output = ["file1 DATAFILE='"+outputFile+"' OPT='RECREATE'"]))
22 
23  return cfg
24 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
CaloNoise2Ntuple.CaloNoise2NtupleCfg
def CaloNoise2NtupleCfg(flags, outputFile)
Definition: CaloNoise2Ntuple.py:7
python.CaloNoiseCondAlgConfig.CaloNoiseCondAlgCfg
def CaloNoiseCondAlgCfg(flags, noisetype="totalNoise")
Definition: CaloNoiseCondAlgConfig.py:11
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
TileGMConfig.TileGMCfg
def TileGMCfg(flags)
Definition: TileGMConfig.py:7