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