CMS 3D CMS Logo

standAloneCosmicMuons_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # valid for 13X
4 # Geometries
5 #include "Geometry/CMSCommonData/data/cmsIdealGeometryXML.cfi"
6 # in 150 shall be changed into
7 # include "Geometry/CMSCommonData/data/cmsIdealGeometryXML.cff"
8 # from Geometry.CommonTopologies.bareGlobalTrackingGeometry_cfi import *
9 # from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *
10 # Magnetic Field
11 #include "MagneticField/Engine/data/uniformMagneticField.cfi"
12 #include "Geometry/CMSCommonData/data/cmsMagneticFieldXML.cfi"
13 # The services
15 # in 150 shall be used this:
16 # include "RecoMuon/TrackingTools/data/MuonTrackLoader.cff"
17 # Seed generator
19 # Standalone muon producer
21 # to run only over CSC Measurements uncomment these cards
22 #replace CosmicMuonSeed.EnableDTMeasurement = false
23 #replace standAloneMuons.STATrajBuilderParameters.RefitterParameters.EnableRPCMeasurement = false
24 #replace standAloneMuons.STATrajBuilderParameters.BWFilterParameters.EnableRPCMeasurement = false
25 #replace standAloneMuons.STATrajBuilderParameters.RefitterParameters.EnableDTMeasurement = false
26 #replace standAloneMuons.STATrajBuilderParameters.BWFilterParameters.EnableDTMeasurement = false
27 standAloneCosmicMuonsTask = cms.Task(CosmicMuonSeed,standAloneMuons)
28 standAloneCosmicMuons = cms.Sequence(standAloneCosmicMuonsTask)
29 standAloneMuons.InputObjects = 'CosmicMuonSeed'
30 standAloneMuons.STATrajBuilderParameters.NavigationType = 'Direct'
31 standAloneMuons.TrackLoaderParameters.VertexConstraint = False
32 # to run only over DT measurements uncomment these cards
33 CosmicMuonSeed.EnableCSCMeasurement = False
34 #replace standAloneMuons.STATrajBuilderParameters.RefitterParameters.EnableRPCMeasurement = false
35 standAloneMuons.STATrajBuilderParameters.BWFilterParameters.EnableRPCMeasurement = False
36 #replace standAloneMuons.STATrajBuilderParameters.RefitterParameters.EnableCSCMeasurement = false
37 standAloneMuons.STATrajBuilderParameters.BWFilterParameters.EnableCSCMeasurement = False
38 
39