ATLAS Offline Software
Functions
TrackWriteFastSimConfig Namespace Reference

Functions

def TrackFastSimSDCfg (flags, name='TrackFastSimSD', **kwargs)
 
def NeutronFastSimCfg (flags, name='NeutronFastSim', **kwargs)
 
def CosmicTRSDCfg (flags, name="CosmicRecord", **kwargs)
 
def MuonEntryRecordSDCfg (flags, name="MuonEntryRecord", **kwargs)
 

Function Documentation

◆ CosmicTRSDCfg()

def TrackWriteFastSimConfig.CosmicTRSDCfg (   flags,
  name = "CosmicRecord",
**  kwargs 
)

Definition at line 33 of file TrackWriteFastSimConfig.py.

33 def CosmicTRSDCfg(flags, name="CosmicRecord", **kwargs):
34  kwargs.setdefault("LogicalVolumeNames", ['TTR_BARREL::TTR_BARREL'])
35  kwargs.setdefault("SD_type", 2)
36  kwargs.setdefault ('OutputCollectionNames', ['CosmicRecord'])
37  result = ComponentAccumulator()
38  result.setPrivateTools(CompFactory.TrackRecorderSDTool(name, **kwargs))
39  return result
40 

◆ MuonEntryRecordSDCfg()

def TrackWriteFastSimConfig.MuonEntryRecordSDCfg (   flags,
  name = "MuonEntryRecord",
**  kwargs 
)

Definition at line 41 of file TrackWriteFastSimConfig.py.

41 def MuonEntryRecordSDCfg(flags, name="MuonEntryRecord", **kwargs):
42  kwargs.setdefault("LogicalVolumeNames", ['MSEL'])
43  kwargs.setdefault("SD_type", 1)
44  kwargs.setdefault ('OutputCollectionNames', ['MuonEntryRecord'])
45  result = ComponentAccumulator()
46  result.setPrivateTools(CompFactory.TrackRecorderSDTool(name, **kwargs))
47  return result

◆ NeutronFastSimCfg()

def TrackWriteFastSimConfig.NeutronFastSimCfg (   flags,
  name = 'NeutronFastSim',
**  kwargs 
)

Definition at line 19 of file TrackWriteFastSimConfig.py.

19 def NeutronFastSimCfg(flags, name='NeutronFastSim', **kwargs):
20  if flags.Sim.CavernBackground not in [CavernBackground.Off, CavernBackground.Read]:
21  kwargs.setdefault('RegionNames', ['MuonSystemFastRegion'])
22  # Cannot actually get these from the job options in a normal fashion;
23  # would need to know what they are for a "normal" job and configure
24  # to match that. Not obvious how to do that!
25 
26  kwargs.setdefault('TrackFastSimSDName', "ToolSvc.SensitiveDetectorMasterTool.TrackFastSimSD")
27  kwargs.setdefault('PrimaryEtaCut',6.0)
28  kwargs.setdefault('NeutronTimeCut',150.)
29  result = ComponentAccumulator()
30  result.setPrivateTools(CompFactory.NeutronFastSimTool(name, **kwargs))
31  return result
32 

◆ TrackFastSimSDCfg()

def TrackWriteFastSimConfig.TrackFastSimSDCfg (   flags,
  name = 'TrackFastSimSD',
**  kwargs 
)

Definition at line 8 of file TrackWriteFastSimConfig.py.

8 def TrackFastSimSDCfg(flags, name='TrackFastSimSD', **kwargs):
9  kwargs.setdefault ('NoVolumes', True)
10  if flags.Sim.CavernBackground not in [CavernBackground.Off, CavernBackground.Read]:
11  if flags.Sim.CavernBackground in [CavernBackground.Write, CavernBackground.WriteWorld]:
12  kwargs.setdefault ('OutputCollectionNames', ['NeutronBG'])
13  elif len(flags.Sim.StoppedParticleFile)>0:
14  kwargs.setdefault ('OutputCollectionNames', ['StoppingPositions'])
15  result = ComponentAccumulator()
16  result.setPrivateTools(CompFactory.TrackFastSimSDTool(name, **kwargs))
17  return result
18 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TrackWriteFastSimConfig.NeutronFastSimCfg
def NeutronFastSimCfg(flags, name='NeutronFastSim', **kwargs)
Definition: TrackWriteFastSimConfig.py:19
TrackWriteFastSimConfig.CosmicTRSDCfg
def CosmicTRSDCfg(flags, name="CosmicRecord", **kwargs)
Definition: TrackWriteFastSimConfig.py:33
TrackWriteFastSimConfig.MuonEntryRecordSDCfg
def MuonEntryRecordSDCfg(flags, name="MuonEntryRecord", **kwargs)
Definition: TrackWriteFastSimConfig.py:41
TrackWriteFastSimConfig.TrackFastSimSDCfg
def TrackFastSimSDCfg(flags, name='TrackFastSimSD', **kwargs)
Definition: TrackWriteFastSimConfig.py:8