forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cms-sw#39115 from ahussein1194/hussein_branch
Adding time info to the rpc points extrapolated from the CSC and DT segments
- Loading branch information
Showing
8 changed files
with
364 additions
and
337 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,30 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
process = cms.Process("OwnParticles") | ||
|
||
##process = cms.Process("RPCPointProducer") | ||
process = cms.Process("OWNPARTICLES") | ||
|
||
process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi") | ||
process.load("Geometry.RPCGeometry.rpcGeometry_cfi") | ||
process.load("Geometry.CSCGeometry.cscGeometry_cfi") | ||
process.load("Geometry.DTGeometry.dtGeometry_cfi") | ||
process.load('Configuration.Geometry.GeometryExtended2018Reco_cff') | ||
process.load('Configuration.Geometry.GeometryExtended2018_cff') | ||
process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi") | ||
|
||
process.load("DQMServices.Components.MEtoEDMConverter_cfi") | ||
process.load("DQMServices.Core.DQM_cfg") | ||
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") | ||
process.GlobalTag.globaltag = "START53_V27::All" | ||
|
||
process.load("Configuration.StandardSequences.Services_cff") | ||
process.load("Configuration.StandardSequences.GeometryDB_cff") | ||
process.load("Configuration.StandardSequences.Reconstruction_cff") | ||
process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff") | ||
process.GlobalTag.globaltag = "124X_dataRun3_Express_v5" | ||
|
||
process.load("FWCore.MessageService.MessageLogger_cfi") | ||
|
||
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) ) | ||
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(2000) ) | ||
|
||
process.source = cms.Source("PoolSource", | ||
fileNames = cms.untracked.vstring( | ||
# '/store/data/Commissioning10/Cosmics/RECO/v3/000/127/155/005F9301-2E16-DF11-B60B-0030487CD6B4.root' | ||
'/store/data/Run2012D/RPCMonitor/RAW/v1/000/207/900/1AFE2D3D-A836-E211-B86A-001D09F23D1D.root' | ||
) | ||
) | ||
fileNames = cms.untracked.vstring( | ||
|
||
# local copy for test only: | ||
'file:/eos/cms/store/group/dpg_rpc/comm_rpc/Sandbox/mileva/testRPCMon2022/1cb9263a-550d-4e86-92f3-f01574867137.root' | ||
) | ||
) | ||
|
||
process.load("RecoLocalMuon.RPCRecHit.rpcPointProducer_cff") | ||
process.rpcPointProducer.tracks = cms.InputTag("cosmicMuons") # for cosmicMuons | ||
|
||
process.out = cms.OutputModule("PoolOutputModule", | ||
outputCommands = cms.untracked.vstring('drop *', | ||
'keep *_dt4DSegments_*_*', | ||
'keep *_cscSegments_*_*', | ||
'keep *_rpcPointProducer_*_*', | ||
'keep *_rpcRecHits_*_*', | ||
'keep *_standAloneMuons_*_*', | ||
'keep *_cosmicMuons_*_*', | ||
'keep *_globalMuons_*_*'), | ||
fileName = cms.untracked.string('output.root') | ||
) | ||
|
||
process.rpcPointProducer.ExtrapolatedRegion = 0.6 # in stripl/2 in Y and stripw*nstrips/2 in X | ||
process.rpcPointProducer.cscSegments = ('dTandCSCSegmentsinTracks','SelectedCscSegments','OwnParticles') | ||
process.rpcPointProducer.dt4DSegments = ('dTandCSCSegmentsinTracks','SelectedDtSegments','OwnParticles') | ||
|
||
process.p = cms.Path(process.rpcPointProducer) | ||
|
||
process.e = cms.EndPath(process.out) |