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 #13594 from VinInn/GSFfixes
Gsf cleanup and debug
- Loading branch information
Showing
28 changed files
with
631 additions
and
599 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,41 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("Refitting") | ||
|
||
### standard MessageLoggerConfiguration | ||
process.load("FWCore.MessageService.MessageLogger_cfi") | ||
process = cms.Process("Refitting") | ||
|
||
### Standard Configurations | ||
process.load("Configuration.StandardSequences.Services_cff") | ||
process.load('Configuration/StandardSequences/GeometryIdeal_cff') | ||
process.load('Configuration/StandardSequences/Reconstruction_cff') | ||
process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff') | ||
|
||
|
||
## Fitter-smoother: loosen outlier rejection as for first data-taking with LHC "collisions" | ||
process.KFFittingSmootherWithOutliersRejectionAndRK.BreakTrajWith2ConsecutiveMissing = False | ||
process.KFFittingSmootherWithOutliersRejectionAndRK.EstimateCut = 1000 | ||
#process.load("RecoVertex.BeamSpotProducer.BeamSpot_cfi") | ||
#process.load("Configuration.StandardSequences.MagneticField_cff") | ||
#process.load('Configuration.Geometry.GeometryRecoDB_cff') | ||
#process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") | ||
|
||
process.load('Configuration.StandardSequences.Services_cff') | ||
process.load('FWCore.MessageService.MessageLogger_cfi') | ||
process.load('Configuration.EventContent.EventContent_cff') | ||
process.load('Configuration.StandardSequences.GeometryRecoDB_cff') | ||
process.load('Configuration.StandardSequences.MagneticField_cff') | ||
process.load('Configuration.StandardSequences.RawToDigi_cff') | ||
process.load('Configuration.StandardSequences.L1Reco_cff') | ||
process.load('Configuration.StandardSequences.Reconstruction_cff') | ||
|
||
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') | ||
from Configuration.AlCa.GlobalTag import GlobalTag | ||
# choose! | ||
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data_GRun', '') | ||
# process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc_GRun', '') | ||
|
||
|
||
|
||
### Conditions | ||
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") | ||
#process.GlobalTag.globaltag = "IDEAL_V5::All" | ||
process.GlobalTag.globaltag = 'GR09_P_V6::All' | ||
|
||
### Track refitter specific stuff | ||
process.load("RecoTracker.TrackProducer.TrackRefitters_cff") #the correct one | ||
#process.load("RecoTracker.TrackProducer.RefitterWithMaterial_cff") #the one for backward compatibility | ||
|
||
|
||
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) | ||
) | ||
|
||
process.source = cms.Source("PoolSource", | ||
### tracks from collisions | ||
fileNames = cms.untracked.vstring( | ||
'rfio:/castor/cern.ch/user/c/chiochia/09_beam_commissioning/BSCskim_123151_Express.root') | ||
#'/store/relval/CMSSW_2_1_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/1E04FC31-F99A-DD11-94EE-0018F3D096DE.root') | ||
|
||
### tracks from cosmics | ||
# fileNames = cms.untracked.vstring( | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/005F51E5-0373-DD11-B6FA-001731AF6B7D.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/005F51E5-0373-DD11-B6FA-001731AF6B7D.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/006F3A6A-0373-DD11-A8E7-00304876A0FF.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/02CF5B1E-6476-DD11-A034-003048769E65.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/02DF31C3-A775-DD11-91C2-001A92971BB8.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/02F71F56-CE74-DD11-9DD0-001A92810AE4.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0446C89C-E072-DD11-A341-0018F3D0960C.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/04750FC3-3E73-DD11-B054-00304876A147.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/04DFD531-0473-DD11-964E-0018F3D096AE.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/067111FB-3873-DD11-AD86-00304875A9C5.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/067982F4-E175-DD11-99F7-001731AF6AC5.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0680EB9B-4F73-DD11-83F8-0018F3D0962E.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/06BF1AF3-E175-DD11-B467-00304876A147.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0A3843F3-E175-DD11-8419-003048767EE7.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0A5AAABA-3973-DD11-B949-003048767FA1.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0A911B18-0273-DD11-A5A6-001731A283E1.root') | ||
|
||
### tracks from beam halo muons | ||
) | ||
|
||
process.TRACKS = cms.OutputModule("PoolOutputModule", | ||
outputCommands = cms.untracked.vstring('drop *_*_*_*', | ||
'keep recoTracks_*_*_*', | ||
'keep recoTrackExtras_*_*_*', | ||
'keep TrackingRecHitsOwned_*_*_*'), | ||
|
||
fileName = cms.untracked.string('refitting.root') | ||
) | ||
process.load("RecoTracker.TrackProducer.TrackRefitter_cfi") | ||
process.TrackRefitter.NavigationSchool = '' | ||
process.TrackRefitter.Fitter = 'FlexibleKFFittingSmoother' | ||
|
||
process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) | ||
process.source = cms.Source ("PoolSource", | ||
fileNames=cms.untracked.vstring('file:pickevents_1.root', | ||
), | ||
skipEvents=cms.untracked.uint32(0) | ||
) | ||
|
||
process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1)) | ||
|
||
process.p1 = cms.Path(process.TrackRefitter | ||
#process.TrackRefitterP5 | ||
#process.TrackRefitterBHM | ||
) | ||
process.outpath = cms.EndPath(process.TRACKS) | ||
process.Path = cms.Path(process.TrackRefitter) | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,80 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("Refitting") | ||
|
||
### standard MessageLoggerConfiguration | ||
process.load("FWCore.MessageService.MessageLogger_cfi") | ||
|
||
### Standard Configurations | ||
process.load("Configuration.StandardSequences.Services_cff") | ||
process.load('Configuration/StandardSequences/GeometryIdeal_cff') | ||
process.load('Configuration/StandardSequences/Reconstruction_cff') | ||
process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff') | ||
|
||
|
||
## Fitter-smoother: loosen outlier rejection as for first data-taking with LHC "collisions" | ||
process.KFFittingSmootherWithOutliersRejectionAndRK.BreakTrajWith2ConsecutiveMissing = False | ||
process.KFFittingSmootherWithOutliersRejectionAndRK.EstimateCut = 1000 | ||
|
||
|
||
|
||
### Conditions | ||
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") | ||
#process.GlobalTag.globaltag = "IDEAL_V5::All" | ||
process.GlobalTag.globaltag = 'GR09_P_V6::All' | ||
|
||
### Track refitter specific stuff | ||
process.load("RecoTracker.TrackProducer.TrackRefitters_cff") #the correct one | ||
#process.load("RecoTracker.TrackProducer.RefitterWithMaterial_cff") #the one for backward compatibility | ||
|
||
|
||
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) | ||
) | ||
|
||
process.source = cms.Source("PoolSource", | ||
### tracks from collisions | ||
fileNames = cms.untracked.vstring( | ||
'rfio:/castor/cern.ch/user/c/chiochia/09_beam_commissioning/BSCskim_123151_Express.root') | ||
#'/store/relval/CMSSW_2_1_10/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/1E04FC31-F99A-DD11-94EE-0018F3D096DE.root') | ||
|
||
### tracks from cosmics | ||
# fileNames = cms.untracked.vstring( | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/005F51E5-0373-DD11-B6FA-001731AF6B7D.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/005F51E5-0373-DD11-B6FA-001731AF6B7D.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/006F3A6A-0373-DD11-A8E7-00304876A0FF.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/02CF5B1E-6476-DD11-A034-003048769E65.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/02DF31C3-A775-DD11-91C2-001A92971BB8.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/02F71F56-CE74-DD11-9DD0-001A92810AE4.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0446C89C-E072-DD11-A341-0018F3D0960C.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/04750FC3-3E73-DD11-B054-00304876A147.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/04DFD531-0473-DD11-964E-0018F3D096AE.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/067111FB-3873-DD11-AD86-00304875A9C5.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/067982F4-E175-DD11-99F7-001731AF6AC5.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0680EB9B-4F73-DD11-83F8-0018F3D0962E.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/06BF1AF3-E175-DD11-B467-00304876A147.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0A3843F3-E175-DD11-8419-003048767EE7.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0A5AAABA-3973-DD11-B949-003048767FA1.root', | ||
# '/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/0A911B18-0273-DD11-A5A6-001731A283E1.root') | ||
|
||
### tracks from beam halo muons | ||
) | ||
|
||
process.TRACKS = cms.OutputModule("PoolOutputModule", | ||
outputCommands = cms.untracked.vstring('drop *_*_*_*', | ||
'keep recoTracks_*_*_*', | ||
'keep recoTrackExtras_*_*_*', | ||
'keep TrackingRecHitsOwned_*_*_*'), | ||
|
||
fileName = cms.untracked.string('refitting.root') | ||
) | ||
|
||
process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) | ||
|
||
|
||
process.p1 = cms.Path(process.TrackRefitter | ||
#process.TrackRefitterP5 | ||
#process.TrackRefitterBHM | ||
) | ||
process.outpath = cms.EndPath(process.TRACKS) | ||
|
||
|
Oops, something went wrong.