Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CazziMiei")
0004 
0005 ## General CMS
0006 process.load("Configuration.StandardSequences.FakeConditions_cff")
0007 # process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0008 # process.GlobalTag.connect = cms.string('frontier://FrontierProd/CMS_COND_21X_DT')
0009 # process.GlobalTag.globaltag = "CRUZET4_V3P::All"
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 
0012 # Geometry related
0013 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cff")
0014 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0015 process.load("Geometry.CSCGeometry.cscGeometry_cfi")
0016 process.load("Geometry.DTGeometryBuilder.idealForDigiDtGeometry_cff")
0017 
0018 ## DT unpacker
0019 process.load("EventFilter.DTRawToDigi.DTFrontierCabling_cfi")
0020 process.load("EventFilter.DTRawToDigi.dtunpacker_cfi")
0021 
0022 
0023 process.vdrift = cms.ESSource("PoolDBESSource",
0024     process.CondDBSetup,
0025     timetype = cms.string('runnumber'),
0026     toGet = cms.VPSet(cms.PSet(
0027         record = cms.string('DTMtimeRcd'),
0028         tag = cms.string('vDrift_CSA08_S156_mc')
0029         ),
0030       ),
0031 ##connect = cms.string('frontier://Frontier/CMS_COND_21X_DT'),
0032     connect = cms.string('frontier://Frontier/CMS_COND_21X_DT'),
0033     authenticationMethod = cms.untracked.uint32(0)
0034     )
0035 
0036 ## DT local Reco
0037 process.load("RecoLocalMuon.Configuration.RecoLocalMuon_cff")
0038 # process.dt2DSegments.debug = cms.untracked.bool(True)
0039 # process.dt2DSegments.Reco2DAlgoConfig.debug = cms.untracked.bool(True)
0040 
0041 # process.load("RecoLocalMuon.DTSegment.DTCombinatorialPatternReco2DAlgo_ParamDrift_cfi")
0042 # process.dt1DRecHits.dtDigiLabel = cms.InputTag("simMuonDTDigis")
0043 # process.dt2DSegments.debug = False
0044 # process.dt2DSegments.Reco2DAlgoConfig.debug = False
0045 
0046 # process.dt1DClusters = cms.EDFilter("DTClusterer",
0047 #     debug = cms.untracked.bool(False),
0048 #     minLayers = cms.uint32(3),
0049 #     minHits = cms.uint32(3),
0050 #     recHits1DLabel = cms.InputTag("dt1DRecHits")
0051 # )
0052 
0053 # process.dt2DExtendedSegments = cms.EDProducer("DTRecSegment2DExtendedProducer",
0054 #     process.DTCombinatorialPatternReco2DAlgo_ParamDrift,
0055 #     debug = cms.untracked.bool(False),
0056 #     recClusLabel = cms.InputTag("dt1DClusters"),
0057 #     recHits1DLabel = cms.InputTag("dt1DRecHits")
0058 # )
0059 
0060 # STA reco
0061 process.load("RecoMuon.MuonSeedGenerator.standAloneMuonSeeds_cff")
0062 process.MuonSeed.EnableCSCMeasurement = cms.bool(False)
0063 process.load("RecoMuon.StandAloneMuonProducer.standAloneMuons_cff")
0064 process.standAloneMuons.STATrajBuilderParameters.FilterParameters.EnableCSCMeasurement = cms.bool(False)
0065 process.standAloneMuons.STATrajBuilderParameters.FilterParameters.EnableRPCMeasurement = cms.bool(False)
0066 process.standAloneMuons.STATrajBuilderParameters.BWFilterParameters.EnableCSCMeasurement = cms.bool(False)
0067 process.standAloneMuons.STATrajBuilderParameters.BWFilterParameters.EnableRPCMeasurement = cms.bool(False)
0068 
0069 #replace cosmicMuons.TrajectoryBuilderParameters.BackwardMuonTrajectoryUpdatorParameters.Granularity= 2
0070 process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagator_cfi")
0071 
0072 # # ===================================================
0073 # #  7) configuration of your analyzer
0074 # # ===================================================
0075 # process.load("RecoLocalMuon.DTSegment.test.DTFilter_cfi")
0076 
0077 # # Hits and Segs ##
0078 # process.load("RecoLocalMuon.DTSegment.test.DTAnalyzerDetailed_cfi")
0079 
0080 # Segs ##
0081 process.load("RecoLocalMuon.DTSegment.test.DTSegAnalyzer_cfi")
0082 
0083 # # # Clusters ##     
0084 # # process.load("RecoLocalMuon.DTSegment.test.DTClusAnalyzer_cfi")
0085 
0086 # # StandAlone ##
0087 # process.load("RecoLocalMuon.DTSegment.test.STAnalyzer_cfi")
0088 # # process.STAnalyzer.debug = cms.untracked.bool(True)
0089 
0090 # # Segs Eff ##
0091 # process.load("RecoLocalMuon.DTSegment.test.DTEffAnalyzer_cfi")
0092 
0093 process.maxEvents = cms.untracked.PSet(
0094         input = cms.untracked.int32(-1)
0095         )
0096 
0097 process.options = cms.untracked.PSet(
0098     #FailPath = cms.untracked.vstring('ProductNotFound'),
0099     makeTriggerResults = cms.untracked.bool(True),
0100     wantSummary = cms.untracked.bool(True)
0101 )
0102 
0103 # process.MessageLogger = cms.Service("MessageLogger",
0104 #     cout = cms.untracked.PSet(
0105 #         threshold = cms.untracked.string('ERROR')
0106 #     ),
0107 #     destinations = cms.untracked.vstring('cout')
0108 # )
0109 
0110 process.source = cms.Source("PoolSource",
0111 fileNames = cms.untracked.vstring( 
0112         '/store/relval/CMSSW_2_1_8/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V9_t_v3/0000/4E575B6D-5A85-DD11-9566-000423D6B48C.root',
0113         '/store/relval/CMSSW_2_1_8/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V9_t_v3/0000/9463B994-5A85-DD11-8DC8-000423D6C8EE.root',
0114         '/store/relval/CMSSW_2_1_8/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V9_t_v3/0000/E2706C9C-5D85-DD11-9F36-000423D6B42C.root')
0115         # fileNames = cms.untracked.vstring(
0116     #     '/store/mc/CSA08/Zmumu/GEN-SIM-RECO/CSA08_S156_v1/0002/0A59D9FF-A92B-DD11-8611-001A6434F19C.root',
0117     #     '/store/mc/CSA08/Zmumu/GEN-SIM-RECO/CSA08_S156_v1/0002/2862D945-AB2B-DD11-832D-001A644EB282.root',
0118     #     '/store/mc/CSA08/Zmumu/GEN-SIM-RECO/CSA08_S156_v1/0002/56090B0B-B72B-DD11-88ED-001A64894E06.root',
0119     #     '/store/mc/CSA08/Zmumu/GEN-SIM-RECO/CSA08_S156_v1/0002/AADEE16A-A72B-DD11-839D-00096BB5DCA0.root',
0120     #     '/store/mc/CSA08/Zmumu/GEN-SIM-RECO/CSA08_S156_v1/0002/E8248443-E42B-DD11-A343-00096BB5B7BA.root',
0121     #     '/store/mc/CSA08/Zmumu/GEN-SIM-RECO/CSA08_S156_v1/0002/E84DF339-A12B-DD11-9A09-00145EED0A1C.root'
0122     # )
0123 
0124 # fileNames = cms.untracked.vstring( ' file:./output.root')
0125 #fileNames = cms.untracked.vstring( '/store/data/GlobalCruzet1/A/000/000/000/RAW/0000/00217B3F-751B-DD11-A621-001617E30CE8.root')
0126 # fileNames = cms.untracked.vstring(
0127 #     'file:/users/g1cms/lacaprar/800D44DB-2A6C-DD11-9BD6-000423D99EEE.root',
0128 #     'file:/users/g1cms/lacaprar/B65AA3BC-2A6C-DD11-BCF6-001617C3B77C.root',
0129 #     'file:/users/g1cms/lacaprar/E4696611-2B6C-DD11-B826-001617C3B654.root',
0130 #     'file:/users/g1cms/lacaprar/741EBEB6-AC6C-DD11-9762-001617C3B70E.root'
0131 #     )
0132 )
0133 
0134 process.muonReco = cms.Sequence(
0135         process.MuonSeed *
0136         process.standAloneMuons 
0137         )
0138 
0139 process.muonLocalReco = cms.Sequence(
0140         process.dtlocalreco_with_2DSegments
0141         )
0142 
0143 process.ana = cms.Sequence(
0144         process.DTSegAnalyzer
0145         # process.DTAnalyzerDetailed +
0146         # process.DTSegAnalyzer +
0147         # process.DTEffAnalyzer +
0148         # process.STAnalyzer
0149         )
0150 
0151 process.p = cms.Path(
0152 #        process.DTFilter * (
0153 #            process.muonDTDigis *
0154             process.muonLocalReco *
0155             process.muonReco *
0156             process.ana
0157             # )
0158         )
0159