ATLAS Offline Software
Functions | Variables
LArEMSamplingFractionConfig Namespace Reference

Functions

def LarEMSamplingFractionCfg (flags, name="LarEMSamplingFraction", **kwargs)
 

Variables

 flags
 
 GlobalTag
 
 Files
 
 HISTFileName
 
 MaxEvents
 
 acc
 

Function Documentation

◆ LarEMSamplingFractionCfg()

def LArEMSamplingFractionConfig.LarEMSamplingFractionCfg (   flags,
  name = "LarEMSamplingFraction",
**  kwargs 
)

Definition at line 18 of file LArEMSamplingFractionConfig.py.

18 def LarEMSamplingFractionCfg(flags, name="LarEMSamplingFraction", **kwargs):
19  acc = ComponentAccumulator()
20 
21  acc.addService(CompFactory.THistSvc(name="THistSvc", Output=[ f"{name} DATAFILE='{flags.Output.HISTFileName}' OPT='RECREATE'" ]))
22 
23  kwargs.setdefault('HistPath', f"/{name}/")
24  kwargs.setdefault('DoCells', 0)
25 
26  kwargs.setdefault('CalibrationHitContainerNames', [
27  "LArCalibrationHitInactive",
28  "LArCalibrationHitActive",
29  "TileCalibHitInactiveCell",
30  "TileCalibHitActiveCell",
31  ] )
32 
33  acc.addEventAlgo(CompFactory.LarEMSamplingFraction(name, **kwargs))
34 
35  return acc
36 
37 
38 # Setting flags

Variable Documentation

◆ acc

LArEMSamplingFractionConfig.acc

Definition at line 49 of file LArEMSamplingFractionConfig.py.

◆ Files

LArEMSamplingFractionConfig.Files

Definition at line 41 of file LArEMSamplingFractionConfig.py.

◆ flags

LArEMSamplingFractionConfig.flags

Definition at line 39 of file LArEMSamplingFractionConfig.py.

◆ GlobalTag

LArEMSamplingFractionConfig.GlobalTag

Definition at line 40 of file LArEMSamplingFractionConfig.py.

◆ HISTFileName

LArEMSamplingFractionConfig.HISTFileName

Definition at line 42 of file LArEMSamplingFractionConfig.py.

◆ MaxEvents

LArEMSamplingFractionConfig.MaxEvents

Definition at line 43 of file LArEMSamplingFractionConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArEMSamplingFractionConfig.LarEMSamplingFractionCfg
def LarEMSamplingFractionCfg(flags, name="LarEMSamplingFraction", **kwargs)
Definition: LArEMSamplingFractionConfig.py:18