ATLAS Offline Software
Functions
python.EmulationConfig Namespace Reference

Functions

def emulateSC_Cfg (flags, CellsIn="SeedLessFS")
 

Function Documentation

◆ emulateSC_Cfg()

def python.EmulationConfig.emulateSC_Cfg (   flags,
  CellsIn = "SeedLessFS" 
)

Definition at line 3 of file EmulationConfig.py.

3 def emulateSC_Cfg(flags, CellsIn="SeedLessFS"):
4 
5  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6  from AthenaConfiguration.ComponentFactory import CompFactory
8  if flags.Input.isMC:
9  from LArCabling.LArCablingConfig import LArFebRodMappingCfg
10  acc.merge(LArFebRodMappingCfg(flags))
11 
12  from TrigCaloRec.TrigCaloRecConfig import hltCaloCellSeedlessMakerCfg
13  acc.merge(hltCaloCellSeedlessMakerCfg(flags, roisKey = ""))
14 
15 
16  #Use SCEmulation tool that randomly samples time histograms to estimate time for low energy and negative cells forming a supercell
17  acc.addEventAlgo(CompFactory.LVL1.SCEmulation(InputCells=CellsIn, OutputSuperCells = "EmulatedSCellNoBCID"))
18 
19  from LArROD.LArSCSimpleMakerConfig import LArSuperCellBCIDEmAlgCfg
20 
21  larSCargs = {}
22  larSCargs["SCellContainerIn"] = "EmulatedSCellNoBCID"
23  larSCargs["SCellContainerOut"] = flags.Trigger.L1.L1CaloSuperCellContainerName
24 
25  # Apply the pedestal correction
26  acc.merge(LArSuperCellBCIDEmAlgCfg(flags, **larSCargs))
27 
28  # Given this function emulates supercells, we should also configure the supercell alignment Cond alg
29  acc.addCondAlgo(CompFactory.CaloSuperCellAlignCondAlg())
30 
31  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArCablingConfig.LArFebRodMappingCfg
def LArFebRodMappingCfg(configFlags)
Definition: LArCablingConfig.py:80
python.LArSCSimpleMakerConfig.LArSuperCellBCIDEmAlgCfg
def LArSuperCellBCIDEmAlgCfg(flags, **kwargs)
Definition: LArSCSimpleMakerConfig.py:25
python.EmulationConfig.emulateSC_Cfg
def emulateSC_Cfg(flags, CellsIn="SeedLessFS")
Definition: EmulationConfig.py:3
TrigCaloRecConfig.hltCaloCellSeedlessMakerCfg
def hltCaloCellSeedlessMakerCfg(flags, roisKey='UNSPECIFIED')
Definition: TrigCaloRecConfig.py:102