ATLAS Offline Software
Loading...
Searching...
No Matches
TBMuToCaloAlg_jobOptions.py
Go to the documentation of this file.
1# JobOptions to extrapolate a track to Calorimeters
2
3# ------ Specific to this alg :
4
5from TBRec.TBRecConf import TBTrackToCaloAlg
6MuToCaloAlg = TBTrackToCaloAlg( "MuToCaloAlg" )
7
8MuToCaloAlg.ClusterContainerName = "CaloTopoClusterEM"
9MuToCaloAlg.CaloCellContainerName = "AllCalo"
10MuToCaloAlg.ImpactInCaloContainerName = "MuImpactInCalo"
11
12# If type is anything else than TrackParticleCandidates, will take Tracks
13# MuToCaloAlg.TrackInputType = "TrackParticleCandidates"
14# MuToCaloAlg.TrackParticleName = "TrackParticleCandidate"
15MuToCaloAlg.TrackInputType = "Tracks"
16MuToCaloAlg.TrackName = "ConvertedMBoyTracks"
17
18theApp += MuToCaloAlg
19
20# ------ More general part to be used as an example : setup Extrapolator instance
21
22TTC_ExtrapolatorInstance = 'MuToCaloExtrapolator'
23include( "TBRec/ExtrapolToCaloTool_joboptions.py" )
24
25# configure private ExtrapolTrackToCaloTool tool
26MuToCaloAlg.ExtrapolTrackToCaloTool.ExtrapolatorName = TTC_Extrapolator.name()
27MuToCaloAlg.ExtrapolTrackToCaloTool.ExtrapolatorInstanceName = TTC_Extrapolator.instance()
28MuToCaloAlg.ExtrapolTrackToCaloTool.CaloDepthTool.DepthChoice= "entrance"
29
30# the type of extrapolation is set automatically. To force it add here :
31# doStraightToCalo=False will use RungeKutta (default for Atlas)
32# doStraightToCalo=True will use StraightLine (default for ctb)
This Algorithm is meant to be an example of use of the TrackToCalo tools :