CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/RecoMuon/StandAloneMuonProducer/python/standAloneMuons_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # The services
00004 from RecoMuon.TrackingTools.MuonServiceProxy_cff import *
00005 from RecoMuon.TrackingTools.MuonTrackLoader_cff import *
00006 
00007 standAloneMuons = cms.EDProducer(
00008     "StandAloneMuonProducer",
00009     MuonTrackLoaderForSTA,
00010     MuonServiceProxy,
00011     #                                 InputObjects = cms.InputTag("mergedStandAloneMuonSeeds"),
00012     InputObjects = cms.InputTag("ancientMuonSeed"),
00013     MuonTrajectoryBuilder = cms.string("Exhaustive"),
00014     STATrajBuilderParameters = cms.PSet(
00015         NavigationType = cms.string('Standard'),
00016         SeedPosition = cms.string('in'),
00017         SeedPropagator = cms.string('SteppingHelixPropagatorAny'),
00018         
00019         DoSeedRefit = cms.bool(False),
00020         SeedTransformerParameters = cms.PSet(
00021             Fitter = cms.string('KFFitterSmootherSTA'),
00022             RescaleError = cms.double(100.0),
00023             MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
00024             Propagator = cms.string('SteppingHelixPropagatorAny'),
00025             NMinRecHits = cms.uint32(2),
00026             UseSubRecHits = cms.bool(False)
00027             ),
00028         
00029         FilterParameters = cms.PSet(
00030             FitDirection = cms.string('insideOut'),
00031             EnableDTMeasurement = cms.bool(True),
00032             DTRecSegmentLabel = cms.InputTag("dt4DSegments"),
00033             EnableCSCMeasurement = cms.bool(True),
00034             CSCRecSegmentLabel = cms.InputTag("cscSegments"),
00035             EnableRPCMeasurement = cms.bool(True),
00036             RPCRecSegmentLabel = cms.InputTag("rpcRecHits"),
00037             NumberOfSigma = cms.double(3.0),
00038             MaxChi2 = cms.double(1000.0),
00039             Propagator = cms.string('SteppingHelixPropagatorAny'),
00040             MuonTrajectoryUpdatorParameters = cms.PSet(MaxChi2 = cms.double(25.0),
00041                                                        RescaleError = cms.bool(False),
00042                                                        RescaleErrorFactor = cms.double(100.0),
00043                                                        Granularity = cms.int32(0),
00044                                                        UseInvalidHits = cms.bool(True),
00045                                                        ExcludeRPCFromFit = cms.bool(False)
00046                                                        )
00047             ),
00048         
00049         DoBackwardFilter = cms.bool(True),
00050         BWFilterParameters = cms.PSet(
00051             FitDirection = cms.string('outsideIn'),
00052             BWSeedType = cms.string('fromGenerator'),
00053             EnableDTMeasurement = cms.bool(True),
00054             DTRecSegmentLabel = cms.InputTag("dt4DSegments"),
00055             EnableCSCMeasurement = cms.bool(True),
00056             CSCRecSegmentLabel = cms.InputTag("cscSegments"),
00057             EnableRPCMeasurement = cms.bool(True),
00058             RPCRecSegmentLabel = cms.InputTag("rpcRecHits"),
00059             NumberOfSigma = cms.double(3.0),
00060             MaxChi2 = cms.double(100.0),
00061             Propagator = cms.string('SteppingHelixPropagatorAny'),
00062             MuonTrajectoryUpdatorParameters = cms.PSet(MaxChi2 = cms.double(25.0),
00063                                                        RescaleError = cms.bool(False),
00064                                                        RescaleErrorFactor = cms.double(100.0),
00065                                                        Granularity = cms.int32(2),
00066                                                        UseInvalidHits = cms.bool(True),
00067                                                        ExcludeRPCFromFit = cms.bool(False)
00068                                                        )
00069             ),
00070         DoRefit = cms.bool(False),
00071         RefitterParameters = cms.PSet(
00072             FitterName = cms.string('KFFitterSmootherSTA'),
00073             NumberOfIterations = cms.uint32(3),
00074             ForceAllIterations = cms.bool(False),
00075             MaxFractionOfLostHits = cms.double(0.05),
00076             RescaleError = cms.double(100.)
00077             )
00078         
00079         )
00080     )
00081 
00082 
00083 
00084 standAloneSETMuons = cms.EDProducer("StandAloneMuonProducer",
00085                                     MuonTrackLoaderForSTA,
00086                                     MuonServiceProxy,
00087                                     InputObjects = cms.InputTag("SETMuonSeed"),
00088                                     MuonTrajectoryBuilder = cms.string("DirectMuonTrajectoryBuilder"),
00089                                     STATrajBuilderParameters = cms.PSet(
00090     SeedTransformerParameters = cms.PSet(
00091     Fitter = cms.string('KFFitterSmootherSTA'),
00092     RescaleError = cms.double(1.0),
00093     MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
00094     Propagator = cms.string('SteppingHelixPropagatorAny'),
00095     NMinRecHits = cms.uint32(2),
00096     # careful - used with UseSegmentsInTrajectory in SETMuonSeed_cfi.py
00097     #         UseSubRecHits = cms.bool(True)
00098     UseSubRecHits = cms.bool(False)
00099     )
00100     )
00101                                     )
00102 
00103