3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from SimulationConfig.SimEnums
import CalibrationRun, LArParameterization
6 from ISF_Algorithms.CollectionMergerConfig
import CollectionMergerCfg
14 if flags.GeoModel.AtlasVersion
not in [
"tb_LArH6_2003",
"tb_LArH6_2002"]:
15 kwargs.setdefault(
"StacVolumes",[
"LArMgr::LAr::EMB::STAC"])
16 kwargs.setdefault(
"PresamplerVolumes",[
"LArMgr::LAr::Barrel::Presampler::Module"])
17 kwargs.setdefault(
"NegIWVolumes",[
"LArMgr::LAr::EMEC::Neg::InnerWheel"])
18 kwargs.setdefault(
"NegOWVolumes",[
"LArMgr::LAr::EMEC::Neg::OuterWheel"])
19 kwargs.setdefault(
"NegBOBarretteVolumes",[
"LArMgr::LAr::EMEC::Neg::BackOuterBarrette::Module::Phidiv"])
20 if flags.GeoModel.AtlasVersion!=
"tb_LArH6_2003":
21 kwargs.setdefault(
"PosIWVolumes",[
"LArMgr::LAr::EMEC::Pos::InnerWheel"])
22 kwargs.setdefault(
"PosOWVolumes",[
"LArMgr::LAr::EMEC::Pos::OuterWheel"])
23 kwargs.setdefault(
"PosBOBarretteVolumes",[
"LArMgr::LAr::EMEC::Pos::BackOuterBarrette::Module::Phidiv"])
24 kwargs.setdefault(
"PresVolumes", [
"LArMgr::LAr::Endcap::Presampler::LiquidArgon"])
25 kwargs.setdefault(
"SliceVolumes",[
"LArMgr::LAr::HEC::Module::Depth::Slice"])
26 if flags.GeoModel.AtlasVersion
not in [
"tb_LArH6_2002"]:
27 kwargs.setdefault(
"FCAL1Volumes",[
"LArMgr::LAr::FCAL::Module1::Gap"])
28 kwargs.setdefault(
"FCAL2Volumes",[
"LArMgr::LAr::FCAL::Module2::Gap"])
29 kwargs.setdefault(
"FCAL3Volumes",[
"LArMgr::LAr::FCAL::Module3::Gap"])
31 kwargs.setdefault(
"ParticleID",flags.Sim.ParticleID)
33 kwargs.setdefault(
"OutputCollectionNames", [
"LArCalibrationHitActive"])
35 from LArG4Barrel.LArG4BarrelConfig
import BarrelCalibrationCalculatorCfg, BarrelPresamplerCalibrationCalculatorCfg
36 kwargs.setdefault(
"EMBPSCalibrationCalculator",
38 kwargs.setdefault(
"EMBCalibrationCalculator",
41 from LArG4EC.LArG4ECConfig
import EMECPosInnerWheelCalibrationCalculatorCfg, EMECNegInnerWheelCalibrationCalculatorCfg, EMECPosOuterWheelCalibrationCalculatorCfg, EMECNegOuterWheelCalibrationCalculatorCfg, EMECPosBackOuterBarretteCalibrationCalculatorCfg, EMECNegBackOuterBarretteCalibrationCalculatorCfg, EMECPresamplerCalibrationCalculatorCfg
42 kwargs.setdefault(
"EMECPosIWCalibrationCalculator",
44 kwargs.setdefault(
"EMECNegIWCalibrationCalculator",
46 kwargs.setdefault(
"EMECPosOWCalibrationCalculator",
48 kwargs.setdefault(
"EMECNegOWCalibrationCalculator",
50 kwargs.setdefault(
"EMECPSCalibrationCalculator",
52 kwargs.setdefault(
"EMECPosBOBCalibrationCalculator",
54 kwargs.setdefault(
"EMECNegBOBCalibrationCalculator",
57 from LArG4HEC.LArG4HECConfig
import HECCalibrationWheelActiveCalculatorCfg
58 kwargs.setdefault(
"HECWActiveCalculator",
61 from LArG4FCAL.LArG4FCALConfig
import FCAL1CalibCalculatorCfg, FCAL2CalibCalculatorCfg, FCAL3CalibCalculatorCfg
62 kwargs.setdefault(
"FCAL1CalibCalculator",
64 kwargs.setdefault(
"FCAL2CalibCalculator",
66 kwargs.setdefault(
"FCAL3CalibCalculator",
70 result.setPrivateTools( CompFactory.LArG4.ActiveSDTool(name, **kwargs))
76 kwargs.setdefault(
"BarrelCryVolumes", [
"LArMgr::LAr::Barrel::Cryostat::InnerWall::Vis",
77 "LArMgr::LAr::Barrel::Cryostat::Sector::*",
78 "LArMgr::LAr::Barrel::Cryostat::InnerWall",
79 "LArMgr::LAr::Barrel::Cryostat::Cylinder::*"])
80 kwargs.setdefault(
"BarrelCryLArVolumes",[
"LArMgr::LAr::Barrel::Cryostat::ExtraMat*",
81 "LArMgr::LAr::Barrel::Cryostat::HalfLAr*",
82 "LArMgr::LAr::Barrel::Cryostat::TotalLAr",
83 "LArMgr::LAr::Barrel::Cryostat::MotherVolume"])
84 kwargs.setdefault(
"BarrelCryMixVolumes",[
"LArMgr::LAr::Barrel::Cryostat::InnerEndWall",
85 "LArMgr::LAr::Barrel::Cryostat::OuterWall",
86 "LArMgr::LAr::Barrel::Cryostat::Mixed::Cylinder::*"])
87 kwargs.setdefault(
"DeadMaterialVolumes",[
"LArMgr::LAr::DM::*"])
88 kwargs.setdefault(
"BarrelPresVolumes", [
"LArMgr::LAr::Barrel::Presampler",
89 "LArMgr::LAr::Barrel::Presampler::Sector",
90 "LArMgr::LAr::Barrel::Presampler::ProtectionShell",
91 "LArMgr::LAr::Barrel::Presampler::MotherBoard",
92 "LArMgr::LAr::Barrel::Presampler::Connectics",
93 "LArMgr::LAr::Barrel::Presampler::Rail",
94 "LArMgr::LAr::Barrel::Presampler::ProtectionPlate"])
95 kwargs.setdefault(
"BarrelVolumes", [
"LArMgr::LAr::EMB::ExtraMat*",
96 "LArMgr::LAr::EMB::FrontBack::Absorber",
97 "LArMgr::LAr::EMB::FrontBack::Absorber2",
98 "LArMgr::LAr::EMB::FrontBack::Steel",
99 "LArMgr::LAr::EMB::FrontBack::G10",
100 "LArMgr::LAr::EMB::FrontBack::Electrode",
101 "LArMgr::LAr::EMB::GTENB",
102 "LArMgr::LAr::EMB::GTENF",
103 "LArMgr::LAr::EMB::SUMB",
104 "LArMgr::LAr::EMB::CAAC",
105 "LArMgr::LAr::EMB::MOAC",
106 "LArMgr::LAr::EMB::TELB",
107 "LArMgr::LAr::EMB::TELF",
108 "LArMgr::LAr::EMB::ECAM"])
109 kwargs.setdefault(
"ECCryVolumes", [
"LArMgr::LAr::Endcap::Cryostat::FcalLAr::Cylinder",
110 "LArMgr::LAr::Endcap::Cryostat::EmecHecLAr::Sector",
111 "LArMgr::LAr::Endcap::Cryostat::EmecHecLAr::Cylinder",
112 "LArMgr::LAr::Endcap::Cryostat::Sector",
113 "LArMgr::LAr::Endcap::Cryostat::Cone",
114 "LArMgr::LAr::Endcap::Cryostat::Cylinder"])
115 kwargs.setdefault(
"ECCryLArVolumes", [
"LArMgr::Moderator*",
116 "LArMgr::LAr::Endcap::Cryostat::FcalLAr",
117 "LArMgr::LAr::Endcap::Cryostat::EmecHecLAr",
118 "LArMgr::LAr::Endcap::Cryostat::MotherVolume"])
119 kwargs.setdefault(
"ECCryMixVolumes", [
"LArMgr::LAr::FCAL::LiquidArgonC",
120 "LArMgr::LAr::Endcap::Cryostat::EmecHecLAr::Sector::Mixed",
121 "LArMgr::LAr::Endcap::Cryostat::Sector::Mixed",
122 "LArMgr::LAr::Endcap::Cryostat::Cone::Mixed",
123 "LArMgr::LAr::Endcap::Cryostat::ExtraCyl_beforePS",
124 "LArMgr::LAr::Endcap::Cryostat::Cylinder::Mixed"])
125 kwargs.setdefault(
"ECSupportVolumes", [
"LArMgr::LAr::EMEC::ExtraCyl_afterPS",
126 "LArMgr::LAr::EMEC::InnerTransversalBars",
127 "LArMgr::LAr::EMEC::InnerAluCone::*",
128 "LArMgr::LAr::EMEC::OuterTransversalBars",
129 "LArMgr::LAr::EMEC::OuterSupportMother",
130 "LArMgr::LAr::EMEC::*Stretchers",
131 "LArMgr::LAr::EMEC::Top*",
132 "LArMgr::LAr::EMEC::Back*GTen",
133 "LArMgr::LAr::EMEC::Back*Hole",
134 "LArMgr::LAr::EMEC::Back*Bar",
135 "LArMgr::LAr::EMEC::Back*Ring",
136 "LArMgr::LAr::EMEC::Back*Ele",
137 "LArMgr::LAr::EMEC::Back*Abs",
138 "LArMgr::LAr::EMEC::BackInnerBarrette::Module::Phidiv",
139 "LArMgr::LAr::EMEC::Back*Barrette::Module",
140 "LArMgr::LAr::EMEC::Back*Barrettes",
141 "LArMgr::LAr::EMEC::BackSupport*",
142 "LArMgr::LAr::EMEC::Front*",
143 "LArMgr::LAr::EMEC::Mother*"])
144 kwargs.setdefault(
"HECWheelVolumes", [
"LArMgr::LAr::HEC::Mother",
145 "LArMgr::LAr::HEC::LiquidArgon",
146 "LArMgr::LAr::HEC::Clamp",
147 "LArMgr::LAr::HEC::Clamp::LiquidArgon",
148 "LArMgr::LAr::HEC::Module",
149 "LArMgr::LAr::HEC::FrontModule",
150 "LArMgr::LAr::HEC::RearModule",
151 "LArMgr::LAr::HEC::Module::Depth",
152 "LArMgr::LAr::HEC::Module::Depth::FirstAbsorber",
153 "LArMgr::LAr::HEC::Module::Depth::FirstAbsorber::TieRod"])
155 kwargs.setdefault(
"ParticleID", flags.Sim.ParticleID)
156 kwargs.setdefault(
"doEscapedEnergy", flags.Sim.CalibrationRun
is not CalibrationRun.DeadLAr)
158 outputCollectionName =
"LArCalibrationHitDeadMaterial"
159 if flags.Sim.CalibrationRun
in [CalibrationRun.LAr, CalibrationRun.LArTile, CalibrationRun.LArTileZDC]:
160 outputCollectionName =
"LArCalibrationHitDeadMaterial_DEAD"
161 kwargs.setdefault(
"HitCollectionName", outputCollectionName)
165 from LArG4Barrel.LArG4BarrelConfig
import BarrelCryostatCalibrationCalculatorCfg, BarrelCryostatCalibrationLArCalculatorCfg, BarrelCryostatCalibrationMixedCalculatorCfg, DMCalibrationCalculatorCfg, BarrelCalibrationCalculatorCfg, BarrelPresamplerCalibrationCalculatorCfg
174 from LArG4EC.LArG4ECConfig
import EndcapCryostatCalibrationCalculatorCfg, EndcapCryostatCalibrationLArCalculatorCfg, EndcapCryostatCalibrationMixedCalculatorCfg, EMECSupportCalibrationCalculatorCfg
180 from LArG4HEC.LArG4HECConfig
import HECCalibrationWheelDeadCalculatorCfg
183 result.setPrivateTools(CompFactory.LArG4.DeadSDTool(name, **kwargs))
189 bare_collection_name =
"LArHitEMB"
190 mergeable_collection_suffix =
"_G4"
191 merger_input_property =
"LArEMBHits"
194 bare_collection_name,
195 mergeable_collection_suffix,
196 merger_input_property,
201 kwargs.setdefault(
"StacVolumes",[
"LArMgr::LAr::EMB::STAC"])
202 kwargs.setdefault(
"PresamplerVolumes",[
"LArMgr::LAr::Barrel::Presampler::Module"])
203 kwargs.setdefault(
"OutputCollectionNames", [hits_collection_name])
206 kwargs.setdefault(
"UseFrozenShowers", flags.Sim.LArParameterization
is LArParameterization.FrozenShowers)
208 from LArG4Barrel.LArG4BarrelConfig
import EMBPresamplerCalculatorCfg, EMBCalculatorCfg
210 kwargs.setdefault(
"EMBCalculator", result.getPrimaryAndMerge(
EMBCalculatorCfg(flags)).name)
212 result.setPrivateTools( CompFactory.LArG4.EMBSDTool(name, **kwargs) )
218 bare_collection_name =
"LArHitEMEC"
219 mergeable_collection_suffix =
"_G4"
220 merger_input_property =
"LArEMECHits"
223 bare_collection_name,
224 mergeable_collection_suffix,
225 merger_input_property,
229 if flags.GeoModel.AtlasVersion
not in [
"tb_LArH6_2002",
"tb_LArH6EC_2002"]:
230 kwargs.setdefault(
"NegIWVolumes",[
"LArMgr::LAr::EMEC::Neg::InnerWheel"])
231 kwargs.setdefault(
"NegOWVolumes",[
"LArMgr::LAr::EMEC::Neg::OuterWheel"])
232 kwargs.setdefault(
"NegBOBarretteVolumes",[
"LArMgr::LAr::EMEC::Neg::BackOuterBarrette::Module::Phidiv"])
233 if flags.GeoModel.AtlasVersion !=
"tb_LArH6EC_2002":
234 kwargs.setdefault(
"PosIWVolumes",[
"LArMgr::LAr::EMEC::Pos::InnerWheel"])
235 kwargs.setdefault(
"PosOWVolumes",[
"LArMgr::LAr::EMEC::Pos::OuterWheel"])
236 kwargs.setdefault(
"PosBOBarretteVolumes",[
"LArMgr::LAr::EMEC::Pos::BackOuterBarrette::Module::Phidiv"])
237 kwargs.setdefault(
"PresVolumes", [
"LArMgr::LAr::Endcap::Presampler::LiquidArgon"])
238 kwargs.setdefault(
"OutputCollectionNames", [hits_collection_name])
241 kwargs.setdefault(
"UseFrozenShowers", flags.Sim.LArParameterization
is LArParameterization.FrozenShowers)
243 from LArG4EC.LArG4ECConfig
import EMECPosInnerWheelCalculatorCfg, EMECNegInnerWheelCalculatorCfg, EMECPosOuterWheelCalculatorCfg, EMECNegOuterWheelCalculatorCfg, EMECPresamplerCalculatorCfg, EMECPosBackOuterBarretteCalculatorCfg, EMECNegBackOuterBarretteCalculatorCfg
252 result.setPrivateTools( CompFactory.LArG4.EMECSDTool(name, **kwargs) )
258 bare_collection_name =
"LArHitFCAL"
259 mergeable_collection_suffix =
"_G4"
260 merger_input_property =
"LArFCALHits"
263 bare_collection_name,
264 mergeable_collection_suffix,
265 merger_input_property,
269 kwargs.setdefault(
"FCAL1Volumes",[
"LArMgr::LAr::FCAL::Module1::Gap"])
270 kwargs.setdefault(
"FCAL2Volumes",[
"LArMgr::LAr::FCAL::Module2::Gap"])
271 kwargs.setdefault(
"FCAL3Volumes",[
"LArMgr::LAr::FCAL::Module3::Gap"])
273 kwargs.setdefault(
"OutputCollectionNames", [hits_collection_name])
276 kwargs.setdefault(
"UseFrozenShowers", flags.Sim.LArParameterization
is not LArParameterization.NoFrozenShowers)
278 from LArG4FCAL.LArG4FCALConfig
import FCAL1CalculatorCfg, FCAL2CalculatorCfg, FCAL3CalculatorCfg
279 kwargs.setdefault(
"FCAL1Calculator", result.getPrimaryAndMerge(
FCAL1CalculatorCfg(flags)).name)
280 kwargs.setdefault(
"FCAL2Calculator", result.getPrimaryAndMerge(
FCAL2CalculatorCfg(flags)).name)
281 kwargs.setdefault(
"FCAL3Calculator", result.getPrimaryAndMerge(
FCAL3CalculatorCfg(flags)).name)
283 result.setPrivateTools( CompFactory.LArG4.FCALSDTool(name, **kwargs) )
289 bare_collection_name =
"LArHitHEC"
290 mergeable_collection_suffix =
"_G4"
291 merger_input_property =
"LArHECHits"
294 bare_collection_name,
295 mergeable_collection_suffix,
296 merger_input_property,
300 kwargs.setdefault(
"WheelVolumes",[
"LArMgr::LAr::HEC::Module::Depth::Slice"])
305 kwargs.setdefault(
"OutputCollectionNames", [hits_collection_name])
307 from LArG4HEC.LArG4HECConfig
import HECWheelCalculatorCfg
308 kwargs.setdefault(
"HECWheelCalculator", result.getPrimaryAndMerge(
HECWheelCalculatorCfg(flags)).name)
310 result.setPrivateTools( CompFactory.LArG4.HECSDTool(name, **kwargs) )
317 if flags.GeoModel.AtlasVersion
not in [
"tb_LArH6_2003",
"tb_LArH6_2002"]:
318 kwargs.setdefault(
"BarrelPreVolumes",[
"LArMgr::LAr::Barrel::Presampler::Cathode*",
319 "LArMgr::LAr::Barrel::Presampler::Anode*",
320 "LArMgr::LAr::Barrel::Presampler::Prep*"])
321 kwargs.setdefault(
"BarrelVolumes",[
"LArMgr::LAr::EMB::*::Straight",
322 "LArMgr::LAr::EMB::*::*Fold"])
323 kwargs.setdefault(
"ECPosInVolumes", [
"LArMgr::LAr::EMEC::Pos::InnerWheel::Absorber",
324 "LArMgr::LAr::EMEC::Pos::InnerWheel::Electrode",
325 "LArMgr::LAr::EMEC::Pos::InnerWheel::Glue",
326 "LArMgr::LAr::EMEC::Pos::InnerWheel::Lead",
327 "LArMgr::LAr::EMEC::Pos::InnerCone::Absorber",
328 "LArMgr::LAr::EMEC::Pos::InnerCone::Electrode",
329 "LArMgr::LAr::EMEC::Pos::InnerCone::Glue",
330 "LArMgr::LAr::EMEC::Pos::InnerCone::Lead",
331 "LArMgr::LAr::EMEC::Pos::InnerSlice*::Absorber",
332 "LArMgr::LAr::EMEC::Pos::InnerSlice*::Electrode",
333 "LArMgr::LAr::EMEC::Pos::InnerSlice*::Glue",
334 "LArMgr::LAr::EMEC::Pos::InnerSlice*::Lead"])
335 kwargs.setdefault(
"ECPosOutVolumes",[
"LArMgr::LAr::EMEC::Pos::OuterWheel::Lead",
336 "LArMgr::LAr::EMEC::Pos::OuterWheel::Glue",
337 "LArMgr::LAr::EMEC::Pos::OuterWheel::Electrode",
338 "LArMgr::LAr::EMEC::Pos::OuterWheel::Absorber",
339 "LArMgr::LAr::EMEC::Pos::Outer*Cone::Lead",
340 "LArMgr::LAr::EMEC::Pos::Outer*Cone::Glue",
341 "LArMgr::LAr::EMEC::Pos::Outer*Cone::Electrode",
342 "LArMgr::LAr::EMEC::Pos::Outer*Cone::Absorber",
343 "LArMgr::LAr::EMEC::Pos::OuterSlice*::Lead",
344 "LArMgr::LAr::EMEC::Pos::OuterSlice*::Glue",
345 "LArMgr::LAr::EMEC::Pos::OuterSlice*::Electrode",
346 "LArMgr::LAr::EMEC::Pos::OuterSlice*::Absorber"])
347 kwargs.setdefault(
"ECNegInVolumes", [
"LArMgr::LAr::EMEC::Neg::InnerWheel::Absorber",
348 "LArMgr::LAr::EMEC::Neg::InnerWheel::Electrode",
349 "LArMgr::LAr::EMEC::Neg::InnerWheel::Glue",
350 "LArMgr::LAr::EMEC::Neg::InnerWheel::Lead",
351 "LArMgr::LAr::EMEC::Neg::InnerCone::Absorber",
352 "LArMgr::LAr::EMEC::Neg::InnerCone::Electrode",
353 "LArMgr::LAr::EMEC::Neg::InnerCone::Glue",
354 "LArMgr::LAr::EMEC::Neg::InnerCone::Lead",
355 "LArMgr::LAr::EMEC::Neg::InnerSlice*::Absorber",
356 "LArMgr::LAr::EMEC::Neg::InnerSlice*::Electrode",
357 "LArMgr::LAr::EMEC::Neg::InnerSlice*::Glue",
358 "LArMgr::LAr::EMEC::Neg::InnerSlice*::Lead"])
359 kwargs.setdefault(
"ECNegOutVolumes",[
"LArMgr::LAr::EMEC::Neg::OuterWheel::Lead",
360 "LArMgr::LAr::EMEC::Neg::OuterWheel::Glue",
361 "LArMgr::LAr::EMEC::Neg::OuterWheel::Electrode",
362 "LArMgr::LAr::EMEC::Neg::OuterWheel::Absorber",
363 "LArMgr::LAr::EMEC::Neg::Outer*Cone::Lead",
364 "LArMgr::LAr::EMEC::Neg::Outer*Cone::Glue",
365 "LArMgr::LAr::EMEC::Neg::Outer*Cone::Electrode",
366 "LArMgr::LAr::EMEC::Neg::Outer*Cone::Absorber",
367 "LArMgr::LAr::EMEC::Neg::OuterSlice*::Lead",
368 "LArMgr::LAr::EMEC::Neg::OuterSlice*::Glue",
369 "LArMgr::LAr::EMEC::Neg::OuterSlice*::Electrode",
370 "LArMgr::LAr::EMEC::Neg::OuterSlice*::Absorber"])
373 kwargs.setdefault(
"HECWheelVolumes",[
"LArMgr::LAr::HEC::Module::Depth::Absorber::TieRod",
374 "LArMgr::LAr::HEC::Module::Depth::Slice::TieRodDead",
375 "LArMgr::LAr::HEC::Module::Depth::Absorber",
376 "LArMgr::LAr::HEC::Module::Depth::Slice::TieRod",
377 "LArMgr::LAr::HEC::Module::Depth::Slice::Electrode::Copper",
378 "LArMgr::LAr::HEC::Module::Depth::Slice::Electrode"])
379 if flags.GeoModel.AtlasVersion==
"tb_LArH6_2002":
380 kwargs.setdefault(
"ECPosInVolumes", [
"LArMgr::LAr::EMEC::Pos::InnerWheel::Absorber",
381 "LArMgr::LAr::EMEC::Pos::InnerWheel::Electrode"])
382 kwargs.setdefault(
"ECPosOutVolumes",[
"LArMgr::LAr::EMEC::Pos::OuterWheel::Electrode",
383 "LArMgr::LAr::EMEC::Pos::OuterWheel::Absorber"])
384 kwargs.setdefault(
"HECWheelVolumes",[
"LArMgr::LAr::HEC::Module::Depth::Absorber",
385 "LArMgr::LAr::HEC::Module::Depth::Slice::Electrode",
386 "LArMgr::LAr::HEC::Module::Depth::Slice::Electrode::Copper",
387 "LArMgr::LAr::HEC::Module::Depth::Slice::TieRod"])
388 if flags.GeoModel.AtlasVersion!=
"tb_LArH6_2002":
389 kwargs.setdefault(
"FCAL1Volumes",[
"LArMgr::LAr::FCAL::Module1::CableTrough",
390 "LArMgr::LAr::FCAL::Module1::Absorber"])
391 kwargs.setdefault(
"FCAL2Volumes",[
"LArMgr::LAr::FCAL::Module2::CableTrough",
392 "LArMgr::LAr::FCAL::Module2::Absorber",
393 "LArMgr::LAr::FCAL::Module2::Rod"])
394 kwargs.setdefault(
"FCAL3Volumes",[
"LArMgr::LAr::FCAL::Module3::CableTrough",
395 "LArMgr::LAr::FCAL::Module3::Absorber",
396 "LArMgr::LAr::FCAL::Module3::Rod"])
398 kwargs.setdefault(
"ParticleID",flags.Sim.ParticleID)
400 kwargs.setdefault(
"OutputCollectionNames", [
"LArCalibrationHitInactive"])
402 from LArG4Barrel.LArG4BarrelConfig
import BarrelCalibrationCalculatorCfg, BarrelPresamplerCalibrationCalculatorCfg
406 from LArG4EC.LArG4ECConfig
import EMECPosInnerWheelCalibrationCalculatorCfg, EMECNegInnerWheelCalibrationCalculatorCfg, EMECPosOuterWheelCalibrationCalculatorCfg, EMECNegOuterWheelCalibrationCalculatorCfg
412 from LArG4HEC.LArG4HECConfig
import HECCalibrationWheelInactiveCalculatorCfg
415 from LArG4FCAL.LArG4FCALConfig
import FCAL1CalibCalculatorCfg, FCAL2CalibCalculatorCfg, FCAL3CalibCalculatorCfg
421 result.setPrivateTools( CompFactory.LArG4.InactiveSDTool(name, **kwargs) )
427 result.addService( CompFactory.LArG4.CalibrationDefaultCalculator(name, **kwargs), primary =
True)
433 kwargs.setdefault(
"InputHits", [
"LArCalibrationHitDeadMaterial_DEAD",
"LArCalibrationHitActive_DEAD",
"LArCalibrationHitInactive_DEAD"])
434 kwargs.setdefault(
"OutputHits",
"LArCalibrationHitDeadMaterial")
435 result.addEventAlgo(CompFactory.LArG4.CalibrationHitMerger(name, **kwargs))