diff --git a/RecoEgamma/EgammaElectronProducers/test/egammaClustersToGsfElectrons_cfg.py b/RecoEgamma/EgammaElectronProducers/test/egammaClustersToGsfElectrons_cfg.py index 6eef219c5579d..5815cfdc4aa36 100644 --- a/RecoEgamma/EgammaElectronProducers/test/egammaClustersToGsfElectrons_cfg.py +++ b/RecoEgamma/EgammaElectronProducers/test/egammaClustersToGsfElectrons_cfg.py @@ -2,7 +2,7 @@ process = cms.Process("electrons") -process.load("Configuration.StandardSequences.Geometry_cff") +process.load("Configuration.StandardSequences.GeometryDB_cff") process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") process.load("Configuration.StandardSequences.MagneticField_cff") diff --git a/RecoEgamma/EgammaElectronProducers/test/egammaCoresToGsfElectrons_cfg.py b/RecoEgamma/EgammaElectronProducers/test/egammaCoresToGsfElectrons_cfg.py index 52abf28c116a5..abf6257737b3b 100644 --- a/RecoEgamma/EgammaElectronProducers/test/egammaCoresToGsfElectrons_cfg.py +++ b/RecoEgamma/EgammaElectronProducers/test/egammaCoresToGsfElectrons_cfg.py @@ -7,7 +7,7 @@ process = cms.Process("electrons") process.load("Configuration.StandardSequences.Services_cff") -process.load("Configuration.StandardSequences.Geometry_cff") +process.load("Configuration.StandardSequences.GeometryDB_cff") process.load("Configuration.StandardSequences.MagneticField_cff") process.load("FWCore.MessageService.MessageLogger_cfi") diff --git a/RecoEgamma/EgammaElectronProducers/test/egammaRawDataToGsfElectrons_cfg.py b/RecoEgamma/EgammaElectronProducers/test/egammaRawDataToGsfElectrons_cfg.py index f4dca00141451..a9b1f0692c87a 100644 --- a/RecoEgamma/EgammaElectronProducers/test/egammaRawDataToGsfElectrons_cfg.py +++ b/RecoEgamma/EgammaElectronProducers/test/egammaRawDataToGsfElectrons_cfg.py @@ -6,7 +6,7 @@ process = cms.Process("electrons") process.load("Configuration.StandardSequences.Services_cff") -process.load("Configuration.StandardSequences.Geometry_cff") +process.load("Configuration.StandardSequences.GeometryDB_cff") process.load("Configuration.StandardSequences.MagneticField_38T_cff") process.load("FWCore.MessageService.MessageLogger_cfi") diff --git a/RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToElectronSeeds_cfg.py b/RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToElectronSeeds_cfg.py index a2860005b9f9f..37f2e1f443c32 100644 --- a/RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToElectronSeeds_cfg.py +++ b/RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToElectronSeeds_cfg.py @@ -1,7 +1,7 @@ import FWCore.ParameterSet.Config as cms process = cms.Process("electrons") -process.load("Configuration.StandardSequences.Geometry_cff") +process.load("Configuration.StandardSequences.GeometryDB_cff") process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") process.load("Configuration.StandardSequences.MagneticField_cff") process.load("RecoEcal.Configuration.RecoEcal_cff") diff --git a/RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToGsfElectrons_cfg.py b/RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToGsfElectrons_cfg.py index d58b3d49e1c3f..5ff95324251f5 100644 --- a/RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToGsfElectrons_cfg.py +++ b/RecoEgamma/EgammaElectronProducers/test/egammaRecHitsToGsfElectrons_cfg.py @@ -2,7 +2,7 @@ process = cms.Process("electrons") -process.load("Configuration.StandardSequences.Geometry_cff") +process.load("Configuration.StandardSequences.GeometryDB_cff") process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") process.load("Configuration.StandardSequences.MagneticField_cff") process.load("Configuration.StandardSequences.Reconstruction_cff") diff --git a/RecoEgamma/EgammaIsolationAlgos/test/egammaIsoTest_cfg.py b/RecoEgamma/EgammaIsolationAlgos/test/egammaIsoTest_cfg.py index d1039d14abca3..5af54a4b4aa02 100644 --- a/RecoEgamma/EgammaIsolationAlgos/test/egammaIsoTest_cfg.py +++ b/RecoEgamma/EgammaIsolationAlgos/test/egammaIsoTest_cfg.py @@ -1,7 +1,7 @@ import FWCore.ParameterSet.Config as cms process = cms.Process("eleIso") -process.load("Configuration.StandardSequences.Geometry_cff") +process.load("Configuration.StandardSequences.GeometryDB_cff") process.load("Configuration.EventContent.EventContent_cff") process.source = cms.Source("PoolSource", diff --git a/RecoEgamma/EgammaIsolationAlgos/test/pfclusterIsoTest_cfg.py b/RecoEgamma/EgammaIsolationAlgos/test/pfclusterIsoTest_cfg.py index 0d93675f17333..5735727f86d0a 100644 --- a/RecoEgamma/EgammaIsolationAlgos/test/pfclusterIsoTest_cfg.py +++ b/RecoEgamma/EgammaIsolationAlgos/test/pfclusterIsoTest_cfg.py @@ -1,7 +1,7 @@ import FWCore.ParameterSet.Config as cms process = cms.Process("eleIso") -process.load("Configuration.StandardSequences.Geometry_cff") +process.load("Configuration.StandardSequences.GeometryDB_cff") process.load("Configuration.StandardSequences.MagneticField_cff") process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") process.GlobalTag.globaltag = 'MCRUN2_74_V7' diff --git a/RecoEgamma/EgammaIsolationAlgos/test/runInterestingEgammaIsoDetIdsSequence_cfg.py b/RecoEgamma/EgammaIsolationAlgos/test/runInterestingEgammaIsoDetIdsSequence_cfg.py index 05d146bb05d33..91b0357f9ed66 100644 --- a/RecoEgamma/EgammaIsolationAlgos/test/runInterestingEgammaIsoDetIdsSequence_cfg.py +++ b/RecoEgamma/EgammaIsolationAlgos/test/runInterestingEgammaIsoDetIdsSequence_cfg.py @@ -2,7 +2,7 @@ process = cms.Process("egamIsoDetIds") -process.load("Configuration.StandardSequences.Geometry_cff") +process.load("Configuration.StandardSequences.GeometryDB_cff") process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring('REPLACE ME') diff --git a/RecoEgamma/ElectronIdentification/test/eidSelectorTest_cfg.py b/RecoEgamma/ElectronIdentification/test/eidSelectorTest_cfg.py index f682765973d7a..9651a18c2b070 100644 --- a/RecoEgamma/ElectronIdentification/test/eidSelectorTest_cfg.py +++ b/RecoEgamma/ElectronIdentification/test/eidSelectorTest_cfg.py @@ -2,9 +2,9 @@ process = cms.Process("runElectronID") -process.load('FWCore/MessageService/MessageLogger_cfi') -process.load('Configuration/StandardSequences/Services_cff') -process.load('Configuration/StandardSequences/Geometry_cff') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.StandardSequences.Services_cff') +process.load('Configuration.StandardSequences.GeometryDB_cff') process.load("Configuration.StandardSequences.MagneticField_cff") from Geometry.CaloEventSetup.CaloTopology_cfi import * diff --git a/RecoEgamma/ElectronIdentification/test/runElectronID_cfg.py b/RecoEgamma/ElectronIdentification/test/runElectronID_cfg.py index 7316e06586a0b..e99b121f73e18 100644 --- a/RecoEgamma/ElectronIdentification/test/runElectronID_cfg.py +++ b/RecoEgamma/ElectronIdentification/test/runElectronID_cfg.py @@ -2,9 +2,9 @@ process = cms.Process("runElectronID") -process.load('FWCore/MessageService/MessageLogger_cfi') -process.load('Configuration/StandardSequences/Services_cff') -process.load('Configuration/StandardSequences/Geometry_cff') +process.load('FWCore.MessageService.MessageLogger_cfi') +process.load('Configuration.StandardSequences.Services_cff') +process.load('Configuration.StandardSequences.GeometryDB_cff') process.load("Configuration.StandardSequences.MagneticField_cff") from Geometry.CaloEventSetup.CaloTopology_cfi import * diff --git a/RecoEgamma/Examples/test/ElectronSeedMCAnalyzer_cfg.py b/RecoEgamma/Examples/test/ElectronSeedMCAnalyzer_cfg.py deleted file mode 100644 index b3c672af00512..0000000000000 --- a/RecoEgamma/Examples/test/ElectronSeedMCAnalyzer_cfg.py +++ /dev/null @@ -1,38 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("readseeds") - -process.load("Configuration.StandardSequences.RawToDigi_cff") -process.load("Configuration.StandardSequences.L1Reco_cff") -process.load("Configuration.StandardSequences.Reconstruction_cff") -process.load("Configuration.StandardSequences.Geometry_cff") -process.load("Configuration.StandardSequences.MagneticField_cff") - -process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") -process.load("Configuration.EventContent.EventContent_cff") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10) -) -process.source = cms.Source ("PoolSource", - fileNames = cms.untracked.vstring ( - '/store/relval/CMSSW_3_1_0_pre9/RelValZEE/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/F8A5EC4A-F64E-DE11-8160-001D09F23A20.root' - ) -) -process.electronSeedAnalysis = cms.EDAnalyzer("ElectronSeedAnalyzer", - beamSpot = cms.InputTag('offlineBeamSpot'), - inputCollection = cms.InputTag("ecalDrivenElectronSeeds"), -) - -process.mylocalreco = cms.Sequence(process.trackerlocalreco*process.calolocalreco*process.particleFlowCluster) -process.myglobalreco = cms.Sequence(process.offlineBeamSpot+process.recopixelvertexing*process.ckftracks+process.ecalClusters+process.caloTowersRec*process.vertexreco) -process.myelectronseeding = cms.Sequence(process.trackerDrivenElectronSeeds*process.ecalDrivenElectronSeeds*process.electronMergedSeeds) -process.myelectrontracking = cms.Sequence(process.electronCkfTrackCandidates*process.electronGsfTracks) - -#process.p = cms.Path(process.RawToDigi*process.mylocalreco*process.myglobalreco*process.myelectronseeding*process.myelectrontracking*process.particleFlowReco*process.pfElectronTranslator*process.gsfElectronSequence*) -process.p = cms.Path(process.RawToDigi*process.mylocalreco*process.myglobalreco*process.myelectronseeding*process.electronSeedAnalysis) - - -process.GlobalTag.globaltag = 'MC_31X_V3::All' - - diff --git a/RecoEgamma/Examples/test/GsfElectronRedoFromCore_cfg.py b/RecoEgamma/Examples/test/GsfElectronRedoFromCore_cfg.py deleted file mode 100644 index 565398849884a..0000000000000 --- a/RecoEgamma/Examples/test/GsfElectronRedoFromCore_cfg.py +++ /dev/null @@ -1,54 +0,0 @@ - -import sys -import os - -import dbs_discovery - -import FWCore.ParameterSet.Config as cms - -from TrackingTools.Configuration.TrackingTools_cff import * - -process = cms.Process("electrons") - -process.load("Configuration.StandardSequences.Services_cff") -process.load("Configuration.StandardSequences.Geometry_cff") -process.load("Configuration.StandardSequences.MagneticField_cff") -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("Configuration.StandardSequences.RawToDigi_cff") -process.load("Configuration.StandardSequences.Reconstruction_cff") - -process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") -process.load("Configuration.EventContent.EventContent_cff") - -process.source = cms.Source ("PoolSource", - fileNames = cms.untracked.vstring(), - secondaryFileNames = cms.untracked.vstring(), -) - -process.source.fileNames.extend(dbs_discovery.search()) -process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1)) - -process.out = cms.OutputModule("PoolOutputModule", - outputCommands = cms.untracked.vstring('drop *', - 'keep recoBeamSpot*_*_*_*', - 'keep recoGenParticle*_*_*_*', - 'keep *HepMCProduct_*_*_*', - 'keep recoElectronSeed*_*_*_*', - 'keep recoSuperCluster*_*_*_*', - 'keep recoTrack*_*_*_*', - 'keep recoGsfTrack*_*_*_*', - 'keep *_iterativeCone5CaloJets_*_*', - 'keep *_gsfElectronCores_*_*', - 'keep *_gsfElectrons_*_*' - ), - fileName = cms.untracked.string(os.environ['TEST_OUTPUT_FILE']) -) - -process.p = cms.Path(process.gsfElectrons) -process.outpath = cms.EndPath(process.out) -process.out.fileName = cms.untracked.string(os.environ['TEST_OUTPUT_FILE']) -process.GlobalTag.globaltag = os.environ['TEST_GLOBAL_TAG']+'::All' - - - diff --git a/RecoEgamma/Examples/test/GsfElectronRedoFromRaw_cfg.py b/RecoEgamma/Examples/test/GsfElectronRedoFromRaw_cfg.py deleted file mode 100644 index 0bcb54d7b78ef..0000000000000 --- a/RecoEgamma/Examples/test/GsfElectronRedoFromRaw_cfg.py +++ /dev/null @@ -1,57 +0,0 @@ -import sys -import os -import dbs_discovery -import FWCore.ParameterSet.Config as cms - -from TrackingTools.Configuration.TrackingTools_cff import * - -process = cms.Process("electrons") - -process.load("Configuration.StandardSequences.Services_cff") -process.load("Configuration.StandardSequences.Geometry_cff") -process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("Configuration.StandardSequences.RawToDigi_cff") -process.load("Configuration.StandardSequences.Reconstruction_cff") - -process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") -process.load("Configuration.EventContent.EventContent_cff") - -process.source = cms.Source ("PoolSource", - fileNames = cms.untracked.vstring(), - secondaryFileNames = cms.untracked.vstring(), -) - -process.source.fileNames.extend(dbs_discovery.search()) -process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1)) - -process.out = cms.OutputModule("PoolOutputModule", - outputCommands = cms.untracked.vstring('drop *', - 'keep recoBeamSpot*_*_*_*', - 'keep recoGenParticle*_*_*_*', - 'keep *HepMCProduct_*_*_*', - 'keep recoElectronSeed*_*_*_*', - 'keep recoSuperCluster*_*_*_*', - 'keep recoTrack*_*_*_*', - 'keep recoGsfTrack*_*_*_*', - 'keep *_iterativeCone5GenJets_*_*', - 'keep *_iterativeCone5CaloJets_*_*', - 'keep *_gsfElectronCores_*_*', - 'keep *_gsfElectrons_*_*' - ), - fileName = cms.untracked.string(os.environ['TEST_OUTPUT_FILE']) -) - -process.mylocalreco = cms.Sequence(process.trackerlocalreco*process.calolocalreco) -process.myglobalreco = cms.Sequence(process.offlineBeamSpot+process.recopixelvertexing*process.ckftracks+process.ecalClusters+process.caloTowersRec*process.vertexreco*process.particleFlowCluster) -process.myelectronseeding = cms.Sequence(process.trackerDrivenElectronSeeds*process.ecalDrivenElectronSeeds*process.electronMergedSeeds) -process.myelectrontracking = cms.Sequence(process.electronCkfTrackCandidates*process.electronGsfTracks) - -process.p = cms.Path(process.RawToDigi*process.mylocalreco*process.myglobalreco*process.myelectronseeding*process.myelectrontracking*process.particleFlowReco*process.pfElectronTranslator*process.gsfElectronSequence) - -process.outpath = cms.EndPath(process.out) -process.GlobalTag.globaltag = os.environ['TEST_GLOBAL_TAG']+'::All' - - - diff --git a/RecoEgamma/Examples/test/SimplePi0DiscAnalyzer_cfg.py b/RecoEgamma/Examples/test/SimplePi0DiscAnalyzer_cfg.py deleted file mode 100644 index bde09c513c48d..0000000000000 --- a/RecoEgamma/Examples/test/SimplePi0DiscAnalyzer_cfg.py +++ /dev/null @@ -1,37 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("readelectrons") -process.load("FWCore.MessageLogger.MessageLogger_cfi") -process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.load("Configuration.StandardSequences.Geometry_cff") -process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi") -process.load("RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi") -process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi") -process.load("RecoTracker.MeasurementDet.MeasurementTrackerESProducer_cfi") -process.load("SimGeneral.TrackingAnalysis.trackingParticles_cfi") -process.load("SimTracker.TrackAssociatorProducers.trackAssociatorByHits_cfi") -process.load("SimGeneral.MixingModule.mixNoPU_cfi") -process.load("DQMServices.Components.MEtoEDMConverter_cfi") -process.load("RecoEcal.EgammaClusterProducers.preshowerClusterShape_cfi") -process.load("EgammaAnalysis.PhotonIDProducers.piZeroDiscriminators_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(3000) -) -process.source = cms.Source("PoolSource", - fileNames = cms.untracked.vstring ( - '/store/relval/CMSSW_3_3_6/RelValSingleGammaPt35/GEN-SIM-RECO/MC_3XY_V9A-v1/0008/6CF4E2D9-2CE4-DE11-ADEA-001731EF61B4.root' -# '/store/relval/CMSSW_3_1_4/RelValSingleGammaPt35/GEN-SIM-RECO/MC_31X_V3-v1/0005/6C81A44F-74B0-DE11-818C-001D09F282F5.root' - ) -) -process.simplePi0DiscAnalyzer = cms.EDAnalyzer("SimplePi0DiscAnalyzer", - phoProducer = cms.string('photons'), - photonCollection = cms.string(''), - outputFile = cms.string('/tmp/akyriaki/SingleGammaPt35_CMSSW_3_3_6_NNoutput.root') -# outputFile = cms.string('/tmp/akyriaki/SingleGammaPt35_CMSSW_3_1_4_NNoutput.root') -# outputFile = cms.string('/tmp/akyriaki/Zgamma_Official_Summer09_Photon_NNoutput.root') -) - -process.p1 = cms.Path(process.preshowerClusterShape*process.piZeroDiscriminators*process.simplePi0DiscAnalyzer) -process.schedule = cms.Schedule(process.p1) -