3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from AthenaConfiguration.Enums
import BeamType
5 from ISF_Algorithms.CollectionMergerConfig
import CollectionMergerCfg
9 bare_collection_name =
"MBTSHits"
10 mergeable_collection_suffix =
"_G4"
11 merger_input_property =
"MBTSHits"
16 mergeable_collection_suffix,
17 merger_input_property,
19 kwargs.setdefault(
"LogicalVolumeNames", [
"LArMgr::MBTS1",
"LArMgr::MBTS2"])
20 kwargs.setdefault(
"OutputCollectionNames", [hits_collection_name])
22 if flags.Beam.Type
is BeamType.Cosmics
or flags.Sim.ReadTR:
23 kwargs.setdefault(
"DeltaTHit", [1])
24 kwargs.setdefault(
"DoTOFCorrection",
False)
26 MinBiasScintillatorSDTool = CompFactory.MinBiasScintillatorSDTool