ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TestBeam
TBRec
share
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
5
from
TBRec.TBRecConf
import
TBTrackToCaloAlg
6
MuToCaloAlg =
TBTrackToCaloAlg
(
"MuToCaloAlg"
)
7
8
MuToCaloAlg.ClusterContainerName =
"CaloTopoClusterEM"
9
MuToCaloAlg.CaloCellContainerName =
"AllCalo"
10
MuToCaloAlg.ImpactInCaloContainerName =
"MuImpactInCalo"
11
12
# If type is anything else than TrackParticleCandidates, will take Tracks
13
# MuToCaloAlg.TrackInputType = "TrackParticleCandidates"
14
# MuToCaloAlg.TrackParticleName = "TrackParticleCandidate"
15
MuToCaloAlg.TrackInputType =
"Tracks"
16
MuToCaloAlg.TrackName =
"ConvertedMBoyTracks"
17
18
theApp += MuToCaloAlg
19
20
# ------ More general part to be used as an example : setup Extrapolator instance
21
22
TTC_ExtrapolatorInstance =
'MuToCaloExtrapolator'
23
include(
"TBRec/ExtrapolToCaloTool_joboptions.py"
)
24
25
# configure private ExtrapolTrackToCaloTool tool
26
MuToCaloAlg.ExtrapolTrackToCaloTool.ExtrapolatorName = TTC_Extrapolator.name()
27
MuToCaloAlg.ExtrapolTrackToCaloTool.ExtrapolatorInstanceName = TTC_Extrapolator.instance()
28
MuToCaloAlg.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)
TBTrackToCaloAlg
This Algorithm is meant to be an example of use of the TrackToCalo tools :
Definition
TBTrackToCaloAlg.h:63
Generated on
for ATLAS Offline Software by
1.17.0