ATLAS Offline Software
Functions
LArG4FastSimulationConfig Namespace Reference

Functions

def LArG4ShowerLibSvcCfg (flags, **kwargs)
 
def EMBFastShowerCfg (flags, **kwargs)
 
def EMECFastShowerCfg (flags, **kwargs)
 
def FCALFastShowerCfg (flags, **kwargs)
 
def FCAL2FastShowerCfg (flags, **kwargs)
 

Function Documentation

◆ EMBFastShowerCfg()

def LArG4FastSimulationConfig.EMBFastShowerCfg (   flags,
**  kwargs 
)

Definition at line 23 of file LArG4FastSimulationConfig.py.

23 def EMBFastShowerCfg(flags, **kwargs):
24  result = ComponentAccumulator()
25  result.merge(LArG4ShowerLibSvcCfg(flags))
26  kwargs.setdefault("RegionNames", ["EMB"])
27  kwargs.setdefault("EFlagToShowerLib", False)
28  kwargs.setdefault("GFlagToShowerLib", False)
29  kwargs.setdefault("NeutFlagToShowerLib",False)
30  kwargs.setdefault("PionFlagToShowerLib",False)
31  kwargs.setdefault("ContainLow", True)
32  kwargs.setdefault("AbsLowEta", 0.3)
33  kwargs.setdefault("ContainHigh", True)
34  kwargs.setdefault("AbsHighEta", 1.1)
35  kwargs.setdefault("ContainCrack", True)
36  kwargs.setdefault("AbsCrackEta1", 0.5)
37  kwargs.setdefault("AbsCrackEta2", 1.1)
38  kwargs.setdefault("DetectorTag", 100000)
39  kwargs.setdefault("SensitiveDetector", "BarrelFastSimDedicatedSD")
40  kwargs.setdefault("EMinEneShowerLib", 0.51)
41  result.setPrivateTools(CompFactory.LArFastShowerTool(name="EMBFastShower", **kwargs))
42  return result
43 
44 

◆ EMECFastShowerCfg()

def LArG4FastSimulationConfig.EMECFastShowerCfg (   flags,
**  kwargs 
)

Definition at line 45 of file LArG4FastSimulationConfig.py.

45 def EMECFastShowerCfg(flags, **kwargs):
46  result = ComponentAccumulator()
47  result.merge(LArG4ShowerLibSvcCfg(flags))
48  kwargs.setdefault("RegionNames", ["EMECPara"])
49  kwargs.setdefault("EFlagToShowerLib", False)
50  kwargs.setdefault("GFlagToShowerLib", False)
51  kwargs.setdefault("NeutFlagToShowerLib",False)
52  kwargs.setdefault("PionFlagToShowerLib",False)
53  kwargs.setdefault("ContainLow", True)
54  kwargs.setdefault("AbsLowEta", 1.8)
55  kwargs.setdefault("ContainHigh", True)
56  kwargs.setdefault("AbsHighEta", 2.9)
57  kwargs.setdefault("ContainCrack", True)
58  kwargs.setdefault("AbsCrackEta1", 2.2)
59  kwargs.setdefault("AbsCrackEta2", 2.8)
60  kwargs.setdefault("DetectorTag", 200000)
61  kwargs.setdefault("SensitiveDetector", "EndcapFastSimDedicatedSD")
62  kwargs.setdefault("EMinEneShowerLib", 0.51)
63  result.setPrivateTools(CompFactory.LArFastShowerTool(name="EMECFastShower", **kwargs))
64  return result
65 
66 

◆ FCAL2FastShowerCfg()

def LArG4FastSimulationConfig.FCAL2FastShowerCfg (   flags,
**  kwargs 
)

Definition at line 86 of file LArG4FastSimulationConfig.py.

86 def FCAL2FastShowerCfg(flags, **kwargs):
87  result = ComponentAccumulator()
88  result.merge(LArG4ShowerLibSvcCfg(flags))
89  kwargs.setdefault("RegionNames", ["FCAL2Para"])
90  kwargs.setdefault("EFlagToShowerLib", True)
91  kwargs.setdefault("GFlagToShowerLib", True)
92  kwargs.setdefault("NeutFlagToShowerLib",True)
93  kwargs.setdefault("PionFlagToShowerLib",False)
94  kwargs.setdefault("ContainLow", True)
95  kwargs.setdefault("AbsLowEta", 3.8)
96  kwargs.setdefault("ContainHigh", True)
97  kwargs.setdefault("AbsHighEta", 4.4)
98  kwargs.setdefault("DetectorTag", 400000)
99  kwargs.setdefault("SensitiveDetector", "FCALFastSimDedicatedSD")
100  kwargs.setdefault("EMinEneShowerLib", 1.0)
101  result.setPrivateTools(CompFactory.LArFastShowerTool(name="FCAL2FastShower", **kwargs))
102  return result

◆ FCALFastShowerCfg()

def LArG4FastSimulationConfig.FCALFastShowerCfg (   flags,
**  kwargs 
)

Definition at line 67 of file LArG4FastSimulationConfig.py.

67 def FCALFastShowerCfg(flags, **kwargs):
68  result = ComponentAccumulator()
69  result.merge(LArG4ShowerLibSvcCfg(flags))
70  kwargs.setdefault("RegionNames", ["FCALPara"])
71  kwargs.setdefault("EFlagToShowerLib", True)
72  kwargs.setdefault("GFlagToShowerLib", True)
73  kwargs.setdefault("NeutFlagToShowerLib",True)
74  kwargs.setdefault("PionFlagToShowerLib",False)
75  kwargs.setdefault("ContainLow", False)
76  kwargs.setdefault("AbsLowEta", 4.0)
77  kwargs.setdefault("ContainHigh", False)
78  kwargs.setdefault("AbsHighEta", 4.6)
79  kwargs.setdefault("DetectorTag", 300000)
80  kwargs.setdefault("SensitiveDetector", "FCALFastSimDedicatedSD")
81  kwargs.setdefault("EMinEneShowerLib", 3.0)
82  result.setPrivateTools(CompFactory.LArFastShowerTool(name="FCALFastShower", **kwargs))
83  return result
84 
85 

◆ LArG4ShowerLibSvcCfg()

def LArG4FastSimulationConfig.LArG4ShowerLibSvcCfg (   flags,
**  kwargs 
)

Definition at line 6 of file LArG4FastSimulationConfig.py.

6 def LArG4ShowerLibSvcCfg(flags, **kwargs):
7  result = ComponentAccumulator()
8  fileNameList = []
9  #TODO make this configurable based on flags?
10  # FCAL1 frozen shower libraries
11  fileNameList += [ "LArG4ShowerLibData/MC23_v2/LArG4ShowerLib.FCAL1.11.root",
12  "LArG4ShowerLibData/MC23_v2/LArG4ShowerLib.FCAL1.22.root",
13  "LArG4ShowerLibData/MC23_v2/LArG4ShowerLib.FCAL1.2112.root"]
14  # FCAL2 frozen shower libraries
15  fileNameList += [ "LArG4ShowerLibData/MC23_v2/LArG4ShowerLib.FCAL2.11.root",
16  "LArG4ShowerLibData/MC23_v2/LArG4ShowerLib.FCAL2.22.root",
17  "LArG4ShowerLibData/MC23_v2/LArG4ShowerLib.FCAL2.2112.root"]
18  kwargs.setdefault("FileNameList", fileNameList)
19  result.addService(CompFactory.LArG4ShowerLibSvc(name="LArG4ShowerLibSvc", **kwargs))
20  return result
21 
22 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArG4FastSimulationConfig.EMBFastShowerCfg
def EMBFastShowerCfg(flags, **kwargs)
Definition: LArG4FastSimulationConfig.py:23
LArG4FastSimulationConfig.EMECFastShowerCfg
def EMECFastShowerCfg(flags, **kwargs)
Definition: LArG4FastSimulationConfig.py:45
LArG4FastSimulationConfig.FCALFastShowerCfg
def FCALFastShowerCfg(flags, **kwargs)
Definition: LArG4FastSimulationConfig.py:67
LArG4FastSimulationConfig.LArG4ShowerLibSvcCfg
def LArG4ShowerLibSvcCfg(flags, **kwargs)
Definition: LArG4FastSimulationConfig.py:6
LArG4FastSimulationConfig.FCAL2FastShowerCfg
def FCAL2FastShowerCfg(flags, **kwargs)
Definition: LArG4FastSimulationConfig.py:86