ATLAS Offline Software
Functions
SCT_G4_SDToolConfig Namespace Reference

Functions

def SctSensorSDCfg (ConfigFlags, name="SctSensorSD", **kwargs)
 
def SctSensor_CTBCfg (ConfigFlags, name="SctSensor_CTB", **kwargs)
 
def ITkStripSensorSDCfg (ConfigFlags, name="ITkStripSensorSD", **kwargs)
 

Function Documentation

◆ ITkStripSensorSDCfg()

def SCT_G4_SDToolConfig.ITkStripSensorSDCfg (   ConfigFlags,
  name = "ITkStripSensorSD",
**  kwargs 
)

Definition at line 37 of file SCT_G4_SDToolConfig.py.

37 def ITkStripSensorSDCfg(ConfigFlags, name="ITkStripSensorSD", **kwargs):
38  bare_collection_name = "ITkStripHits"
39  mergeable_collection_suffix = "_G4"
40  merger_input_property = "ITkStripHits"
41  region = "ITk"
42 
43  acc, hits_collection_name = CollectionMergerCfg(ConfigFlags,
44  bare_collection_name,
45  mergeable_collection_suffix,
46  merger_input_property,
47  region)
48  kwargs.setdefault("GmxSensor", True)
49  kwargs.setdefault("LogicalVolumeNames", ["ITkStrip::BRLSensorSS","ITkStrip::BRLSensorMS",
50  "ITkStrip::ECSensor0","ITkStrip::ECSensor1","ITkStrip::ECSensor2",
51  "ITkStrip::ECSensor3","ITkStrip::ECSensor4","ITkStrip::ECSensor5",
52  "ITkStrip::ECSensorBack0","ITkStrip::ECSensorBack1","ITkStrip::ECSensorBack2",
53  "ITkStrip::ECSensorBack3","ITkStrip::ECSensorBack4","ITkStrip::ECSensorBack5"])
54  kwargs.setdefault("OutputCollectionNames", [hits_collection_name])
55 
56  result = ComponentAccumulator()
57  result.merge(acc)
58  result.setPrivateTools(CompFactory.SctSensorSDTool(name, **kwargs))
59  return result

◆ SctSensor_CTBCfg()

def SCT_G4_SDToolConfig.SctSensor_CTBCfg (   ConfigFlags,
  name = "SctSensor_CTB",
**  kwargs 
)

Definition at line 29 of file SCT_G4_SDToolConfig.py.

29 def SctSensor_CTBCfg(ConfigFlags, name="SctSensor_CTB", **kwargs):
30  kwargs.setdefault("LogicalVolumeNames", ["SCT::ECSensor0"])
31  kwargs.setdefault("OutputCollectionNames", ["SCT_Hits"])
32  result = ComponentAccumulator()
33  result.setPrivateTools(CompFactory.SctSensor_CTBTool(name, **kwargs))
34  return result
35 
36 

◆ SctSensorSDCfg()

def SCT_G4_SDToolConfig.SctSensorSDCfg (   ConfigFlags,
  name = "SctSensorSD",
**  kwargs 
)

Definition at line 8 of file SCT_G4_SDToolConfig.py.

8 def SctSensorSDCfg(ConfigFlags, name="SctSensorSD", **kwargs):
9  bare_collection_name = "SCT_Hits"
10  mergeable_collection_suffix = "_G4"
11  merger_input_property = "SCTHits"
12  region = "ID"
13 
14  acc, hits_collection_name = CollectionMergerCfg(ConfigFlags,
15  bare_collection_name,
16  mergeable_collection_suffix,
17  merger_input_property,
18  region)
19  kwargs.setdefault("LogicalVolumeNames", ["SCT::BRLSensor","SCT::ECSensor0","SCT::ECSensor1",
20  "SCT::ECSensor2","SCT::ECSensor3"])
21  kwargs.setdefault("OutputCollectionNames", [hits_collection_name])
22 
23  result = ComponentAccumulator()
24  result.merge(acc)
25  result.setPrivateTools(CompFactory.SctSensorSDTool(name, **kwargs))
26  return result
27 
28 
SCT_G4_SDToolConfig.SctSensor_CTBCfg
def SctSensor_CTBCfg(ConfigFlags, name="SctSensor_CTB", **kwargs)
Definition: SCT_G4_SDToolConfig.py:29
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
SCT_G4_SDToolConfig.SctSensorSDCfg
def SctSensorSDCfg(ConfigFlags, name="SctSensorSD", **kwargs)
Definition: SCT_G4_SDToolConfig.py:8
SCT_G4_SDToolConfig.ITkStripSensorSDCfg
def ITkStripSensorSDCfg(ConfigFlags, name="ITkStripSensorSD", **kwargs)
Definition: SCT_G4_SDToolConfig.py:37
CollectionMergerConfig.CollectionMergerCfg
def CollectionMergerCfg(flags, bare_collection_name, mergeable_collection_suffix, merger_input_property, region)
Definition: CollectionMergerConfig.py:66