CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SimMuon/MCTruth/python/MuonAssociatorByHits_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 muonAssociatorByHitsCommonParameters = cms.PSet(
00005     dumpInputCollections = cms.bool(False),
00006     #
00007     #....... general input parameters
00008     #
00009     # include invalid muon hits
00010     includeZeroHitMuons = cms.bool(True),
00011     #
00012     # accept to match only tracker/muon stub of globalMuons
00013     acceptOneStubMatchings = cms.bool(True),
00014     #
00015     # switches to be set according to the input Track collection
00016     UseTracker = cms.bool(True),
00017     UseMuon = cms.bool(True),
00018     #
00019     # cuts for the muon stub
00020     AbsoluteNumberOfHits_muon = cms.bool(False),
00021     NHitCut_muon = cms.uint32(0),
00022     EfficiencyCut_muon = cms.double(0.),
00023     PurityCut_muon = cms.double(0.),
00024     #
00025     # cuts for the tracker stub
00026     AbsoluteNumberOfHits_track = cms.bool(False),
00027     NHitCut_track = cms.uint32(0),
00028     EfficiencyCut_track = cms.double(0.),
00029     PurityCut_track = cms.double(0.),
00030     #
00031     # switches for the tracker stub
00032     UsePixels = cms.bool(True),
00033     UseGrouped = cms.bool(True),
00034     UseSplitting = cms.bool(True),
00035     ThreeHitTracksAreSpecial = cms.bool(False),
00036     #
00037     # for DT Hit associator
00038     crossingframe = cms.bool(False),
00039     simtracksTag = cms.InputTag("g4SimHits"),
00040     simtracksXFTag = cms.InputTag("mix","g4SimHits"),
00041     #
00042     DTsimhitsTag = cms.InputTag("g4SimHits","MuonDTHits"),
00043     DTsimhitsXFTag = cms.InputTag("mix","g4SimHitsMuonDTHits"),
00044     DTdigiTag = cms.InputTag("simMuonDTDigis"),
00045     DTdigisimlinkTag = cms.InputTag("simMuonDTDigis"),
00046     DTrechitTag = cms.InputTag("dt1DRecHits"),
00047     #
00048     dumpDT = cms.bool(False),
00049     links_exist = cms.bool(True),
00050     associatorByWire = cms.bool(False),
00051     #
00052     # for CSC Hit associator
00053     CSCsimHitsTag = cms.InputTag("g4SimHits","MuonCSCHits"),
00054     CSCsimHitsXFTag = cms.InputTag("mix","g4SimHitsMuonCSCHits"),
00055     CSClinksTag = cms.InputTag("simMuonCSCDigis","MuonCSCStripDigiSimLinks"),
00056     CSCwireLinksTag = cms.InputTag("simMuonCSCDigis","MuonCSCWireDigiSimLinks"),
00057     #
00058     # for RPC Hit associator
00059     RPCsimhitsTag = cms.InputTag("g4SimHits","MuonRPCHits"),
00060     RPCsimhitsXFTag = cms.InputTag("mix","g4SimHitsMuonRPCHits"),
00061     RPCdigisimlinkTag = cms.InputTag("simMuonRPCDigis","RPCDigiSimLink"),
00062     #
00063     # for Tracker Hit associator
00064     #
00065     associatePixel = cms.bool(True),
00066     associateStrip = cms.bool(True),
00067     associateRecoTracks = cms.bool(True),
00068     #                                
00069     ROUList = cms.vstring('TrackerHitsTIBLowTof', 
00070         'TrackerHitsTIBHighTof', 
00071         'TrackerHitsTIDLowTof', 
00072         'TrackerHitsTIDHighTof', 
00073         'TrackerHitsTOBLowTof', 
00074         'TrackerHitsTOBHighTof', 
00075         'TrackerHitsTECLowTof', 
00076         'TrackerHitsTECHighTof', 
00077         'TrackerHitsPixelBarrelLowTof', 
00078         'TrackerHitsPixelBarrelHighTof', 
00079         'TrackerHitsPixelEndcapLowTof', 
00080         'TrackerHitsPixelEndcapHighTof'),
00081     #
00082     # to associate to reco::Muon segments (3.5.X only)
00083     inputDTRecSegment4DCollection = cms.InputTag("dt4DSegments"),
00084     inputCSCSegmentCollection = cms.InputTag("cscSegments"),
00085 )
00086 
00087 muonAssociatorByHits = cms.EDProducer("MuonAssociatorEDProducer",
00088     # COMMON CONFIGURATION
00089     muonAssociatorByHitsCommonParameters,
00090     # for Muon Track association
00091     #
00092     #     input collections
00093     #
00094     # ... reco::Track collection
00095     # tracksTag = cms.InputTag("standAloneMuons"),
00096     # tracksTag = cms.InputTag("standAloneMuons","UpdatedAtVtx"),
00097     # tracksTag = cms.InputTag("standAloneSETMuons"),
00098     # tracksTag = cms.InputTag("standAloneSETMuons","UpdatedAtVtx"),                                   
00099     # tracksTag = cms.InputTag("cosmicMuons"),
00100     tracksTag = cms.InputTag("globalMuons"),
00101     # tracksTag = cms.InputTag("tevMuons","firstHit"),
00102     # tracksTag = cms.InputTag("tevMuons","picky"),                                     
00103     # tracksTag = cms.InputTag("globalSETMuons"),
00104     # tracksTag = cms.InputTag("globalCosmicMuons"),
00105     # tracksTag = cms.InputTag("generalTracks"),
00106     # tracksTag = cms.InputTag("ctfWithMaterialTracksP5LHCNavigation"),
00107     # tracksTag = cms.InputTag("hltL2Muons"),
00108     # tracksTag = cms.InputTag("hltL2Muons","UpdatedAtVtx"),
00109     # tracksTag = cms.InputTag("hltL3Muons")
00110     # tracksTag = cms.InputTag("hltL3Muons","L2Seeded")
00111     # tracksTag = cms.InputTag("hltL3TkTracksFromL2")
00112     #
00113     # ... TrackingParticle collection
00114     tpTag = cms.InputTag("mergedtruth","MergedTrackTruth"),
00115     ignoreMissingTrackCollection = cms.untracked.bool(False),
00116 )
00117