ATLAS Offline Software
Loading...
Searching...
No Matches
MuonPrdSelector_jobOptions.py
Go to the documentation of this file.
2# Changing the names of the RdoToPrepData output Containers
3#
4
5
6if hasattr(topSequence,'MdtRdoToMdtPrepData'):
7 topSequence.MdtRdoToMdtPrepData.DecodingTool.OutputCollection = "MDT_DriftCircles_unfiltered"
8
9if hasattr(topSequence,'CscRdoToCscPrepData'):
10 topSequence.CscRdoToCscPrepData.CscRdoToCscPrepDataTool.OutputCollection = "CSC_Measurements_unfiltered"
11
12if hasattr(topSequence,'RpcRdoToRpcPrepData'):
13 topSequence.RpcRdoToRpcPrepData.DecodingTool.TriggerOutputCollection = "RPC_Measurements_unfiltered"
14
15if hasattr(topSequence,'TgcRdoToTgcPrepData'):
16 topSequence.TgcRdoToTgcPrepData.DecodingTool.OutputCollection = "TGC_Measurements_unfiltered"
17
18
19#--------------------------------------------------------------------------
20# Configuration of MuonIdCutTool
21#--------------------------------------------------------------------------
22
23#multiple cuts may be selected at the same time.
24#if etaCut and phiCut are both true, the program is smart enough to know that technologies
25#with no lists shouldn't be cut, but if either eta or philists are set for a technology,
26#both should be set or it will cut the whole technology.
27
28from MuonPrdSelector.MuonPrdSelectorConf import MuonIdCutTool
29
30MuonIdCutTool = MuonIdCutTool()
31MuonIdCutTool.OutputLevel = INFO
32
33MuonIdCutTool.CutStationRegion = False
34MuonIdCutTool.CutStationName = False
35MuonIdCutTool.CutSubstation = False
36MuonIdCutTool.CutEta = False
37MuonIdCutTool.CutPhi = False
38MuonIdCutTool.CutEE = False
39
40
41MuonIdCutTool.CutMdtStationNameList = [] #Integer, maps to BIL,EOS,etc
42MuonIdCutTool.CutCscStationNameList = []
43MuonIdCutTool.CutRpcStationNameList = []
44MuonIdCutTool.CutTgcStationNameList = []
45
46MuonIdCutTool.CutMdtRegionList = [] #Inner-0,Extra-1,Middle-2,Outer-3
47#MuonIdCutTool.CutCscRegionList = []
48MuonIdCutTool.CutRpcRegionList = []
49#MuonIdCutTool.CutTgcRegionList = []
50MuonIdCutTool.CutRpcRegionList = [0, 1, 2, 3]
51
52MuonIdCutTool.CutMdtMultilayerList = []
53MuonIdCutTool.CutRpcDoubletRList = []
54MuonIdCutTool.CutRpcGasGapList = []
55MuonIdCutTool.CutTgcGasGapList = []
56
57#Syntax is Eta/Sector, list of EEL chambers to KEEP
58MuonIdCutTool.EELList = []
59#MuonIdCutTool.EELList +=["1/2"]
60
61#note that eta/phi lists specify region to KEEP
62#this was done for consistency with earlier versions
63MuonIdCutTool.MdtBarrelEtaList = []#-8 to +8, 0 is eta=0
64MuonIdCutTool.MdtEndcapEtaList = []#-6 to +6, abs val increaseswith increasing |R|
65MuonIdCutTool.MdtSectorList = [] #1-16, increases with phi, starts x direction
66
67MuonIdCutTool.RpcEtaList = [] #same as mdtbarrel
68MuonIdCutTool.RpcSectorList = []
69
70MuonIdCutTool.CscEtaList = [] #always 1 for all sectors
71MuonIdCutTool.CscSectorList = [] #same as mdt
72
73#be careful, the numbering/placement of tgcs is quite different
74#forward tgc sectors have eta = 1
75MuonIdCutTool.TgcEtaList = [] #-5 to +5 abs val increaseswith increasing |R|
76MuonIdCutTool.TgcEndcapPhiList = [] #1-24
77MuonIdCutTool.TgcForwardPhiList = []#1-48
78
79#
80# Creating an instance of the MuonPrdSelectorAlg
81#
82# Setting the names of the input/output Containers of the MuonPrdSelectorAlg.
83# The output containers have the original name of the containers used by
84# the reconstruction algorithms.
85#
86from MuonPrdSelector.MuonPrdSelectorConf import MuonPrdSelectorAlg
87MuonPrdSelectorAlg = MuonPrdSelectorAlg( MDT_PRDinputContainer = "MDT_DriftCircles_unfiltered",
88 MDT_PRDoutputContainer = "MDT_DriftCircles",
89
90 RPC_PRDinputContainer = "RPC_Measurements_unfiltered",
91 RPC_PRDoutputContainer = "RPC_Measurements",
92
93 TGC_PRDinputContainer = "TGC_Measurements_unfiltered",
94 TGC_PRDoutputContainer = "TGC_Measurements",
95
96 CSC_PRDinputContainer = "CSC_Measurements_unfiltered",
97 CSC_PRDoutputContainer = "CSC_Measurements",
98 MuonIdCutTool = MuonIdCutTool )
99
100
101topSequence += MuonPrdSelectorAlg
Implementation of an IMuonIdCutTool.