CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonAssociatorByHits_cfi.py
Go to the documentation of this file.
2 
3 
4 muonAssociatorByHitsCommonParameters = cms.PSet(
5  dumpInputCollections = cms.bool(False),
6  #
7  #....... general input parameters
8  #
9  # include invalid muon hits
10  includeZeroHitMuons = cms.bool(True),
11  #
12  # accept to match only tracker/muon stub of globalMuons
13  acceptOneStubMatchings = cms.bool(True),
14  #
15  # switches to be set according to the input Track collection
16  UseTracker = cms.bool(True),
17  UseMuon = cms.bool(True),
18  #
19  # cuts for the muon stub
20  AbsoluteNumberOfHits_muon = cms.bool(False),
21  NHitCut_muon = cms.uint32(0),
22  EfficiencyCut_muon = cms.double(0.),
23  PurityCut_muon = cms.double(0.),
24  #
25  # cuts for the tracker stub
26  AbsoluteNumberOfHits_track = cms.bool(False),
27  NHitCut_track = cms.uint32(0),
28  EfficiencyCut_track = cms.double(0.),
29  PurityCut_track = cms.double(0.),
30  #
31  # switches for the tracker stub
32  UsePixels = cms.bool(True),
33  UseGrouped = cms.bool(True),
34  UseSplitting = cms.bool(True),
35  ThreeHitTracksAreSpecial = cms.bool(False),
36  #
37  # for DT Hit associator
38  crossingframe = cms.bool(False),
39  simtracksTag = cms.InputTag("g4SimHits"),
40  simtracksXFTag = cms.InputTag("mix","g4SimHits"),
41  #
42  DTsimhitsTag = cms.InputTag("g4SimHits","MuonDTHits"),
43  DTsimhitsXFTag = cms.InputTag("mix","g4SimHitsMuonDTHits"),
44  DTdigiTag = cms.InputTag("simMuonDTDigis"),
45  DTdigisimlinkTag = cms.InputTag("simMuonDTDigis"),
46  DTrechitTag = cms.InputTag("dt1DRecHits"),
47  #
48  dumpDT = cms.bool(False),
49  links_exist = cms.bool(True),
50  associatorByWire = cms.bool(False),
51  #
52  # for CSC Hit associator
53  CSCsimHitsTag = cms.InputTag("g4SimHits","MuonCSCHits"),
54  CSCsimHitsXFTag = cms.InputTag("mix","g4SimHitsMuonCSCHits"),
55  CSClinksTag = cms.InputTag("simMuonCSCDigis","MuonCSCStripDigiSimLinks"),
56  CSCwireLinksTag = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigiSimLinks"),
57  #
58  # for RPC Hit associator
59  RPCsimhitsTag = cms.InputTag("g4SimHits","MuonRPCHits"),
60  RPCsimhitsXFTag = cms.InputTag("mix","g4SimHitsMuonRPCHits"),
61  RPCdigisimlinkTag = cms.InputTag("simMuonRPCDigis","RPCDigiSimLink"),
62  #
63  # for Tracker Hit associator
64  #
65  associatePixel = cms.bool(True),
66  associateStrip = cms.bool(True),
67  associateRecoTracks = cms.bool(True),
68  #
69  ROUList = cms.vstring('TrackerHitsTIBLowTof',
70  'TrackerHitsTIBHighTof',
71  'TrackerHitsTIDLowTof',
72  'TrackerHitsTIDHighTof',
73  'TrackerHitsTOBLowTof',
74  'TrackerHitsTOBHighTof',
75  'TrackerHitsTECLowTof',
76  'TrackerHitsTECHighTof',
77  'TrackerHitsPixelBarrelLowTof',
78  'TrackerHitsPixelBarrelHighTof',
79  'TrackerHitsPixelEndcapLowTof',
80  'TrackerHitsPixelEndcapHighTof'),
81  #
82  # to associate to reco::Muon segments (3.5.X only)
83  inputDTRecSegment4DCollection = cms.InputTag("dt4DSegments"),
84  inputCSCSegmentCollection = cms.InputTag("cscSegments"),
85 )
86 
87 muonAssociatorByHits = cms.EDProducer("MuonAssociatorEDProducer",
88  # COMMON CONFIGURATION
89  muonAssociatorByHitsCommonParameters,
90  # for Muon Track association
91  #
92  # input collections
93  #
94  # ... reco::Track collection
95  # tracksTag = cms.InputTag("standAloneMuons"),
96  # tracksTag = cms.InputTag("standAloneMuons","UpdatedAtVtx"),
97  # tracksTag = cms.InputTag("standAloneSETMuons"),
98  # tracksTag = cms.InputTag("standAloneSETMuons","UpdatedAtVtx"),
99  # tracksTag = cms.InputTag("cosmicMuons"),
100  tracksTag = cms.InputTag("globalMuons"),
101  # tracksTag = cms.InputTag("tevMuons","firstHit"),
102  # tracksTag = cms.InputTag("tevMuons","picky"),
103  # tracksTag = cms.InputTag("globalSETMuons"),
104  # tracksTag = cms.InputTag("globalCosmicMuons"),
105  # tracksTag = cms.InputTag("generalTracks"),
106  # tracksTag = cms.InputTag("ctfWithMaterialTracksP5LHCNavigation"),
107  # tracksTag = cms.InputTag("hltL2Muons"),
108  # tracksTag = cms.InputTag("hltL2Muons","UpdatedAtVtx"),
109  # tracksTag = cms.InputTag("hltL3Muons")
110  # tracksTag = cms.InputTag("hltL3Muons","L2Seeded")
111  # tracksTag = cms.InputTag("hltL3TkTracksFromL2")
112  #
113  # ... TrackingParticle collection
114  tpTag = cms.InputTag("mix","MergedTrackTruth"),
115  ignoreMissingTrackCollection = cms.untracked.bool(False),
116 )
117