From 7bf158ba5c73febd34eda69bf167711fd7f79dd1 Mon Sep 17 00:00:00 2001 From: wmtan Date: Thu, 2 Jul 2015 21:58:24 +0200 Subject: [PATCH] Remove uses of sources that no longer exist. --- ...IM_DIGI_L1_DIGI2RAW_RAW2DIGI_RECO_IDEAL.py | 103 ----------- CommonTools/CandAlgos/test/mccandidates.py | 55 ------ .../python/Sources/source_HZZtoTauMu_cfi.py | 60 ------ .../python/Sources/source_ZtoEles_cfi.py | 39 ---- .../python/Sources/source_ZtoJets_cfi.py | 39 ---- .../python/Sources/source_ZtoMus_cfi.py | 39 ---- .../python/Sources/source_ZtoTaus_cfi.py | 39 ---- .../ParticleFlow/test/aod_PYTHIA_cfg.py | 80 -------- .../ParticleFlow/test/gen_PYTHIA_cfg.py | 35 ---- .../HARDCOL_JGJ_pt_40_10TeV_filter_cff.py | 102 ----------- .../python/calorimetry_gen_Pt800_1000_cff.py | 33 ---- .../calorimetry_gen_Zprime_Dijets_700_cff.py | 56 ------ .../python/calorimetry_gen_particlegun_cff.py | 17 -- .../python/RecoTau_DiTaus_pt_20-420_cfg.py | 73 -------- .../python/MixingModule_cfi.py | 6 +- .../test/testCellLine_cfg.py | 46 ----- .../Configuration/test/Example_cfg.py | 2 +- .../test/IntegrationTestFake_cfg.py | 2 +- .../test/CastorTowerProducerTest_cfg.py | 2 +- .../MaterialEffects/test/template_cfg.py | 3 +- .../test/testSinglePion_cfg.py | 52 ------ .../test/TestMuonSimHitsProducer_cfg.py | 57 ------ .../Tracking/test/FamosTrackProducer_cfg.py | 51 ------ .../test/SingleElectronAnalyzer_cfg.py | 2 +- .../Validation/test/runJetPlotFast_cfg.py | 2 +- .../Validation/test/valTK_muon_100GeV_cfg.py | 50 ----- .../Validation/test/valTK_muon_10GeV_cfg.py | 50 ----- .../Validation/test/valTK_muon_1GeV_cfg.py | 50 ----- .../Validation/test/valTK_pion_1000GeV_cfg.py | 50 ----- .../Validation/test/valTK_pion_100GeV_cfg.py | 50 ----- .../Validation/test/valTK_pion_10GeV_cfg.py | 50 ----- .../Validation/test/valTK_pion_1GeV_cfg.py | 50 ----- .../python/CMSCGENsource_cfi.py | 47 ----- .../src/CosMuoGenProducer.cc | 4 +- .../test/CosmicMuonsUnderground_cfg.py | 1 - .../test/Bc2JpsiPiFromMCDB_cfi.py | 80 -------- ...CDB_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_HLT_MC.py | 172 ------------------ .../test/test_CosmicGenFilterHelix_cfg.py | 67 ------- .../test/testHerwig6_Source_cfg.py | 55 ------ .../LHEInterface/test/testMCDB_cfg.py | 28 --- .../test/python/runCheck_cfg.py | 64 ------- .../test/python/runValid_cfg.py | 74 -------- .../test/rctMaskTest_cfg.py | 121 ------------ .../test/rctSaveInputTest_cfg.py | 109 ----------- .../RegionalCaloTrigger/test/rctTest_cfg.py | 118 ------------ .../Configuration/test/mccandidates.py | 55 ------ PhysicsTools/Configuration/test/testAll.csh | 2 +- .../HepMCCandAlgos/python/data/h4l_cff.py | 60 ------ .../test/GenH190ZZ4muHepMCAnalysis.py | 116 ------------ .../HepMCCandAlgos/test/mccandidates.py | 53 ------ .../HepMCCandAlgos/test/testGenParticles.py | 44 ----- PhysicsTools/JetMCAlgos/test/tauGenJet_cfg.py | 72 -------- PhysicsTools/RooStatsCms/test/dummyCrab.py | 53 ------ .../test/CalibratableTest_FastSim.py | 114 ------------ .../test/data/runEDDigiCluTrack_cfg.py | 73 -------- .../test/data/runEDDigiCluster_cfg.py | 69 ------- .../RecoFP420/test/data/runEDDigi_cfg.py | 73 -------- RecoTauTag/TauTagTools/python/DiTaus_cfi.py | 25 --- .../TauTagTools/python/ZtoTauHadronic_cfi.py | 36 ---- .../test/testPFTauSelector_fastSim_cfg.py | 92 ---------- .../Geometry/test/FamosProducer_Phase1_cfg.py | 1 - .../Geometry/test/print_geominfo_cfg.py | 1 - .../test/ESDigisReferenceDistrib_cfg.py | 78 -------- SimG4CMS/CherenkovAnalysis/test/plot.C | 4 +- .../test/python/runHFShowerTest_cfg.py | 106 ----------- .../test/python/runHFShower_cfg.py | 92 ---------- .../Tracker/test/SimHitTrackerAnalyzer.cc | 2 +- .../CustomPhysics/python/pythiaGMSB_cfi.py | 37 ---- .../GFlash/TB/run_Gflash_TBH2_setup_cfg.py | 66 ------- .../GFlash/TB/run_Gflash_TBH4_setup_cfg.py | 99 ---------- SimG4Core/GFlash/test/g4Watcher.py | 80 -------- SimG4Core/GFlash/test/gfWatcher.py | 80 -------- .../GFlash/test/valid_hf_gflashsimhit.py | 67 ------- SimG4Core/KillSecondaries/test/test_cfg.py | 75 -------- SimG4Core/PhysicsLists/test/runTest_cfg.py | 72 -------- .../SimFP420/test/data/runEDDigi_cfg.py | 74 -------- .../SimFP420/test/data/runHecMB_cfg.py | 105 ----------- .../test/TIFCosmicMuon_ConfA_gensim.cfg | 117 ------------ .../TIFCosmicMuon_ConfC_TkOnly_gensim.cfg | 121 ------------ .../test/TIFCosmicMuon_ConfC_gensim.cfg | 120 ------------ .../python/double10GeVMuons_cfi.py | 18 -- .../python/double10GeVPions_cfi.py | 18 -- .../EcalDigis/test/PedestalRun_all_cfg.py | 95 ---------- .../EcalRecHits/test/PedestalRun_all_cfg.py | 130 ------------- Validation/GlobalHits/python/ttbarGen_cfg.py | 52 ------ .../MuonHits/python/GenMuonMinE100GeV_cfg.py | 56 ------ .../MuonHits/python/GenMuonMinPt100GeV_cfg.py | 56 ------ .../MuonHits/python/GenMuonPlsPt100GeV_cfg.py | 56 ------ .../Benchmarks/Tools/aod_PYTHIA_cfg.py | 95 ---------- .../python/source_ZToTauTau_cfi.py | 39 ---- .../python/source_diJets_cfi.py | 35 ---- .../python/source_singleTau_highPt_cfi.py | 27 --- .../test/SingleParticle_cfg.py | 152 ---------------- .../test/launchSingleParticle.sh | 73 -------- 94 files changed, 15 insertions(+), 5506 deletions(-) delete mode 100644 CalibTracker/SiPixelErrorEstimation/test/SingleMuPt10_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_RAW2DIGI_RECO_IDEAL.py delete mode 100755 CommonTools/CandAlgos/test/mccandidates.py delete mode 100644 CommonTools/ParticleFlow/python/Sources/source_HZZtoTauMu_cfi.py delete mode 100644 CommonTools/ParticleFlow/python/Sources/source_ZtoEles_cfi.py delete mode 100644 CommonTools/ParticleFlow/python/Sources/source_ZtoJets_cfi.py delete mode 100644 CommonTools/ParticleFlow/python/Sources/source_ZtoMus_cfi.py delete mode 100644 CommonTools/ParticleFlow/python/Sources/source_ZtoTaus_cfi.py delete mode 100644 CommonTools/ParticleFlow/test/aod_PYTHIA_cfg.py delete mode 100644 CommonTools/ParticleFlow/test/gen_PYTHIA_cfg.py delete mode 100644 Configuration/Generator/python/HARDCOL_JGJ_pt_40_10TeV_filter_cff.py delete mode 100644 Configuration/JetMET/python/calorimetry_gen_Pt800_1000_cff.py delete mode 100644 Configuration/JetMET/python/calorimetry_gen_Zprime_Dijets_700_cff.py delete mode 100644 Configuration/JetMET/python/calorimetry_gen_particlegun_cff.py delete mode 100644 Configuration/SVSuite/python/RecoTau_DiTaus_pt_20-420_cfg.py delete mode 100644 FastSimulation/CaloGeometryTools/test/testCellLine_cfg.py delete mode 100644 FastSimulation/MaterialEffects/test/testSinglePion_cfg.py delete mode 100644 FastSimulation/MuonSimHitProducer/test/TestMuonSimHitsProducer_cfg.py delete mode 100644 FastSimulation/Tracking/test/FamosTrackProducer_cfg.py delete mode 100644 FastSimulation/Validation/test/valTK_muon_100GeV_cfg.py delete mode 100644 FastSimulation/Validation/test/valTK_muon_10GeV_cfg.py delete mode 100644 FastSimulation/Validation/test/valTK_muon_1GeV_cfg.py delete mode 100644 FastSimulation/Validation/test/valTK_pion_1000GeV_cfg.py delete mode 100644 FastSimulation/Validation/test/valTK_pion_100GeV_cfg.py delete mode 100644 FastSimulation/Validation/test/valTK_pion_10GeV_cfg.py delete mode 100644 FastSimulation/Validation/test/valTK_pion_1GeV_cfg.py delete mode 100644 GeneratorInterface/CosmicMuonGenerator/python/CMSCGENsource_cfi.py delete mode 100644 GeneratorInterface/GenExtensions/test/Bc2JpsiPiFromMCDB_cfi.py delete mode 100644 GeneratorInterface/GenExtensions/test/Bc2JpsiPiFromMCDB_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_HLT_MC.py delete mode 100644 GeneratorInterface/GenFilters/test/test_CosmicGenFilterHelix_cfg.py delete mode 100644 GeneratorInterface/Herwig6Interface/test/testHerwig6_Source_cfg.py delete mode 100755 GeneratorInterface/LHEInterface/test/testMCDB_cfg.py delete mode 100644 Geometry/HcalCommonData/test/python/runCheck_cfg.py delete mode 100644 Geometry/TrackerCommonData/test/python/runValid_cfg.py delete mode 100644 L1Trigger/RegionalCaloTrigger/test/rctMaskTest_cfg.py delete mode 100644 L1Trigger/RegionalCaloTrigger/test/rctSaveInputTest_cfg.py delete mode 100644 L1Trigger/RegionalCaloTrigger/test/rctTest_cfg.py delete mode 100755 PhysicsTools/Configuration/test/mccandidates.py delete mode 100755 PhysicsTools/HepMCCandAlgos/python/data/h4l_cff.py delete mode 100644 PhysicsTools/HepMCCandAlgos/test/GenH190ZZ4muHepMCAnalysis.py delete mode 100755 PhysicsTools/HepMCCandAlgos/test/mccandidates.py delete mode 100755 PhysicsTools/HepMCCandAlgos/test/testGenParticles.py delete mode 100644 PhysicsTools/JetMCAlgos/test/tauGenJet_cfg.py delete mode 100644 PhysicsTools/RooStatsCms/test/dummyCrab.py delete mode 100644 RecoParticleFlow/PFClusterTools/test/CalibratableTest_FastSim.py delete mode 100644 RecoRomanPot/RecoFP420/test/data/runEDDigiCluTrack_cfg.py delete mode 100644 RecoRomanPot/RecoFP420/test/data/runEDDigiCluster_cfg.py delete mode 100644 RecoRomanPot/RecoFP420/test/data/runEDDigi_cfg.py delete mode 100644 RecoTauTag/TauTagTools/python/DiTaus_cfi.py delete mode 100644 RecoTauTag/TauTagTools/python/ZtoTauHadronic_cfi.py delete mode 100644 RecoTauTag/TauTagTools/test/testPFTauSelector_fastSim_cfg.py delete mode 100644 SimCalorimetry/EcalSimProducers/test/ESDigisReferenceDistrib_cfg.py delete mode 100644 SimG4CMS/ShowerLibraryProducer/test/python/runHFShowerTest_cfg.py delete mode 100644 SimG4CMS/ShowerLibraryProducer/test/python/runHFShower_cfg.py delete mode 100644 SimG4Core/CustomPhysics/python/pythiaGMSB_cfi.py delete mode 100644 SimG4Core/GFlash/TB/run_Gflash_TBH2_setup_cfg.py delete mode 100644 SimG4Core/GFlash/TB/run_Gflash_TBH4_setup_cfg.py delete mode 100644 SimG4Core/GFlash/test/g4Watcher.py delete mode 100644 SimG4Core/GFlash/test/gfWatcher.py delete mode 100644 SimG4Core/GFlash/test/valid_hf_gflashsimhit.py delete mode 100644 SimG4Core/KillSecondaries/test/test_cfg.py delete mode 100644 SimG4Core/PhysicsLists/test/runTest_cfg.py delete mode 100644 SimRomanPot/SimFP420/test/data/runEDDigi_cfg.py delete mode 100644 SimRomanPot/SimFP420/test/data/runHecMB_cfg.py delete mode 100644 SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfA_gensim.cfg delete mode 100644 SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfC_TkOnly_gensim.cfg delete mode 100644 SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfC_gensim.cfg delete mode 100644 SimTracker/TrackerMaterialAnalysis/python/double10GeVMuons_cfi.py delete mode 100644 SimTracker/TrackerMaterialAnalysis/python/double10GeVPions_cfi.py delete mode 100644 Validation/EcalDigis/test/PedestalRun_all_cfg.py delete mode 100644 Validation/EcalRecHits/test/PedestalRun_all_cfg.py delete mode 100644 Validation/GlobalHits/python/ttbarGen_cfg.py delete mode 100644 Validation/MuonHits/python/GenMuonMinE100GeV_cfg.py delete mode 100644 Validation/MuonHits/python/GenMuonMinPt100GeV_cfg.py delete mode 100644 Validation/MuonHits/python/GenMuonPlsPt100GeV_cfg.py delete mode 100644 Validation/RecoParticleFlow/Benchmarks/Tools/aod_PYTHIA_cfg.py delete mode 100644 Validation/RecoParticleFlow/python/source_ZToTauTau_cfi.py delete mode 100644 Validation/RecoParticleFlow/python/source_diJets_cfi.py delete mode 100644 Validation/RecoParticleFlow/python/source_singleTau_highPt_cfi.py delete mode 100644 Validation/RecoParticleFlow/test/SingleParticle_cfg.py delete mode 100755 Validation/RecoParticleFlow/test/launchSingleParticle.sh diff --git a/CalibTracker/SiPixelErrorEstimation/test/SingleMuPt10_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_RAW2DIGI_RECO_IDEAL.py b/CalibTracker/SiPixelErrorEstimation/test/SingleMuPt10_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_RAW2DIGI_RECO_IDEAL.py deleted file mode 100644 index 365be149abf79..0000000000000 --- a/CalibTracker/SiPixelErrorEstimation/test/SingleMuPt10_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_RAW2DIGI_RECO_IDEAL.py +++ /dev/null @@ -1,103 +0,0 @@ -# Auto generated configuration file -# using: -# Revision: 1.100 -# Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v -# with command line options: SingleMuPt10.cfi -s GEN,SIM,DIGI,L1,DIGI2RAW,RAW2DIGI,RECO -n 3 --eventcontent FEVTDEBUGHLT --conditions FrontierConditions_GlobalTag,IDEAL_30X::All --relval 10000,100 --no_exec -import FWCore.ParameterSet.Config as cms - -process = cms.Process('RECO') - -# import of standard configurations -process.load('Configuration/StandardSequences/Services_cff') -process.load('FWCore/MessageService/MessageLogger_cfi') -process.load('Configuration/StandardSequences/MixingNoPileUp_cff') -process.load('Configuration/StandardSequences/GeometryIdeal_cff') -process.load('Configuration/StandardSequences/MagneticField_38T_cff') -process.load('Configuration/StandardSequences/Generator_cff') -process.load('Configuration/StandardSequences/VtxSmearedEarly10TeVCollision_cff') -process.load('Configuration/StandardSequences/Sim_cff') -process.load('Configuration/StandardSequences/Digi_cff') -process.load('Configuration/StandardSequences/SimL1Emulator_cff') -process.load('Configuration/StandardSequences/L1TriggerDefaultMenu_cff') -process.load('Configuration/StandardSequences/DigiToRaw_cff') -process.load('Configuration/StandardSequences/RawToDigi_cff') -process.load('Configuration/StandardSequences/Reconstruction_cff') -process.load('Configuration/StandardSequences/EndOfProcess_cff') -process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff') -process.load('Configuration/EventContent/EventContent_cff') - -# gavril : add CalibTracker/SiPixelErrorEstimation module -process.load("CalibTracker/SiPixelErrorEstimation/SiPixelErrorEstimation_cfi") -# gavril -process.PixelErrorEstimation.outputFile = cms.untracked.string('./SiPixelErrorEstimation_ntuple.root') - -process.configurationMetadata = cms.untracked.PSet( - annotation = cms.untracked.string('SingleMuPt10.cfi nevts:3'), - name = cms.untracked.string('PyReleaseValidation') -) -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10) -) -process.options = cms.untracked.PSet( - Rethrow = cms.untracked.vstring('ProductNotFound') -) -# Input source -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MinPhi = cms.untracked.double(-3.14159265359), - MinPt = cms.untracked.double(9.99), - PartID = cms.untracked.vint32(-13, 13, -13, 13, -13, -13, 13, -13, 13, -13), - MaxEta = cms.untracked.double(2.5), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-2.5), - MaxPt = cms.untracked.double(10.01) - ), - Verbosity = cms.untracked.int32(0), - psethack = cms.string('single mu pt 10'), - AddAntiParticle = cms.untracked.bool(True), - firstRun = cms.untracked.uint32(1) -) - -# Output definition -process.output = cms.OutputModule("PoolOutputModule", - outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands, - fileName = cms.untracked.string('SingleMuPt10_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_RAW2DIGI_RECO.root'), - dataset = cms.untracked.PSet( - dataTier = cms.untracked.string(''), - filterName = cms.untracked.string('') - ), - SelectEvents = cms.untracked.PSet( - SelectEvents = cms.vstring('generation_step') - ) -) - -# Additional output definition - -# Other statements -process.GlobalTag.globaltag = 'IDEAL_30X::All' - -# Path and EndPath definitions -process.generation_step = cms.Path(process.pgen) -process.simulation_step = cms.Path(process.psim) -process.digitisation_step = cms.Path(process.pdigi) -process.L1simulation_step = cms.Path(process.SimL1Emulator) -process.digi2raw_step = cms.Path(process.DigiToRaw) -process.raw2digi_step = cms.Path(process.RawToDigi) -process.reconstruction_step = cms.Path(process.reconstruction) -process.endjob_step = cms.Path(process.endOfProcess) -process.out_step = cms.EndPath(process.output) - -process.PixelErrorEstimation = cms.Path(process.PixelErrorEstimation) # gavril : add PixelErrorEstimation module - -# Schedule definition -process.schedule = cms.Schedule(process.generation_step, - process.simulation_step, - process.digitisation_step, - process.L1simulation_step, - process.digi2raw_step, - process.raw2digi_step, - process.reconstruction_step, - process.PixelErrorEstimation, # gavril: add PixelErrorEstimation module in the path - process.endjob_step, - process.out_step - ) diff --git a/CommonTools/CandAlgos/test/mccandidates.py b/CommonTools/CandAlgos/test/mccandidates.py deleted file mode 100755 index a19ffc227e441..0000000000000 --- a/CommonTools/CandAlgos/test/mccandidates.py +++ /dev/null @@ -1,55 +0,0 @@ -from FWCore.ParameterSet.Config import * - -process = Process("MCCand") - -process.include( "FWCore/MessageLogger/data/MessageLogger.cfi" ) -process.include( "SimGeneral/HepPDTESSource/data/pythiapdt.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticleCandidates.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticles.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventWeight.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventScale.cfi") -# The following is still not clear how should be converted to .py... -# process.include( "PhysicsTools/HepMCCandAlgos/test/h4l.cff") -# include "PhysicsTools/HepMCCandAlgos/test/ttbar.cff" -# include "PhysicsTools/HepMCCandAlgos/test/hpp.cff" -# include "PhysicsTools/HepMCCandAlgos/test/h4l.cff" -# include "PhysicsTools/HepMCCandAlgos/test/herwig.cff" - -process.add_( Service("Timing") ) - -process.add_( Service("RandomNumberGeneratorService", - theSource = PSet( - initialSeed = untracked.uint32(7893456), - engineName = untracked.string("HepJamesRandom") - ) - ) -) - -process.maxEvents = untracked.PSet( input = untracked.int32(1000) ) - -from PhysicsTools.HepMCCandAlgos.data.h4l_cff import pythiaSource - -process.source = pythiaSource - -process.out = OutputModule( "PoolOutputModule", - fileName = untracked.string( "genevents.root" ), - outputCommands= untracked.vstring( - "drop *", - "keep *_genParticleCandidates_*_*", - "keep *_genParticles_*_*", - "keep *_genEventWeight_*_*" - ) -) - -process.printEventNumber = OutputModule( "AsciiOutputModule" ) - -process.p = Path( - process.genParticleCandidates * - process.genParticles * - process.genEventWeight -) - -process.o = EndPath( - process.out * - process.printEventNumber -) diff --git a/CommonTools/ParticleFlow/python/Sources/source_HZZtoTauMu_cfi.py b/CommonTools/ParticleFlow/python/Sources/source_HZZtoTauMu_cfi.py deleted file mode 100644 index bde804fc05894..0000000000000 --- a/CommonTools/ParticleFlow/python/Sources/source_HZZtoTauMu_cfi.py +++ /dev/null @@ -1,60 +0,0 @@ -import FWCore.ParameterSet.Config as cms - - -# Input source -from Configuration.Generator.PythiaUESettings_cfi import * -source = cms.Source("PythiaSource", - pythiaHepMCVerbosity = cms.untracked.bool(False), - maxEventsToPrint = cms.untracked.int32(0), - pythiaPylistVerbosity = cms.untracked.int32(0), - filterEfficiency = cms.untracked.double(1.0), - comEnergy = cms.untracked.double(10000.0), - PythiaParameters = cms.PSet( - pythiaUESettingsBlock, - processParameters = cms.vstring('PMAS(25,1)=250.0 !mass of Higgs', - 'MSEL=0 !(D=1) to select between full user control (0, then use MSUB) and some preprogrammed alternative: QCD hight pT processes (1, then ISUB=11, 12, 13, 28, 53, 68), QCD low pT processes (2, then ISUB=11, 12, 13, 28, 53, 68, 91, 92, 94, 95)', - 'MSUB(102)=1 !ggH', - 'MSUB(123)=1 !ZZ fusion to H', - 'MSUB(124)=1 !WW fusion to H', - 'CKIN(45)=5. !high mass cut on m2 in 2 to 2 process Registered by Chris.Seez@cern.ch', - 'CKIN(46)=150. !high mass cut on secondary resonance m1 in 2->1->2 process Registered by Alexandre.Nikitenko@cern.ch', - 'CKIN(47)=5. !low mass cut on secondary resonance m2 in 2->1->2 process Registered by Alexandre.Nikitenko@cern.ch', - 'CKIN(48)=150. !high mass cut on secondary resonance m2 in 2->1->2 process Registered by Alexandre.Nikitenko@cern.ch', - 'MDME(174,1)=0 !Z decay into d dbar', - 'MDME(175,1)=0 !Z decay into u ubar', - 'MDME(176,1)=0 !Z decay into s sbar', - 'MDME(177,1)=0 !Z decay into c cbar', - 'MDME(178,1)=0 !Z decay into b bbar', - 'MDME(179,1)=0 !Z decay into t tbar', - 'MDME(182,1)=0 !Z decay into e- e+', - 'MDME(183,1)=0 !Z decay into nu_e nu_ebar', - 'MDME(184,1)=1 !Z decay into mu- mu+', - 'MDME(185,1)=0 !Z decay into nu_mu nu_mubar', - 'MDME(186,1)=1 !Z decay into tau- tau+', - 'MDME(187,1)=0 !Z decay into nu_tau nu_taubar', - 'MDME(210,1)=0 !Higgs decay into dd', - 'MDME(211,1)=0 !Higgs decay into uu', - 'MDME(212,1)=0 !Higgs decay into ss', - 'MDME(213,1)=0 !Higgs decay into cc', - 'MDME(214,1)=0 !Higgs decay into bb', - 'MDME(215,1)=0 !Higgs decay into tt', - 'MDME(216,1)=0 !Higgs decay into', - 'MDME(217,1)=0 !Higgs decay into Higgs decay', - 'MDME(218,1)=0 !Higgs decay into e nu e', - 'MDME(219,1)=0 !Higgs decay into mu nu mu', - 'MDME(220,1)=0 !Higgs decay into tau nu tau', - 'MDME(221,1)=0 !Higgs decay into Higgs decay', - 'MDME(222,1)=0 !Higgs decay into g g', - 'MDME(223,1)=0 !Higgs decay into gam gam', - 'MDME(224,1)=0 !Higgs decay into gam Z', - 'MDME(225,1)=1 !Higgs decay into Z Z', - 'MDME(226,1)=0 !Higgs decay into W W', - 'MDME(89,1)=0 ! no tau->electron' - ), - # This is a vector of ParameterSet names to be read, in this order - parameterSets = cms.vstring('pythiaUESettings', - 'processParameters') - ) -) - - diff --git a/CommonTools/ParticleFlow/python/Sources/source_ZtoEles_cfi.py b/CommonTools/ParticleFlow/python/Sources/source_ZtoEles_cfi.py deleted file mode 100644 index 9bf79f6210b49..0000000000000 --- a/CommonTools/ParticleFlow/python/Sources/source_ZtoEles_cfi.py +++ /dev/null @@ -1,39 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -source = cms.Source("PythiaSource", - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - pythiaZtt = cms.vstring('MSEL = 11 ', - 'MDME( 174,1) = 0 !Z decay into d dbar', - 'MDME( 175,1) = 0 !Z decay into u ubar', - 'MDME( 176,1) = 0 !Z decay into s sbar', - 'MDME( 177,1) = 0 !Z decay into c cbar', - 'MDME( 178,1) = 0 !Z decay into b bbar', - 'MDME( 179,1) = 0 !Z decay into t tbar', - 'MDME( 182,1) = 1 !Z decay into e- e+', - 'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar', - 'MDME( 184,1) = 0 !Z decay into mu- mu+', - 'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar', - 'MDME( 186,1) = 0 !Z decay into tau- tau+', - 'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar', - 'MSTJ( 11) = 3 !Choice of the fragmentation function', - 'MSTP( 2) = 1 !which order running alphaS', - 'MSTP( 33) = 0 !(D=0) ', - 'MSTP( 51) = 7 !structure function chosen', - 'MSTP( 81) = 1 !multiple parton interactions 1 is Pythia default', - 'MSTP( 82) = 4 !Defines the multi-parton model', - 'PARJ( 71) = 10. !for which ctau 10 mm', - 'PARP( 82) = 1.9 !pt cutoff for multiparton interactions', - 'PARP( 89) = 1000. !sqrts for which PARP82 is set', - 'PARP( 83) = 0.5 !Multiple interactions: matter distrbn parameter', - 'PARP( 84) = 0.4 !Multiple interactions: matter distribution parameter', - 'PARP( 90) = 0.16 !Multiple interactions: rescaling power', - 'CKIN( 1) = 40. !(D=2. GeV)', - 'CKIN( 2) = -1. !(D=-1. GeV)', - 'MDME(89,1)=0 ! no tau->electron', - 'MDME(90,1)=0 ! no tau->muon'), - parameterSets = cms.vstring('pythiaZtt') - ) -) - - diff --git a/CommonTools/ParticleFlow/python/Sources/source_ZtoJets_cfi.py b/CommonTools/ParticleFlow/python/Sources/source_ZtoJets_cfi.py deleted file mode 100644 index a68a03eb18bfd..0000000000000 --- a/CommonTools/ParticleFlow/python/Sources/source_ZtoJets_cfi.py +++ /dev/null @@ -1,39 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -source = cms.Source("PythiaSource", - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - pythiaZtt = cms.vstring('MSEL = 11 ', - 'MDME( 174,1) = 1 !Z decay into d dbar', - 'MDME( 175,1) = 0 !Z decay into u ubar', - 'MDME( 176,1) = 0 !Z decay into s sbar', - 'MDME( 177,1) = 0 !Z decay into c cbar', - 'MDME( 178,1) = 0 !Z decay into b bbar', - 'MDME( 179,1) = 0 !Z decay into t tbar', - 'MDME( 182,1) = 0 !Z decay into e- e+', - 'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar', - 'MDME( 184,1) = 0 !Z decay into mu- mu+', - 'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar', - 'MDME( 186,1) = 0 !Z decay into tau- tau+', - 'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar', - 'MSTJ( 11) = 3 !Choice of the fragmentation function', - 'MSTP( 2) = 1 !which order running alphaS', - 'MSTP( 33) = 0 !(D=0) ', - 'MSTP( 51) = 7 !structure function chosen', - 'MSTP( 81) = 1 !multiple parton interactions 1 is Pythia default', - 'MSTP( 82) = 4 !Defines the multi-parton model', - 'PARJ( 71) = 10. !for which ctau 10 mm', - 'PARP( 82) = 1.9 !pt cutoff for multiparton interactions', - 'PARP( 89) = 1000. !sqrts for which PARP82 is set', - 'PARP( 83) = 0.5 !Multiple interactions: matter distrbn parameter', - 'PARP( 84) = 0.4 !Multiple interactions: matter distribution parameter', - 'PARP( 90) = 0.16 !Multiple interactions: rescaling power', - 'CKIN( 1) = 40. !(D=2. GeV)', - 'CKIN( 2) = -1. !(D=-1. GeV)', - 'MDME(89,1)=0 ! no tau->electron', - 'MDME(90,1)=0 ! no tau->muon'), - parameterSets = cms.vstring('pythiaZtt') - ) -) - - diff --git a/CommonTools/ParticleFlow/python/Sources/source_ZtoMus_cfi.py b/CommonTools/ParticleFlow/python/Sources/source_ZtoMus_cfi.py deleted file mode 100644 index 7bfea7030eb18..0000000000000 --- a/CommonTools/ParticleFlow/python/Sources/source_ZtoMus_cfi.py +++ /dev/null @@ -1,39 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -source = cms.Source("PythiaSource", - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - pythiaZtt = cms.vstring('MSEL = 11 ', - 'MDME( 174,1) = 0 !Z decay into d dbar', - 'MDME( 175,1) = 0 !Z decay into u ubar', - 'MDME( 176,1) = 0 !Z decay into s sbar', - 'MDME( 177,1) = 0 !Z decay into c cbar', - 'MDME( 178,1) = 0 !Z decay into b bbar', - 'MDME( 179,1) = 0 !Z decay into t tbar', - 'MDME( 182,1) = 0 !Z decay into e- e+', - 'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar', - 'MDME( 184,1) = 1 !Z decay into mu- mu+', - 'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar', - 'MDME( 186,1) = 0 !Z decay into tau- tau+', - 'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar', - 'MSTJ( 11) = 3 !Choice of the fragmentation function', - 'MSTP( 2) = 1 !which order running alphaS', - 'MSTP( 33) = 0 !(D=0) ', - 'MSTP( 51) = 7 !structure function chosen', - 'MSTP( 81) = 1 !multiple parton interactions 1 is Pythia default', - 'MSTP( 82) = 4 !Defines the multi-parton model', - 'PARJ( 71) = 10. !for which ctau 10 mm', - 'PARP( 82) = 1.9 !pt cutoff for multiparton interactions', - 'PARP( 89) = 1000. !sqrts for which PARP82 is set', - 'PARP( 83) = 0.5 !Multiple interactions: matter distrbn parameter', - 'PARP( 84) = 0.4 !Multiple interactions: matter distribution parameter', - 'PARP( 90) = 0.16 !Multiple interactions: rescaling power', - 'CKIN( 1) = 40. !(D=2. GeV)', - 'CKIN( 2) = -1. !(D=-1. GeV)', - 'MDME(89,1)=0 ! no tau->electron', - 'MDME(90,1)=0 ! no tau->muon'), - parameterSets = cms.vstring('pythiaZtt') - ) -) - - diff --git a/CommonTools/ParticleFlow/python/Sources/source_ZtoTaus_cfi.py b/CommonTools/ParticleFlow/python/Sources/source_ZtoTaus_cfi.py deleted file mode 100644 index ccd01a87ee464..0000000000000 --- a/CommonTools/ParticleFlow/python/Sources/source_ZtoTaus_cfi.py +++ /dev/null @@ -1,39 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -source = cms.Source("PythiaSource", - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - pythiaZtt = cms.vstring('MSEL = 11 ', - 'MDME( 174,1) = 0 !Z decay into d dbar', - 'MDME( 175,1) = 0 !Z decay into u ubar', - 'MDME( 176,1) = 0 !Z decay into s sbar', - 'MDME( 177,1) = 0 !Z decay into c cbar', - 'MDME( 178,1) = 0 !Z decay into b bbar', - 'MDME( 179,1) = 0 !Z decay into t tbar', - 'MDME( 182,1) = 0 !Z decay into e- e+', - 'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar', - 'MDME( 184,1) = 0 !Z decay into mu- mu+', - 'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar', - 'MDME( 186,1) = 1 !Z decay into tau- tau+', - 'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar', - 'MSTJ( 11) = 3 !Choice of the fragmentation function', - 'MSTP( 2) = 1 !which order running alphaS', - 'MSTP( 33) = 0 !(D=0) ', - 'MSTP( 51) = 7 !structure function chosen', - 'MSTP( 81) = 1 !multiple parton interactions 1 is Pythia default', - 'MSTP( 82) = 4 !Defines the multi-parton model', - 'PARJ( 71) = 10. !for which ctau 10 mm', - 'PARP( 82) = 1.9 !pt cutoff for multiparton interactions', - 'PARP( 89) = 1000. !sqrts for which PARP82 is set', - 'PARP( 83) = 0.5 !Multiple interactions: matter distrbn parameter', - 'PARP( 84) = 0.4 !Multiple interactions: matter distribution parameter', - 'PARP( 90) = 0.16 !Multiple interactions: rescaling power', - 'CKIN( 1) = 40. !(D=2. GeV)', - 'CKIN( 2) = -1. !(D=-1. GeV)', - 'MDME(89,1)=0 ! no tau->electron', - 'MDME(90,1)=0 ! no tau->muon'), - parameterSets = cms.vstring('pythiaZtt') - ) -) - - diff --git a/CommonTools/ParticleFlow/test/aod_PYTHIA_cfg.py b/CommonTools/ParticleFlow/test/aod_PYTHIA_cfg.py deleted file mode 100644 index 60b793cfa1ade..0000000000000 --- a/CommonTools/ParticleFlow/test/aod_PYTHIA_cfg.py +++ /dev/null @@ -1,80 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("HLT") - -# Number of events to be generated -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) - -# Include the RandomNumberGeneratorService definition -process.load("FastSimulation.Configuration.RandomServiceInitialization_cff") - -#process.load("RecoParticleFlow.Configuration.Sources/source_singleTau_cfi") -#process.load("FastSimulation.Configuration.DiJets_cfi") -process.load("CommonTools.ParticleFlow.Sources/source_ZtoMus_cfi") - - -process.source.maxEventsToPrint = cms.untracked.int32(2) -process.source.pythiaPylistVerbosity = cms.untracked.int32(1) - - -# L1 Menu and prescale factors : useful for testing all L1 paths -process.load("Configuration.StandardSequences.L1TriggerDefaultMenu_cff") - -# Common inputs, with fake conditions -process.load("FastSimulation.Configuration.CommonInputs_cff") - -# L1 Emulator and HLT Setup -process.load("FastSimulation.HighLevelTrigger.HLTSetup_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.FamosSequences_cff") - -# Parametrized magnetic field (new mapping, 4.0 and 3.8T) -process.load("Configuration.StandardSequences.MagneticField_40T_cff") -# process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True - -# HLT paths - defined by configDB -# This one is created on the fly by FastSimulation/Configuration/test/IntegrationTestWithHLT_py.csh -process.load("FastSimulation.Configuration.HLT_cff") - -# Only event accepted by L1 + HLT are reconstructed -process.HLTEndSequence = cms.Sequence(process.reconstructionWithFamos) - -# Schedule the HLT paths -process.schedule = cms.Schedule() -process.schedule.extend(process.HLTSchedule) - -# If uncommented : All events are reconstructed, including those rejected at L1/HLT -# process.reconstruction = cms.Path(process.reconstructionWithFamos) -# process.schedule.append(process.reconstruction) - -# Simulation sequence -process.simulation = cms.Sequence(process.simulationWithFamos) -# You many not want to simulate everything -process.famosSimHits.SimulateCalorimetry = True -process.famosSimHits.SimulateTracking = True -# Parameterized magnetic field -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -# Number of pileup events per crossing -process.famosPileUp.PileUpSimulator.averageNumber = 0.0 - -process.GlobalTag.globaltag = "IDEAL_V9::All" - - -# To write out events -process.load("FastSimulation.Configuration.EventContent_cff") -process.o1 = cms.OutputModule("PoolOutputModule", - process.AODSIMEventContent, - fileName = cms.untracked.string('aod.root') -) -process.outpath = cms.EndPath(process.o1) - -# Add endpaths to the schedule -process.schedule.append(process.outpath) - - - - diff --git a/CommonTools/ParticleFlow/test/gen_PYTHIA_cfg.py b/CommonTools/ParticleFlow/test/gen_PYTHIA_cfg.py deleted file mode 100644 index 664f47f83bfcd..0000000000000 --- a/CommonTools/ParticleFlow/test/gen_PYTHIA_cfg.py +++ /dev/null @@ -1,35 +0,0 @@ - - -# event generation -# analysis of the gen event - -import FWCore.ParameterSet.Config as cms - - -process = cms.Process("GEN") - - -# event generation ------------------------------------------------------ - - - -process.load("FastSimulation/Configuration/RandomServiceInitialization_cff") -process.load("CommonTools.ParticleFlow.Sources/source_ZtoJets_cfi") -process.RandomNumberGeneratorService.theSource.initialSeed = 13124 - -# path ----------------------------------------------------------------- - -process.source.maxEventsToPrint = cms.untracked.int32(1) -process.source.pythiaPylistVerbosity = cms.untracked.int32(1) -process.source.pythiaHepMCVerbosity = cms.untracked.bool(False) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(1) -) - - -#process.p1 = cms.Path( -# process.genParticles -# ) - - diff --git a/Configuration/Generator/python/HARDCOL_JGJ_pt_40_10TeV_filter_cff.py b/Configuration/Generator/python/HARDCOL_JGJ_pt_40_10TeV_filter_cff.py deleted file mode 100644 index 58e559fe286e5..0000000000000 --- a/Configuration/Generator/python/HARDCOL_JGJ_pt_40_10TeV_filter_cff.py +++ /dev/null @@ -1,102 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -source = cms.Source("MCDBSource", - articleID = cms.uint32(290), - supportedProtocols = cms.untracked.vstring('rfio') - #filter = cms.untracked.string('\\.lhe$') -) - -from Configuration.Generator.PythiaUESettings_cfi import * - -generator = cms.EDProducer("Pythia6HadronizerFilter", - pythiaHepMCVerbosity = cms.untracked.bool(True), - maxEventsToPrint = cms.untracked.int32(0), - pythiaPylistVerbosity = cms.untracked.int32(1), - comEnergy = cms.double(10000.0), - PythiaParameters = cms.PSet( - pythiaUESettingsBlock, - processParameters = cms.vstring('MSEL=0 ! User defined processes', - 'PMAS(5,1)=4.4 ! b quark mass', - 'PMAS(6,1)=172.4 ! t quark mass', - 'MSTJ(1)=1 ! Fragmentation/hadronization on or off', - 'MSTP(61)=1 ! Parton showering on or off'), - # This is a vector of ParameterSet names to be read, in this order - parameterSets = cms.vstring('pythiaUESettings', - 'processParameters') - ) -) - -genParticlesjgj = cms.EDProducer("GenParticleProducer", - saveBarCodes = cms.untracked.bool(True), - src = cms.InputTag("generator"), - abortOnUnknownPDGCode = cms.untracked.bool(True) -) - -genJetParticlesjgj = cms.EDProducer("InputGenJetsParticleSelector", - src = cms.InputTag("genParticlesjgj"), - ignoreParticleIDs = cms.vuint32(1000022, 2000012, 2000014, 2000016, 1000039, - 5000039, 4000012, 9900012, 9900014, 9900016, - 39), - partonicFinalState = cms.bool(False), - excludeResonances = cms.bool(True), - excludeFromResonancePids = cms.vuint32(12, 13, 14, 16), - tausAsJets = cms.bool(False) -) - -GenJetParametersjgj = cms.PSet( - src = cms.InputTag("genJetParticlesjgj"), - srcPVs = cms.InputTag(''), - jetType = cms.string('GenJet'), - jetPtMin = cms.double(5.0), - inputEtMin = cms.double(0.0), - inputEMin = cms.double(0.0), - doPVCorrection = cms.bool(False), - # pileup with offset correction - doPUOffsetCorr = cms.bool(False), - # if pileup is false, these are not read: - nSigmaPU = cms.double(1.0), - radiusPU = cms.double(0.5), - # fastjet-style pileup - doPUFastjet = cms.bool(False), - # if doPU is false, these are not read: - Active_Area_Repeats = cms.int32(5), - GhostArea = cms.double(0.01), - Ghost_EtaMax = cms.double(6.0) -) - -AnomalousCellParametersjgj = cms.PSet( - maxBadEcalCells = cms.uint32(9999999), - maxRecoveredEcalCells = cms.uint32(9999999), - maxProblematicEcalCells = cms.uint32(9999999), - maxBadHcalCells = cms.uint32(9999999), - maxRecoveredHcalCells = cms.uint32(9999999), - maxProblematicHcalCells = cms.uint32(9999999) -) - -kt4GenJetsjgj = cms.EDProducer( - "FastjetJetProducer", - GenJetParametersjgj, - AnomalousCellParametersjgj, - jetAlgorithm = cms.string("Kt"), - rParam = cms.double(0.4) -) - -kt6GenJetsjgj = kt4GenJetsjgj.clone( rParam = 0.6 ) - -sisCone5GenJetsjgj = cms.EDProducer( - "FastjetJetProducer", - GenJetParametersjgj, - AnomalousCellParametersjgj, - jetAlgorithm = cms.string("SISCone"), - rParam = cms.double(0.5) -) - - -#genJetParticlesjgj = cms.Sequence(genParticlesForJetsjgj) -#recoGenJetsjgj = cms.Sequence(sisCone5GenJetsjgj + kt4GenJetsjgj) - -#genJetjgj = cms.Sequence(genParticlesjgj + (genJetParticlesjgj + recoGenJetsjgj)) - -jgjFilter = cms.EDFilter('JGJFilter') - -ProductionFilterSequence = cms.Sequence(generator*(genParticlesjgj+(genJetParticlesjgj+(sisCone5GenJetsjgj+kt4GenJetsjgj+kt6GenJetsjgj)))*jgjFilter) diff --git a/Configuration/JetMET/python/calorimetry_gen_Pt800_1000_cff.py b/Configuration/JetMET/python/calorimetry_gen_Pt800_1000_cff.py deleted file mode 100644 index 45d344b6238de..0000000000000 --- a/Configuration/JetMET/python/calorimetry_gen_Pt800_1000_cff.py +++ /dev/null @@ -1,33 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -from GeneratorInterface.Pythia6Interface.pythiaDefault_cff import * -source = cms.Source("PythiaSource", - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - pythiaDefaultBlock, - myParameters = cms.vstring('CKIN(3)=800. !(D=0. GeV) minimum pt hat for hard interactions', - 'CKIN(4)=1000. !(D=-1. GeV for no maximum) maximum pt hat for hard interactions', - 'MSEL=1 ! QCD hight pT processes (ISUB = 11, 12, 13, 28, 53, 68)', - 'MSTJ(11)=3 ! Choice of the fragmentation function', - 'MSTJ(22)=2 !Decay those unstable particles', - 'MSTP(2)=1 !which order running alphaS', - 'MSTP(33)=0 !(D=0) inclusion of K factors in (=0: none, i.e. K=1)', - 'MSTP(51)=7 !structure function chosen', - 'MSTP(81)=1 !multiple parton interactions 1 is Pythia default', - 'MSTP(82)=4 !Defines the multi-parton model', - 'MSTU(21)=1 !Check on possible errors during program execution', - 'PARJ(71)=10. !for which ctau 10 mm', - 'PARP(82)=1.9 !pt cutoff for multiparton interactions', - 'PARP(89)=1000. !sqrts for which PARP82 is set', - 'PARP(84)=0.4 !Multiple interactions: matter distribution Registered by Chris.Seez@cern.ch', - 'PARP(90)=0.16 !Multiple interactions: rescaling power Registered by Chris.Seez@cern.ch', - 'PMAS(5,1)=4.2 !mass of b quark', - 'PMAS(6,1)=175. !mass of top quark', - 'PMAS(23,1)=91.187 !mass of Z', - 'PMAS(24,1)=80.22 !mass of W'), - parameterSets = cms.vstring('pythiaDefault', - 'myParameters') - ) -) - - diff --git a/Configuration/JetMET/python/calorimetry_gen_Zprime_Dijets_700_cff.py b/Configuration/JetMET/python/calorimetry_gen_Zprime_Dijets_700_cff.py deleted file mode 100644 index 68b1a049e7b86..0000000000000 --- a/Configuration/JetMET/python/calorimetry_gen_Zprime_Dijets_700_cff.py +++ /dev/null @@ -1,56 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -from GeneratorInterface.Pythia6Interface.pythiaDefault_cff import * -source = cms.Source("PythiaSource", - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - pythiaDefaultBlock, - myParameters = cms.vstring('PMAS(32,1)= 700. !mass of Zprime', - 'MSEL=0 !(D=1) to select between full user control (0, then use MSUB) and some preprogrammed alternative', - 'MSTP(44) = 3 !only select the Z process', - 'MSUB(141) = 1 !ff gamma z0 Z0', - 'MSTJ(11)=3 ! Choice of the fragmentation function', - 'MSTJ(22)=2 !Decay those unstable particles', - 'MSTP(2)=1 !which order running alphaS', - 'MSTP(33)=0 !(D=0) inclusion of K factors in (=0: none, i.e. K=1)', - 'MSTP(51)=7 !structure function chosen', - 'MSTP(81)=1 !multiple parton interactions 1 is Pythia default', - 'MSTP(82)=4 !Defines the multi-parton model', - 'MSTU(21)=1 !Check on possible errors during program execution', - 'PARJ(71)=10. !for which ctau 10 mm', - 'PARP(82)=1.9 !pt cutoff for multiparton interactions', - 'PARP(89)=1000. !sqrts for which PARP82 is set', - 'PARP(84)=0.4 !Multiple interactions: matter distribution Registered by Chris.Seez@cern.ch', - 'PARP(90)=0.16 !Multiple interactions: rescaling power Registered by Chris.Seez@cern.ch', - 'PMAS(5,1)=4.2 !mass of b quark', - 'PMAS(6,1)=175. !mass of top quark', - 'PMAS(23,1)=91.187 !mass of Z', - 'PMAS(24,1)=80.22 !mass of W', - 'MDME(289,1)= 1 !d dbar', - 'MDME(290,1)= 1 !u ubar', - 'MDME(291,1)= 1 !s sbar', - 'MDME(292,1)= 1 !c cbar', - 'MDME(293,1)= 0 !b bar', - 'MDME(294,1)= 0 !t tbar', - 'MDME(295,1)= 0 !4th gen Q Qbar', - 'MDME(296,1)= 0 !4th gen Q Qbar', - 'MDME(297,1)= 0 !e e', - 'MDME(298,1)= 0 !neutrino e e', - 'MDME(299,1)= 0 ! mu mu', - 'MDME(300,1)= 0 !neutrino mu mu', - 'MDME(301,1)= 0 !tau tau', - 'MDME(302,1)= 0 !neutrino tau tau', - 'MDME(303,1)= 0 !4th generation lepton', - 'MDME(304,1)= 0 !4th generation neutrino', - 'MDME(305,1)= 0 !W W', - 'MDME(306,1)= 0 !H charged higgs', - 'MDME(307,1)= 0 !Z', - 'MDME(308,1)= 0 !Z', - 'MDME(309,1)= 0 !sm higgs', - 'MDME(310,1)= 0 !weird neutral higgs HA'), - parameterSets = cms.vstring('pythiaDefault', - 'myParameters') - ) -) - - diff --git a/Configuration/JetMET/python/calorimetry_gen_particlegun_cff.py b/Configuration/JetMET/python/calorimetry_gen_particlegun_cff.py deleted file mode 100644 index 5eb722120933f..0000000000000 --- a/Configuration/JetMET/python/calorimetry_gen_particlegun_cff.py +++ /dev/null @@ -1,17 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(50.0), - MinPt = cms.untracked.double(50.0), - PartID = cms.untracked.vint32(211), - MaxEta = cms.untracked.double(4.5), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-4.5), - MinPhi = cms.untracked.double(-3.14159265359) - ), - Verbosity = cms.untracked.int32(0), - firstRun = cms.untracked.uint32(1) -) - - diff --git a/Configuration/SVSuite/python/RecoTau_DiTaus_pt_20-420_cfg.py b/Configuration/SVSuite/python/RecoTau_DiTaus_pt_20-420_cfg.py deleted file mode 100644 index 1bbf9bf254f1e..0000000000000 --- a/Configuration/SVSuite/python/RecoTau_DiTaus_pt_20-420_cfg.py +++ /dev/null @@ -1,73 +0,0 @@ -# The following comments couldn't be translated into the new config version: - -# This is a vector of ParameterSet names to be read, in this order - -# Tau jets (configuration by A. Nikitenko) - -import FWCore.ParameterSet.Config as cms - -process = cms.Process("Test") -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("Configuration.StandardSequences.Reconstruction_cff") - -process.load("Configuration.StandardSequences.Simulation_cff") - -process.load("Configuration.StandardSequences.MixingNoPileUp_cff") - -process.load("Configuration.StandardSequences.VtxSmearedGauss_cff") - -# Event output -process.load("Configuration.EventContent.EventContent_cff") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(1) -) -process.source = cms.Source("PythiaSource", - Phimin = cms.untracked.double(0.0), - # possibility to run single or double back-to-back particles with PYTHIA - # if ParticleID = 0, run PYTHIA - ParticleID = cms.untracked.int32(-15), - Etamin = cms.untracked.double(0.0), - DoubleParticle = cms.untracked.bool(True), - Phimax = cms.untracked.double(360.0), - Ptmin = cms.untracked.double(20.0), - Ptmax = cms.untracked.double(420.0), - Etamax = cms.untracked.double(2.4), - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - pythiaUESettings = cms.vstring('MSTJ(11)=3 ! Choice of the fragmentation function', 'MSTJ(22)=2 ! Decay those unstable particles', 'PARJ(71)=10 . ! for which ctau 10 mm', 'MSTP(2)=1 ! which order running alphaS', 'MSTP(33)=0 ! no K factors in hard cross sections', 'MSTP(51)=7 ! structure function chosen', 'MSTP(81)=1 ! multiple parton interactions 1 is Pythia default', 'MSTP(82)=4 ! Defines the multi-parton model', 'MSTU(21)=1 ! Check on possible errors during program execution', 'PARP(82)=1.9409 ! pt cutoff for multiparton interactions', 'PARP(89)=1960. ! sqrts for which PARP82 is set', 'PARP(83)=0.5 ! Multiple interactions: matter distrbn parameter', 'PARP(84)=0.4 ! Multiple interactions: matter distribution parameter', 'PARP(90)=0.16 ! Multiple interactions: rescaling power', 'PARP(67)=2.5 ! amount of initial-state radiation', 'PARP(85)=1.0 ! gluon prod. mechanism in MI', 'PARP(86)=1.0 ! gluon prod. mechanism in MI', 'PARP(62)=1.25 ! ', 'PARP(64)=0.2 ! ', 'MSTP(91)=1 !', 'PARP(91)=2.1 ! kt distribution', 'PARP(93)=15.0 ! '), - parameterSets = cms.vstring('pythiaUESettings', 'pythiaTauJets'), - pythiaTauJets = cms.vstring('MDME(89,1)=0 ! no tau->electron', 'MDME(90,1)=0 ! no tau->muon') - ) -) - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(11), - mix = cms.untracked.uint32(12345), - VtxSmeared = cms.untracked.uint32(98765432) - ), - sourceSeed = cms.untracked.uint32(123456789) -) - -process.FEVT = cms.OutputModule("PoolOutputModule", - process.FEVTSIMEventContent, - datasets = cms.untracked.PSet( - dataset1 = cms.untracked.PSet( - dataTier = cms.untracked.string('FEVT') - ) - ), - fileName = cms.untracked.string('file:tau_jets.root') -) - -process.p1 = cms.Path(process.psim) -process.p2 = cms.Path(process.pdigi) -process.p3 = cms.Path(process.reconstruction_plusRS_plus_GSF) -process.outpath = cms.EndPath(process.FEVT) -process.schedule = cms.Schedule(process.p1,process.p2,process.p3,process.outpath) - -process.MessageLogger.cout.threshold = 'ERROR' -process.MessageLogger.cerr.default.limit = 10 -process.g4SimHits.Physics.type = 'SimG4Core/Physics/QGSP_EMV' - diff --git a/DQM/SiStripMonitorCluster/python/MixingModule_cfi.py b/DQM/SiStripMonitorCluster/python/MixingModule_cfi.py index 10ecf4e2f18d4..18089558e64ab 100644 --- a/DQM/SiStripMonitorCluster/python/MixingModule_cfi.py +++ b/DQM/SiStripMonitorCluster/python/MixingModule_cfi.py @@ -2,7 +2,7 @@ # from Configuration/Applications/data/DIGI-RECO.cfg mix = cms.EDFilter("MixingModule", - # secsource input = PoolRASource + # secsource input = EmbeddedRootSource # { # # starting 050, you can skip secsource block at all if you don't @@ -14,7 +14,7 @@ # alternatively, you can set averageNumber=0 if you don't want # to model the pileup # - # to the secsource/PoolRASource, you can give just 1 file or more; + # to the secsource/EmbeddedRootSource, you can give just 1 file or more; # this files will make a "concatinated buffer", which will go circular # until the loop of primary events is done - thus, it'll never run out # @@ -24,7 +24,7 @@ # gun and a file made with a single pion gun, because PartID # is a *tracked* parameter in the gun's PSet; # however, you can merge together files made with other generators, - # for example, PythiaSource, because all parameters of it would be + # because all parameters of it would be # *untracked* # # untracked vstring fileNames = diff --git a/FastSimulation/CaloGeometryTools/test/testCellLine_cfg.py b/FastSimulation/CaloGeometryTools/test/testCellLine_cfg.py deleted file mode 100644 index f76c54eae62f0..0000000000000 --- a/FastSimulation/CaloGeometryTools/test/testCellLine_cfg.py +++ /dev/null @@ -1,46 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences (Frontier conditions) -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -# endpath outpath = { o1 } -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10000) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - # you can request more than 1 particle - #untracked vint32 PartID = { 211, 11, -13 } - PartID = cms.untracked.vint32(22), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(0.0), - MinE = cms.untracked.double(10.0), - MinPhi = cms.untracked.double(-3.14159265359), ## it must be in radians - - MaxE = cms.untracked.double(10.0) - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.Timing = cms.Service("Timing") - -process.p1 = cms.Path(process.famosWithTracksAndEcalClusters) -process.famosSimHits.MaterialEffects.PairProduction = False -process.famosSimHits.MaterialEffects.EnergyLoss = False -process.famosSimHits.MaterialEffects.Bremsstrahlung = False -process.famosSimHits.MaterialEffects.MultipleScattering = False -process.MessageLogger.destinations = ['detailedInfo.txt'] - - diff --git a/FastSimulation/Configuration/test/Example_cfg.py b/FastSimulation/Configuration/test/Example_cfg.py index 7216d2b11f076..66b575f5607cd 100644 --- a/FastSimulation/Configuration/test/Example_cfg.py +++ b/FastSimulation/Configuration/test/Example_cfg.py @@ -29,7 +29,7 @@ # process.load("FastSimulation/Configuration/MinBiasEvents_cfi") # Generate muons with a flat pT particle gun, and with pT=10. # process.load("FastSimulation/Configuration/FlatPtMuonGun_cfi") -# replace FlatRandomPtGunSource.PGunParameters.PartID={130} +# replace FlatRandomPtGunProducer.PGunParameters.PartID={130} # Generate di-electrons with pT=35 GeV # process.load("FastSimulation/Configuration/DiElectrons_cfi") diff --git a/FastSimulation/Configuration/test/IntegrationTestFake_cfg.py b/FastSimulation/Configuration/test/IntegrationTestFake_cfg.py index 32266aea01cc0..3d21cd8d2d571 100644 --- a/FastSimulation/Configuration/test/IntegrationTestFake_cfg.py +++ b/FastSimulation/Configuration/test/IntegrationTestFake_cfg.py @@ -24,7 +24,7 @@ # process.load("FastSimulation/Configuration/MinBiasEvents_cfi") # Generate muons with a flat pT particle gun, and with pT=10. # process.load("FastSimulation/Configuration/FlatPtMuonGun_cfi") -# replace FlatRandomPtGunSource.PGunParameters.PartID={130} +# replace FlatRandomPtGunProducer.PGunParameters.PartID={130} # Generate di-electrons with pT=35 GeV # process.load("FastSimulation/Configuration/DiElectrons_cfi") diff --git a/FastSimulation/ForwardDetectors/test/CastorTowerProducerTest_cfg.py b/FastSimulation/ForwardDetectors/test/CastorTowerProducerTest_cfg.py index 1ecede491a273..b48d6f64b5964 100644 --- a/FastSimulation/ForwardDetectors/test/CastorTowerProducerTest_cfg.py +++ b/FastSimulation/ForwardDetectors/test/CastorTowerProducerTest_cfg.py @@ -26,7 +26,7 @@ process.load("FastSimulation/Configuration/MinBiasEvents_cfi") # Generate muons with a flat pT particle gun, and with pT=10. # process.load("FastSimulation/Configuration/FlatPtMuonGun_cfi") -# replace FlatRandomPtGunSource.PGunParameters.PartID={130} +# replace FlatRandomPtGunProducer.PGunParameters.PartID={130} # Generate di-electrons with pT=35 GeV #process.load("FastSimulation/Configuration/DiElectrons_cfi") diff --git a/FastSimulation/MaterialEffects/test/template_cfg.py b/FastSimulation/MaterialEffects/test/template_cfg.py index 29bdba5decd30..fb1aef683390a 100644 --- a/FastSimulation/MaterialEffects/test/template_cfg.py +++ b/FastSimulation/MaterialEffects/test/template_cfg.py @@ -75,8 +75,7 @@ # Flat energy gun """ -process.source = cms.Source( - "FlatRandomEGunSource", +process.generator = cms.EDProducer("FlatRandomEGunProducer", PGunParameters = cms.untracked.PSet( PartID = cms.untracked.vint32(==PID==), MinEta = cms.untracked.double(-5.10000), diff --git a/FastSimulation/MaterialEffects/test/testSinglePion_cfg.py b/FastSimulation/MaterialEffects/test/testSinglePion_cfg.py deleted file mode 100644 index 92c9260e5e64b..0000000000000 --- a/FastSimulation/MaterialEffects/test/testSinglePion_cfg.py +++ /dev/null @@ -1,52 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") - -# The number of events to be processed. -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10000) -) - -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Histograms -process.load("DQMServices.Core.DQM_cfg") - -process.source = cms.Source( - "FlatRandomEGunSource", - firstRun = cms.untracked.uint32(1), - PGunParameters = cms.untracked.PSet( - # you can request more than 1 particle - #untracked vint32 PartID = { 211, 11, -13 } - PartID = cms.untracked.vint32(211), - MinEta = cms.untracked.double(-3.0), - MaxEta = cms.untracked.double(3.0), - MinPhi = cms.untracked.double(-3.14159265359), ## it must be in radians - MaxPhi = cms.untracked.double(3.14159265359), - MinE = cms.untracked.double(15.0), - MaxE = cms.untracked.double(15.0) - ), - Verbosity = cms.untracked.int32(0) ## for printouts, set it to 1 (or greater) -) - -# Famos SimHits -process.load("FastSimulation.Configuration.CommonInputsFake_cff") -process.load("FastSimulation.Configuration.FamosSequences_cff") -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = False -#process.famosSimHits.MaterialEffects.NuclearInteraction=false -#process.famosSimHits.MaterialEffects.NuclearInteractionEDM=true -#processfamosSimHits.MaterialEffects.pionEnergies={5.,10.,15.} - -# Run what is needed -process.p1 = cms.Path( - process.offlineBeamSpot+ - process.famosPileUp+ - process.famosSimHits -) - -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") -process.MessageLogger.destinations = ['detailedInfo.txt'] - diff --git a/FastSimulation/MuonSimHitProducer/test/TestMuonSimHitsProducer_cfg.py b/FastSimulation/MuonSimHitProducer/test/TestMuonSimHitsProducer_cfg.py deleted file mode 100644 index 2d027ecb3bed3..0000000000000 --- a/FastSimulation/MuonSimHitProducer/test/TestMuonSimHitsProducer_cfg.py +++ /dev/null @@ -1,57 +0,0 @@ -# The following comments couldn't be translated into the new config version: - -# Just for fun: STAMuonAnalyzer is a simple analyzer of stand-alone muons -# include "RecoMuon/StandAloneMuonProducer/test/STAMuonAnalyzer.cfi" -# replace STAMuonAnalyzer.DataType = "RealData" -# (not yet adapted to FastSim Simhits... ) - -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences (Frontier conditions) -process.load("Configuration.StandardSequences.MagneticField_cff") - -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(50) -) -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(10.01), - MinPt = cms.untracked.double(9.99), - # you can request more than 1 particle - #untracked vint32 PartID = { 211, 11, -13 } - PartID = cms.untracked.vint32(13,13,13,13), - MaxEta = cms.untracked.double(1.5), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(1.4), - MinPhi = cms.untracked.double(-3.14159265359) ## it must be in radians - - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.Timing = cms.Service("Timing") - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('test_mu.root') -) - -process.p1 = cms.Path(process.famosWithTracksAndMuons) -process.outpath = cms.EndPath(process.o1) -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = True -process.MessageLogger.destinations = ['detailedInfo.txt'] - - diff --git a/FastSimulation/Tracking/test/FamosTrackProducer_cfg.py b/FastSimulation/Tracking/test/FamosTrackProducer_cfg.py deleted file mode 100644 index b21ffce6aac96..0000000000000 --- a/FastSimulation/Tracking/test/FamosTrackProducer_cfg.py +++ /dev/null @@ -1,51 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.source = cms.Source("FlatRandomPtGunSource", - #untracked int32 maxEvents = 1000 - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(60.0), - MinPt = cms.untracked.double(50.0), - # you can request more than 1 particle - #untracked vint32 PartID = { 211, 11, -13 } - PartID = cms.untracked.vint32(13), - MaxEta = cms.untracked.double(2.4), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-2.4), - MinPhi = cms.untracked.double(-3.14159265359) ## it must be in radians - - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - outputCommands = cms.untracked.vstring('keep *'), - fileName = cms.untracked.string('tracks_Gun_test.root') -) - -process.p1 = cms.Path(process.famosWithTracks) -process.outpath = cms.EndPath(process.o1) -process.load("Configuration.StandardSequences.MagneticField_40T_cff") -#process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = True -process.MessageLogger.destinations = ['detailedInfo.txt'] - - diff --git a/FastSimulation/Validation/test/SingleElectronAnalyzer_cfg.py b/FastSimulation/Validation/test/SingleElectronAnalyzer_cfg.py index 1bbaa843a2bf4..0e786bab11cfb 100644 --- a/FastSimulation/Validation/test/SingleElectronAnalyzer_cfg.py +++ b/FastSimulation/Validation/test/SingleElectronAnalyzer_cfg.py @@ -23,7 +23,7 @@ # include "FastSimulation/Configuration/data/MinBiasEvents.cfi" # Generate muons with a flat pT particle gun, and with pT=10. # include "FastSimulation/Configuration/data/FlatPtMuonGun.cfi" -# replace FlatRandomPtGunSource.PGunParameters.PartID={130} +# replace FlatRandomPtGunProducer.PGunParameters.PartID={130} # Generate di-electrons with pT=35 GeV process.load("FastSimulation.Configuration.DiElectrons_cfi") diff --git a/FastSimulation/Validation/test/runJetPlotFast_cfg.py b/FastSimulation/Validation/test/runJetPlotFast_cfg.py index f2794e8e660ab..08e6a4f0d0f61 100644 --- a/FastSimulation/Validation/test/runJetPlotFast_cfg.py +++ b/FastSimulation/Validation/test/runJetPlotFast_cfg.py @@ -11,7 +11,7 @@ # include "FastSimulation/Configuration/data/MinBiasEvents.cfi" # Generate muons with a flat pT particle gun, and with pT=10. # include "FastSimulation/Configuration/data/FlatPtMuonGun.cfi" -# replace FlatRandomPtGunSource.PGunParameters.PartID={130} +# replace FlatRandomPtGunProducer.PGunParameters.PartID={130} # Generate di-electrons with pT=35 GeV # include "FastSimulation/Configuration/data/DiElectrons.cfi" # Famos sequences (no HLT here) diff --git a/FastSimulation/Validation/test/valTK_muon_100GeV_cfg.py b/FastSimulation/Validation/test/valTK_muon_100GeV_cfg.py deleted file mode 100644 index df84c13ea4b6a..0000000000000 --- a/FastSimulation/Validation/test/valTK_muon_100GeV_cfg.py +++ /dev/null @@ -1,50 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("VALID") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -process.load("FastSimulation.Validation.TrackValidation_HighPurity_cff") - -# endpath outpath = { o1 } -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100000) -) -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(100.0), - MinPt = cms.untracked.double(100.0), - PartID = cms.untracked.vint32(13), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinPhi = cms.untracked.double(-3.14159265359) ## it must be in radians - - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('test_mu_100GeV.root') -) - -process.p1 = cms.Path(process.famosWithTracks*process.valid) -process.load("Configuration.StandardSequences.MagneticField_40T_cff") -#process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = True -process.multiTrackValidator.outputFile = 'valid_mu_100GeV.root' -process.MessageLogger.destinations = ['detailedInfo_mu100.txt'] - - diff --git a/FastSimulation/Validation/test/valTK_muon_10GeV_cfg.py b/FastSimulation/Validation/test/valTK_muon_10GeV_cfg.py deleted file mode 100644 index 835a978b9d5ec..0000000000000 --- a/FastSimulation/Validation/test/valTK_muon_10GeV_cfg.py +++ /dev/null @@ -1,50 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("VALID") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -process.load("FastSimulation.Validation.TrackValidation_HighPurity_cff") - -# endpath outpath = { o1 } -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(1000) -) -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(10.01), - MinPt = cms.untracked.double(9.99), - PartID = cms.untracked.vint32(13), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinPhi = cms.untracked.double(-3.14159265359) ## it must be in radians - - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('test_mu_10GeV.root') -) - -process.p1 = cms.Path(process.famosWithTracks*process.valid) -process.load("Configuration.StandardSequences.MagneticField_40T_cff") -#process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = True -process.multiTrackValidator.outputFile = 'valid_mu_10GeV.root' -process.MessageLogger.destinations = ['detailedInfo_mu10.txt'] - - diff --git a/FastSimulation/Validation/test/valTK_muon_1GeV_cfg.py b/FastSimulation/Validation/test/valTK_muon_1GeV_cfg.py deleted file mode 100644 index b3496c19162cc..0000000000000 --- a/FastSimulation/Validation/test/valTK_muon_1GeV_cfg.py +++ /dev/null @@ -1,50 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("VALID") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -process.load("FastSimulation.Validation.TrackValidation_HighPurity_cff") - -# endpath outpath = { o1 } -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(1.001), - MinPt = cms.untracked.double(0.999), - PartID = cms.untracked.vint32(13), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinPhi = cms.untracked.double(-3.14159265359) ## it must be in radians - - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('test_mu_1GeV.root') -) - -process.p1 = cms.Path(process.famosWithTracks*process.valid) -process.load("Configuration.StandardSequences.MagneticField_40T_cff") -#process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = True -process.multiTrackValidator.outputFile = 'valid_mu_1GeV.root' -process.MessageLogger.destinations = ['detailedInfo_mu1.txt'] - - diff --git a/FastSimulation/Validation/test/valTK_pion_1000GeV_cfg.py b/FastSimulation/Validation/test/valTK_pion_1000GeV_cfg.py deleted file mode 100644 index b2c4ee6adf5de..0000000000000 --- a/FastSimulation/Validation/test/valTK_pion_1000GeV_cfg.py +++ /dev/null @@ -1,50 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("VALID") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -process.load("FastSimulation.Validation.TrackValidation_HighPurity_cff") - -# endpath outpath = { o1 } -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100000) -) -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(1000.0), - MinPt = cms.untracked.double(1000.0), - PartID = cms.untracked.vint32(211), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinPhi = cms.untracked.double(-3.14159265359) ## it must be in radians - - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('test_pion_1000GeV.root') -) - -process.p1 = cms.Path(process.famosWithTracks*process.valid) -#process.load("Configuration.StandardSequences.MagneticField_40T_cff") -process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = True -process.multiTrackValidator.outputFile = 'valid_pion_1000GeV.root' -process.MessageLogger.destinations = ['detailedInfo_pi1000.txt'] - - diff --git a/FastSimulation/Validation/test/valTK_pion_100GeV_cfg.py b/FastSimulation/Validation/test/valTK_pion_100GeV_cfg.py deleted file mode 100644 index 2e97f5012bafa..0000000000000 --- a/FastSimulation/Validation/test/valTK_pion_100GeV_cfg.py +++ /dev/null @@ -1,50 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("VALID") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -process.load("FastSimulation.Validation.TrackValidation_HighPurity_cff") - -# endpath outpath = { o1 } -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100000) -) -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(100.0), - MinPt = cms.untracked.double(100.0), - PartID = cms.untracked.vint32(211), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinPhi = cms.untracked.double(-3.14159265359) ## it must be in radians - - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('test_pi_100GeV.root') -) - -process.p1 = cms.Path(process.famosWithTracks*process.valid) -#process.load("Configuration.StandardSequences.MagneticField_40T_cff") -process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = True -process.multiTrackValidator.outputFile = 'valid_pi_100GeV.root' -process.MessageLogger.destinations = ['detailedInfo_pi100.txt'] - - diff --git a/FastSimulation/Validation/test/valTK_pion_10GeV_cfg.py b/FastSimulation/Validation/test/valTK_pion_10GeV_cfg.py deleted file mode 100644 index acfbdc27c7f76..0000000000000 --- a/FastSimulation/Validation/test/valTK_pion_10GeV_cfg.py +++ /dev/null @@ -1,50 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("VALID") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -process.load("FastSimulation.Validation.TrackValidation_HighPurity_cff") - -# endpath outpath = { o1 } -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100000) -) -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(10.0), - MinPt = cms.untracked.double(10.0), - PartID = cms.untracked.vint32(211), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinPhi = cms.untracked.double(-3.14159265359) ## it must be in radians - - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('test_pi_10GeV.root') -) - -process.p1 = cms.Path(process.famosWithTracks*process.valid) -#process.load("Configuration.StandardSequences.MagneticField_40T_cff") -process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = True -process.multiTrackValidator.outputFile = 'valid_pi_10GeV.root' -process.MessageLogger.destinations = ['detailedInfo_pi10.txt'] - - diff --git a/FastSimulation/Validation/test/valTK_pion_1GeV_cfg.py b/FastSimulation/Validation/test/valTK_pion_1GeV_cfg.py deleted file mode 100644 index 87d01f47388bc..0000000000000 --- a/FastSimulation/Validation/test/valTK_pion_1GeV_cfg.py +++ /dev/null @@ -1,50 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("VALID") -# Include the RandomNumberGeneratorService definition -process.load("IOMC.RandomEngine.IOMC_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.CommonInputsFake_cff") - -process.load("FastSimulation.Configuration.FamosSequences_cff") - -process.load("FastSimulation.Validation.TrackValidation_HighPurity_cff") - -# endpath outpath = { o1 } -# Keep the logging output to a nice level # -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(1.001), - MinPt = cms.untracked.double(0.999), - PartID = cms.untracked.vint32(211), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinPhi = cms.untracked.double(-3.14159265359) ## it must be in radians - - ), - Verbosity = cms.untracked.int32(0), ## for printouts, set it to 1 (or greater) - - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('test_pi_1GeV.root') -) - -process.p1 = cms.Path(process.famosWithTracks*process.valid) -#process.load("Configuration.StandardSequences.MagneticField_40T_cff") -process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -process.famosSimHits.SimulateCalorimetry = False -process.famosSimHits.SimulateTracking = True -process.multiTrackValidator.outputFile = 'valid_pi_1GeV.root' -process.MessageLogger.destinations = ['detailedInfo_pi1.txt'] - - diff --git a/GeneratorInterface/CosmicMuonGenerator/python/CMSCGENsource_cfi.py b/GeneratorInterface/CosmicMuonGenerator/python/CMSCGENsource_cfi.py deleted file mode 100644 index 7b836b4e829cf..0000000000000 --- a/GeneratorInterface/CosmicMuonGenerator/python/CMSCGENsource_cfi.py +++ /dev/null @@ -1,47 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -source = cms.Source("CosMuoGenSource", - RadiusOfTarget = cms.double(8000.0), - TIFOnly_constant = cms.bool(False), - TIFOnly_linear = cms.bool(False), - ElossScaleFactor = cms.double(1.0), - MaxPhi = cms.double(360.0), - MaxTheta = cms.double(84.26), - #MaxTheta = cms.double(89.0), - MaxT0 = cms.double(12.5), - ZDistOfTarget = cms.double(15000.0), - ZCentrOfTarget = cms.double(0.0), - MinP = cms.double(3.0), - MinT0 = cms.double(-12.5), - MTCCHalf = cms.bool(False), - TrackerOnly = cms.bool(False), - MinTheta = cms.double(0.0), - MinP_CMS = cms.double(-1.0), ##negative means MinP_CMS = MinP. Only change this if you know what you are doing! - - MaxP = cms.double(3000.0), - MinPhi = cms.double(0.0), - PlugVx = cms.double(0.0), - PlugVz = cms.double(-14000.0), #[mm] - - #material densities in g/cm^3 - RhoAir = cms.double(0.001214), - RhoWall = cms.double(2.5), - RhoRock = cms.double(2.5), - RhoClay = cms.double(2.3), - RhoPlug = cms.double(2.5), - ClayWidth = cms.double(50000.), #[mm] - - MultiMuon = cms.bool(False), - # MultiMuon = cms.bool(True), - MultiMuonFileName = cms.string("CORSIKAmultiMuon.root"), - MultiMuonFileFirstEvent = cms.int32(1), - MultiMuonNmin = cms.int32(2), - - MinEnu = cms.double(10.), - MaxEnu = cms.double(10000.), - NuProdAlt = cms.double(7.5e6), - AcptAllMu = cms.bool(False), - Verbosity = cms.bool(False) -) - - diff --git a/GeneratorInterface/CosmicMuonGenerator/src/CosMuoGenProducer.cc b/GeneratorInterface/CosmicMuonGenerator/src/CosMuoGenProducer.cc index b4b7912b5312f..037d1f3c1597b 100644 --- a/GeneratorInterface/CosmicMuonGenerator/src/CosMuoGenProducer.cc +++ b/GeneratorInterface/CosmicMuonGenerator/src/CosMuoGenProducer.cc @@ -144,7 +144,7 @@ void edm::CosMuoGenProducer::produce(Event &e, const edm::EventSetup &es) } if (Debug) { - std::cout << "CosMuoGenSource.cc: CosMuoGen->EventWeight=" << CosMuoGen->EventWeight + std::cout << "CosMuoGenProducer.cc: CosMuoGen->EventWeight=" << CosMuoGen->EventWeight << " CosMuoGen: Nmuons=" << CosMuoGen->Id_sf.size() << std::endl; std::cout << "CosMuoGen->Id_at=" << CosMuoGen->Id_at << " CosMuoGen->Vx_at=" << CosMuoGen->Vx_at @@ -183,7 +183,7 @@ void edm::CosMuoGenProducer::produce(Event &e, const edm::EventSetup &es) CosMuoGen->Vy_at, //[mm] CosMuoGen->Vz_at, //[mm] CosMuoGen->T0_at)); //[mm] - //cout << "CosMuoGenSource.cc: Vy_at=" << CosMuoGen->Vy_at << endl; + //cout << "CosMuoGenProducer.cc: Vy_at=" << CosMuoGen->Vy_at << endl; HepMC::FourVector p_at(CosMuoGen->Px_at,CosMuoGen->Py_at,CosMuoGen->Pz_at,CosMuoGen->E_at); HepMC::GenParticle* Part_at = new HepMC::GenParticle(p_at,CosMuoGen->Id_at, 3);//Comment mother particle in diff --git a/GeneratorInterface/CosmicMuonGenerator/test/CosmicMuonsUnderground_cfg.py b/GeneratorInterface/CosmicMuonGenerator/test/CosmicMuonsUnderground_cfg.py index 6422e282b321b..06a83f48584e6 100644 --- a/GeneratorInterface/CosmicMuonGenerator/test/CosmicMuonsUnderground_cfg.py +++ b/GeneratorInterface/CosmicMuonGenerator/test/CosmicMuonsUnderground_cfg.py @@ -2,7 +2,6 @@ process = cms.Process("runCosMuoGen") process.load("GeneratorInterface.CosmicMuonGenerator.CMSCGENproducer_cfi") -# process.load("GeneratorInterface.CosmicMuonGenerator.CMSCGENsource_cfi") process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", generator = cms.PSet( diff --git a/GeneratorInterface/GenExtensions/test/Bc2JpsiPiFromMCDB_cfi.py b/GeneratorInterface/GenExtensions/test/Bc2JpsiPiFromMCDB_cfi.py deleted file mode 100644 index 461eb5107c66a..0000000000000 --- a/GeneratorInterface/GenExtensions/test/Bc2JpsiPiFromMCDB_cfi.py +++ /dev/null @@ -1,80 +0,0 @@ -import FWCore.ParameterSet.Config as cms -from Configuration.Generator.PythiaUESettings_cfi import * - -source = cms.Source("MCDBSource", - articleID = cms.uint32(233), - supportedProtocols = cms.untracked.vstring('rfio') -) - -generator = cms.EDFilter("Pythia6HadronizerFilter", - crossSection = cms.untracked.double(62), - filterEfficiency = cms.untracked.double(0.1235), - eventsToPrint = cms.untracked.uint32(1), - pythiaHepMCVerbosity = cms.untracked.bool(True), - pythiaPylistVerbosity = cms.untracked.int32(1), - comEnergy = cms.double(10000.0), - PythiaParameters = cms.PSet( - pythiaUESettingsBlock, - processParameters = cms.vstring( - 'MDME(997,2) = 0 ! PHASE SPACE', - 'KFDP(997,1) = 211 ! pi+', - 'KFDP(997,2) = 443 ! J/psi', - 'KFDP(997,3) = 0 ! nada', - 'KFDP(997,4) = 0 ! nada', - 'KFDP(997,5) = 0 ! nada', - 'PMAS(143,1) = 6.286', - 'PMAS(143,4) = 0.138', - 'MDME(858,1) = 0 ! J/psi->e+e-', - 'MDME(859,1) = 1 ! J/psi->mumu', - 'MDME(860,1) = 0', - 'MDME(998,1) = 3', - 'MDME(999,1) = 3', - 'MDME(1000,1) = 3', - 'MDME(1001,1) = 3', - 'MDME(1002,1) = 3', - 'MDME(1003,1) = 3', - 'MDME(1004,1) = 3', - 'MDME(1005,1) = 3', - 'MDME(1006,1) = 3', - 'MDME(1007,1) = 3', - 'MDME(1008,1) = 3', - 'MDME(1009,1) = 3', - 'MDME(1010,1) = 3', - 'MDME(1011,1) = 3', - 'MDME(1012,1) = 3', - 'MDME(1013,1) = 3', - 'MDME(1014,1) = 3', - 'MDME(1015,1) = 3', - 'MDME(1016,1) = 3', - 'MDME(1017,1) = 3', - 'MDME(1018,1) = 3', - 'MDME(1019,1) = 3', - 'MDME(1020,1) = 3', - 'MDME(1021,1) = 3', - 'MDME(1022,1) = 3', - 'MDME(1023,1) = 3', - 'MDME(1024,1) = 3', - 'MDME(1025,1) = 3', - 'MDME(1026,1) = 3', - 'MDME(1027,1) = 3', - 'MDME(997,1) = 1 ! Bc -> pi J/Psi', - 'MSTJ(22)=2 ! Do not decay unstable particles', - 'PARJ(71)=10. ! with c*tau > cTauMin (in mm) in PYTHIA', - 'MSTP(61)=0'), - parameterSets = cms.vstring('pythiaUESettings', - 'processParameters') - ) -) - -mumugenfilter = cms.EDFilter("MCParticlePairFilter", - Status = cms.untracked.vint32(1, 1), - MinPt = cms.untracked.vdouble(2.5, 2.5), - MaxEta = cms.untracked.vdouble(2.5, 2.5), - moduleLabel = cms.untracked.string('generator'), - MinEta = cms.untracked.vdouble(-2.5, -2.5), - ParticleCharge = cms.untracked.int32(-1), - ParticleID1 = cms.untracked.vint32(13), - ParticleID2 = cms.untracked.vint32(13) -) - -ProducerSourceSequence = cms.Sequence(generator*mumugenfilter) diff --git a/GeneratorInterface/GenExtensions/test/Bc2JpsiPiFromMCDB_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_HLT_MC.py b/GeneratorInterface/GenExtensions/test/Bc2JpsiPiFromMCDB_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_HLT_MC.py deleted file mode 100644 index 6893a8258e484..0000000000000 --- a/GeneratorInterface/GenExtensions/test/Bc2JpsiPiFromMCDB_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_HLT_MC.py +++ /dev/null @@ -1,172 +0,0 @@ -# Auto generated configuration file -# using: -# Revision: 1.123 -# Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v -# with command line options: Bc2JpsiPiFromMCDB_cfi -s GEN:ProducerSourceSequence,SIM,DIGI,L1,DIGI2RAW,HLT --eventcontent FEVTSIM --conditions FrontierConditions_GlobalTag,MC_31X_V2::All -n 10 --no_exe -import FWCore.ParameterSet.Config as cms - -process = cms.Process('HLT') - -# import of standard configurations -process.load('Configuration/StandardSequences/Services_cff') -process.load('FWCore/MessageService/MessageLogger_cfi') -process.load('Configuration/StandardSequences/MixingNoPileUp_cff') -process.load('Configuration/StandardSequences/GeometryIdeal_cff') -process.load('Configuration/StandardSequences/MagneticField_38T_cff') -process.load('Configuration/StandardSequences/Generator_cff') -process.load('Configuration/StandardSequences/VtxSmearedEarly10TeVCollision_cff') -process.load('Configuration/StandardSequences/Sim_cff') -process.load('Configuration/StandardSequences/Digi_cff') -process.load('Configuration/StandardSequences/SimL1Emulator_cff') -process.load('Configuration/StandardSequences/DigiToRaw_cff') -process.load('HLTrigger/Configuration/HLT_1E31_cff') -process.load('Configuration/StandardSequences/EndOfProcess_cff') -process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff') -process.load('Configuration/EventContent/EventContent_cff') - -process.MessageLogger.cerr.threshold = 'INFO' - -process.configurationMetadata = cms.untracked.PSet( - version = cms.untracked.string('$Revision: 1.2 $'), - annotation = cms.untracked.string('Bc2JpsiPiFromMCDB_cfi nevts:10'), - name = cms.untracked.string('PyReleaseValidation') -) -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10) -) -process.options = cms.untracked.PSet( - Rethrow = cms.untracked.vstring('ProductNotFound') -) -# Input source -process.source = cms.Source("MCDBSource", - articleID = cms.uint32(233), - supportedProtocols = cms.untracked.vstring('rfio') -) - -# Output definition -process.output = cms.OutputModule("PoolOutputModule", - splitLevel = cms.untracked.int32(0), - outputCommands = process.FEVTSIMEventContent.outputCommands, - fileName = cms.untracked.string('Bc2JpsiPiFromMCDB_cfi_GEN_SIM_DIGI_L1_DIGI2RAW_HLT.root'), - dataset = cms.untracked.PSet( - dataTier = cms.untracked.string(''), - filterName = cms.untracked.string('') - ), - SelectEvents = cms.untracked.PSet( - SelectEvents = cms.vstring('generation_step') - ) -) - -# Additional output definition - -# Other statements -##process.GlobalTag.globaltag = 'MC_31X_V8::All' -process.GlobalTag.globaltag = 'MC_37Y_V0::All' -process.mumugenfilter = cms.EDFilter("MCParticlePairFilter", - Status = cms.untracked.vint32(1, 1), - MinPt = cms.untracked.vdouble(2.5, 2.5), - MaxEta = cms.untracked.vdouble(2.5, 2.5), - moduleLabel = cms.untracked.string('generator'), - MinEta = cms.untracked.vdouble(-2.5, -2.5), - ParticleCharge = cms.untracked.int32(-1), - ParticleID1 = cms.untracked.vint32(13), - ParticleID2 = cms.untracked.vint32(13) -) -process.generator = cms.EDFilter("Pythia6HadronizerFilter", - pythiaPylistVerbosity = cms.untracked.int32(1), - filterEfficiency = cms.untracked.double(0.1235), - eventsToPrint = cms.untracked.uint32(10), - pythiaHepMCVerbosity = cms.untracked.bool(True), - comEnergy = cms.double(10000.0), - crossSection = cms.untracked.double(62), - PythiaParameters = cms.PSet( - pythiaUESettings = cms.vstring('MSTJ(11)=3 ! Choice of the fragmentation function', - 'MSTJ(22)=2 ! Decay those unstable particles', - 'PARJ(71)=10 . ! for which ctau 10 mm', - 'MSTP(2)=1 ! which order running alphaS', - 'MSTP(33)=0 ! no K factors in hard cross sections', - 'MSTP(51)=10042 ! structure function chosen (external PDF CTEQ6L1)', - 'MSTP(52)=2 ! work with LHAPDF', - 'MSTP(81)=1 ! multiple parton interactions 1 is Pythia default', - 'MSTP(82)=4 ! Defines the multi-parton model', - 'MSTU(21)=1 ! Check on possible errors during program execution', - 'PARP(82)=1.8387 ! pt cutoff for multiparton interactions', - 'PARP(89)=1960. ! sqrts for which PARP82 is set', - 'PARP(83)=0.5 ! Multiple interactions: matter distrbn parameter', - 'PARP(84)=0.4 ! Multiple interactions: matter distribution parameter', - 'PARP(90)=0.16 ! Multiple interactions: rescaling power', - 'PARP(67)=2.5 ! amount of initial-state radiation', - 'PARP(85)=1.0 ! gluon prod. mechanism in MI', - 'PARP(86)=1.0 ! gluon prod. mechanism in MI', - 'PARP(62)=1.25 ! ', - 'PARP(64)=0.2 ! ', - 'MSTP(91)=1 !', - 'PARP(91)=2.1 ! kt distribution', - 'PARP(93)=15.0 ! '), - processParameters = cms.vstring('MDME(997,2) = 0 ! PHASE SPACE', - 'KFDP(997,1) = 211 ! pi+', - 'KFDP(997,2) = 443 ! J/psi', - 'KFDP(997,3) = 0 ! nada', - 'KFDP(997,4) = 0 ! nada', - 'KFDP(997,5) = 0 ! nada', - 'PMAS(143,1) = 6.286', - 'PMAS(143,4) = 0.138', - 'MDME(858,1) = 0 ! J/psi->e+e-', - 'MDME(859,1) = 1 ! J/psi->mumu', - 'MDME(860,1) = 0', - 'MDME(998,1) = 3', - 'MDME(999,1) = 3', - 'MDME(1000,1) = 3', - 'MDME(1001,1) = 3', - 'MDME(1002,1) = 3', - 'MDME(1003,1) = 3', - 'MDME(1004,1) = 3', - 'MDME(1005,1) = 3', - 'MDME(1006,1) = 3', - 'MDME(1007,1) = 3', - 'MDME(1008,1) = 3', - 'MDME(1009,1) = 3', - 'MDME(1010,1) = 3', - 'MDME(1011,1) = 3', - 'MDME(1012,1) = 3', - 'MDME(1013,1) = 3', - 'MDME(1014,1) = 3', - 'MDME(1015,1) = 3', - 'MDME(1016,1) = 3', - 'MDME(1017,1) = 3', - 'MDME(1018,1) = 3', - 'MDME(1019,1) = 3', - 'MDME(1020,1) = 3', - 'MDME(1021,1) = 3', - 'MDME(1022,1) = 3', - 'MDME(1023,1) = 3', - 'MDME(1024,1) = 3', - 'MDME(1025,1) = 3', - 'MDME(1026,1) = 3', - 'MDME(1027,1) = 3', - 'MDME(997,1) = 1 ! Bc -> pi J/Psi', - 'MSTJ(22)=2 ! Do not decay unstable particles', - 'PARJ(71)=10. ! with c*tau > cTauMin (in mm) in PYTHIA', - 'MSTP(61)=0'), - parameterSets = cms.vstring('pythiaUESettings', - 'processParameters') - ) -) -process.ProducerSourceSequence = cms.Sequence(process.generator*process.mumugenfilter) - -# Path and EndPath definitions -process.generation_step = cms.Path(process.pgen) -process.simulation_step = cms.Path(process.psim) -process.digitisation_step = cms.Path(process.pdigi) -process.L1simulation_step = cms.Path(process.SimL1Emulator) -process.digi2raw_step = cms.Path(process.DigiToRaw) -process.endjob_step = cms.Path(process.endOfProcess) -process.out_step = cms.EndPath(process.output) - -# Schedule definition -process.schedule = cms.Schedule(process.generation_step,process.simulation_step,process.digitisation_step,process.L1simulation_step,process.digi2raw_step) -process.schedule.extend(process.HLTSchedule) -process.schedule.extend([process.endjob_step,process.out_step]) -# special treatment in case of production filter sequence -for path in process.paths: - getattr(process,path)._seq = process.ProducerSourceSequence*getattr(process,path)._seq diff --git a/GeneratorInterface/GenFilters/test/test_CosmicGenFilterHelix_cfg.py b/GeneratorInterface/GenFilters/test/test_CosmicGenFilterHelix_cfg.py deleted file mode 100644 index d35bdb75d3941..0000000000000 --- a/GeneratorInterface/GenFilters/test/test_CosmicGenFilterHelix_cfg.py +++ /dev/null @@ -1,67 +0,0 @@ -# -# Original Author: Gero Flucke -# Created: 15.8.2008 -# - -import FWCore.ParameterSet.Config as cms - -process = cms.Process("Alignment") -#process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True)) - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - sourceSeed = cms.untracked.uint32(8913579) - ) -# message logger -process.load("FWCore.MessageService.MessageLogger_cfi") -process.MessageLogger.cerr = cms.untracked.PSet(placeholder = cms.untracked.bool(True)) -process.MessageLogger.cout = cms.untracked.PSet(INFO = cms.untracked.PSet( - limit = cms.untracked.int32(10) - )) -process.MessageLogger.statistics.append('cout') - -# magnetic field - in principle easy, but... -process.load("Configuration.StandardSequences.MagneticField_cff") -# ... difficult for 0 T since need to add all these lines -# # (cf. Configuration/GlobalRuns/python/ForceZeroTesla_cff.py -# # and Configuration/GlobalRuns/python/recoT0DQM_EvContent_cfg.py): -# process.localUniform = cms.ESProducer("UniformMagneticFieldESProducer", -# ZFieldInTesla = cms.double(0.0) -# ) -# process.es_prefer_localUniform = cms.ESPrefer("UniformMagneticFieldESProducer","localUniform") -# # We use the SteppingHelixPropagatorAlong in filter and have to prepare for 0 T as well, sigh: -# process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi") -# process.SteppingHelixPropagatorAlong.useInTeslaFromMagField = True -# process.SteppingHelixPropagatorAlong.SetVBFPointer = True -# process.VolumeBasedMagneticFieldESProducer.label = 'VolumeBasedMagneticField' - -# geometry -process.load("Configuration.StandardSequences.Geometry_cff") - -# source -process.load("GeneratorInterface.CosmicMuonGenerator.CMSCGENsource_cfi") -process.source.MinP = 5. -#process.source.MaxTheta = 70. # just to speed up - but angular bias... - -# filter with histogram service -process.load("GeneratorInterface.GenFilters.CosmicGenFilterHelix_cff") -process.cosmicInTracker.doMonitor = True # needs TFileService: -process.TFileService = cms.Service("TFileService", - fileName = cms.string('test_CosmicGenFilterHelix.root') -) - -# output -process.maxEvents = cms.untracked.PSet( -# input = cms.untracked.int32(1000), take care, cut on output might lead to long jobs... - output = cms.untracked.PSet(FEVT = cms.untracked.int32(100)) - ) -process.FEVT = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('genCosmicsReachTracker.root'), - SelectEvents = cms.untracked.PSet( - SelectEvents = cms.vstring('filterPath') - ) -) - -# paths -process.filterPath = cms.Path(process.cosmicInTracker) -process.outputPath = cms.EndPath(process.FEVT) - diff --git a/GeneratorInterface/Herwig6Interface/test/testHerwig6_Source_cfg.py b/GeneratorInterface/Herwig6Interface/test/testHerwig6_Source_cfg.py deleted file mode 100644 index 3b03002838c17..0000000000000 --- a/GeneratorInterface/Herwig6Interface/test/testHerwig6_Source_cfg.py +++ /dev/null @@ -1,55 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process('Test') - -process.load('Configuration.StandardSequences.Services_cff') -process.load('FWCore.MessageService.MessageLogger_cfi') - -process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(500)) - -process.source = cms.Source("Herwig6Source", - useJimmy = cms.untracked.bool(True), - doMPInteraction = cms.untracked.bool(True), - - herwigHepMCVerbosity = cms.untracked.bool(False), - herwigVerbosity = cms.untracked.int32(0), - printCards = cms.untracked.bool(True), - maxEventsToPrint = cms.untracked.int32(0), - - crossSection = cms.untracked.double(-1.0), - filterEfficiency = cms.untracked.double(1.0), - - HerwigParameters = cms.PSet( - parameterSets = cms.vstring( - 'jimmyUESettings', - 'herwigHZZ4mu' -# 'herwigQCDjets' - ), - jimmyUESettings = cms.vstring( - 'JMUEO = 1 ! multiparton interaction model', - 'PTJIM = 4.449 ! 2.8x(sqrt(s)/1.8TeV)^0.27 @ 10 TeV', - 'JMRAD(73) = 1.8 ! inverse proton radius squared', - 'PRSOF = 0.0 ! prob. of a soft underlying event' - ), - herwigHZZ4mu = cms.vstring( - 'RMASS(201) = 175 ! Mass of the Higgs boson', - 'IPROC = 1611 ! Process gg -> H -> ZZ', - 'MODBOS(1) = 3 ! enforde first Z -> mumu', - 'MODBOS(2) = 3 ! enforce second Z -> mumu', - 'MODPDF(1) = 20060 ! PDF set according to LHAGLUE', - 'MODPDF(2) = 20060 ! MRST2001LO', - 'PTJIM = 2.5', - 'PTMIN = 2.5' - ), - herwigQCDjets = cms.vstring( - 'IPROC = 2505 ! QCD 2->2 processes', - 'PTMIN = 80. ! minimum pt in hadronic jet', - 'MODPDF(1) = 10041 ! PDF set according to LHAGLUE', - 'MODPDF(2) = 10041 ! CTEQ6L', - ) - ) -) - -process.output = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('herwigHZZ4mu.root') -) diff --git a/GeneratorInterface/LHEInterface/test/testMCDB_cfg.py b/GeneratorInterface/LHEInterface/test/testMCDB_cfg.py deleted file mode 100755 index 668f3d409ccef..0000000000000 --- a/GeneratorInterface/LHEInterface/test/testMCDB_cfg.py +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env cmsRun -import FWCore.ParameterSet.Config as cms - -process = cms.Process("LHE") - -process.source = cms.Source("MCDBSource", - articleID = cms.uint32(186), - supportedProtocols = cms.untracked.vstring('rfio') - #filter = cms.untracked.string('\\.lhe$') -) - -process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(100)) - -process.configurationMetadata = cms.untracked.PSet( - version = cms.untracked.string('alpha'), - name = cms.untracked.string('LHEF input'), - annotation = cms.untracked.string('ttbar') -) - -process.load("FWCore.MessageService.MessageLogger_cfi") -process.MessageLogger.cerr.threshold = 'INFO' - -process.LHE = cms.OutputModule("PoolOutputModule", - dataset = cms.untracked.PSet(dataTier = cms.untracked.string('LHE')), - fileName = cms.untracked.string('lhe.root') -) - -process.outpath = cms.EndPath(process.LHE) diff --git a/Geometry/HcalCommonData/test/python/runCheck_cfg.py b/Geometry/HcalCommonData/test/python/runCheck_cfg.py deleted file mode 100644 index bb59bbb591e9c..0000000000000 --- a/Geometry/HcalCommonData/test/python/runCheck_cfg.py +++ /dev/null @@ -1,64 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -process.load("SimGeneral.HepPDTESSource.pdt_cfi") - -process.load("Geometry.CMSCommonData.hcalOnlyGeometryXML_cfi") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet( - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - G4cout = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ), - G4cerr = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ) - ), - categories = cms.untracked.vstring('G4cout', - 'G4cerr'), - destinations = cms.untracked.vstring('cout') -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(12345) - ), - sourceSeed = cms.untracked.uint32(98765) -) - -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(211), - MaxEta = cms.untracked.double(0.5655), - MaxPhi = cms.untracked.double(-0.1309), - MinEta = cms.untracked.double(0.5655), - MinE = cms.untracked.double(9.99), - MinPhi = cms.untracked.double(-0.1309), - MaxE = cms.untracked.double(10.01) - ), - Verbosity = cms.untracked.int32(0), - AddAntiParticle = cms.untracked.bool(False), - firstRun = cms.untracked.uint32(1) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(1) -) -process.p1 = cms.Path(process.g4SimHits) -process.g4SimHits.UseMagneticField = False -process.g4SimHits.Physics.DefaultCutValue = 1. -process.g4SimHits.Generator.HepMCProductLabel = 'source' -process.g4SimHits.Watchers = cms.VPSet(cms.PSet( - Resolution = cms.untracked.int32(1000), - type = cms.string('CheckOverlap'), - NodeName = cms.untracked.string('CMSE') -)) - diff --git a/Geometry/TrackerCommonData/test/python/runValid_cfg.py b/Geometry/TrackerCommonData/test/python/runValid_cfg.py deleted file mode 100644 index 83e33fe74f988..0000000000000 --- a/Geometry/TrackerCommonData/test/python/runValid_cfg.py +++ /dev/null @@ -1,74 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -process.load("SimGeneral.HepPDTESSource.pdt_cfi") - -process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi") - -process.load("Geometry.TrackerCommonData.tibGeometryXML_cfi") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet( - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - G4cout = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ), - G4cerr = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ) - ), - categories = cms.untracked.vstring('G4cout', - 'G4cerr'), - destinations = cms.untracked.vstring('cout') -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(123456789) - ), - sourceSeed = cms.untracked.uint32(135799753) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10000) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(14), - MaxEta = cms.untracked.double(2.5), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(0.0), - MinE = cms.untracked.double(9.99), - MinPhi = cms.untracked.double(-3.14159265359), - MaxE = cms.untracked.double(10.01) - ), - Verbosity = cms.untracked.int32(0), - AddAntiParticle = cms.untracked.bool(False), - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('simevent.root') -) - -process.p1 = cms.Path(process.VtxSmeared*process.g4SimHits) -process.ep = cms.EndPath(process.o1) -process.VtxSmeared.SigmaX = 0.00001 -process.VtxSmeared.SigmaY = 0.00001 -process.VtxSmeared.SigmaZ = 0.00001 -process.g4SimHits.UseMagneticField = False -process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics' -process.g4SimHits.Physics.DummyEMPhysics = True -process.g4SimHits.Generator.HepMCProductLabel = 'source' -process.g4SimHits.Watchers = cms.VPSet(cms.PSet( - type = cms.string('PrintMaterialBudgetInfo'), - Name = cms.untracked.string('TIBModule2') -)) - diff --git a/L1Trigger/RegionalCaloTrigger/test/rctMaskTest_cfg.py b/L1Trigger/RegionalCaloTrigger/test/rctMaskTest_cfg.py deleted file mode 100644 index b0134536f9615..0000000000000 --- a/L1Trigger/RegionalCaloTrigger/test/rctMaskTest_cfg.py +++ /dev/null @@ -1,121 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("TEST") -process.load("Configuration.StandardSequences.Services_cff") - -process.load("Configuration.StandardSequences.FakeConditions_cff") - -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("Configuration.StandardSequences.Generator_cff") - -process.load("Configuration.StandardSequences.Geometry_cff") - -process.load("Configuration.StandardSequences.Reconstruction_cff") - -process.load("Configuration.StandardSequences.Simulation_cff") - -process.load("Configuration.StandardSequences.MixingNoPileUp_cff") - -process.load("Configuration.StandardSequences.VtxSmearedGauss_cff") - -#needed to prevent exception -process.load("MagneticField.Engine.uniformMagneticField_cfi") - -process.load("L1Trigger.RegionalCaloTrigger.L1RCTTestAnalyzer_cfi") - -#include "Configuration/StandardSequences/data/L1Emulator.cff" -process.load("L1Trigger.RegionalCaloTrigger.rctDigis_cfi") - -#replace simRctDigis.ecalDigisLabel = maskedRctInputDigis -#replace simRctDigis.hcalDigisLabel = maskedRctInputDigis -process.load("L1TriggerConfig.L1ScalesProducers.L1CaloScalesConfig_cff") - -process.load("L1TriggerConfig.L1ScalesProducers.L1CaloInputScalesConfig_cff") - -process.load("SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff") - -process.load("L1TriggerConfig.RCTConfigProducers.L1RCTConfig_cff") - -# path p4 = {L1Emulator} -# Event output -process.load("Configuration.EventContent.EventContent_cff") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) -process.options = cms.untracked.PSet( - makeTriggerResults = cms.untracked.bool(True), - Rethrow = cms.untracked.vstring('Unknown', - 'ProductNotFound', - 'DictionaryNotFound', - 'InsertFailure', - 'Configuration', - 'LogicError', - 'UnimplementedFeature', - 'InvalidReference', - 'NullPointerError', - 'NoProductSpecified', - 'EventTimeout', - 'EventCorruption', - 'ModuleFailure', - 'ScheduleExecutionFailure', - 'EventProcessorFailure', - 'FileInPathError', - 'FatalRootError', - 'NotFound') -) -process.TFileService = cms.Service("TFileService", - fileName = cms.string('rct.root') -) - -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(35.001), - MinPt = cms.untracked.double(34.999), - # You can request more than one particle - # since PartID is a vector, you can place in as many - # PDG id's as you wish, comma-separated - # - PartID = cms.untracked.vint32(11, 11, 11, 11, -11, - -11, -11, -11), - MaxEta = cms.untracked.double(2.5), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-2.5), - MinPhi = cms.untracked.double(-3.14159265359) ## in radians - - ), - Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts - - psethack = cms.string('single e pt 35'), - firstRun = cms.untracked.uint32(1) -) - -process.maskedRctInputDigis = cms.EDProducer("MaskedRctInputDigiProducer", - hcalDigisLabel = cms.InputTag("hcalTriggerPrimitiveDigis"), - maskFile = cms.FileInPath('L1Trigger/RegionalCaloTrigger/test/data/testMaskOutEtaMinus.txt'), - useEcal = cms.bool(True), - useHcal = cms.bool(True), - ecalDigisLabel = cms.InputTag("ecalTriggerPrimitiveDigis") -) - -process.FEVT = cms.OutputModule("PoolOutputModule", - process.FEVTSIMEventContent, - dataset = cms.untracked.PSet( - dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO') - ), - fileName = cms.untracked.string('rctTest.root') -) - -process.p0 = cms.Path(process.pgen) -process.p1 = cms.Path(process.psim) -process.p2 = cms.Path(process.pdigi) -process.p4 = cms.Path(process.maskedRctInputDigis*process.rctDigis) -process.outpath = cms.EndPath(process.FEVT) -process.schedule = cms.Schedule(process.p0,process.p1,process.p2,process.p4) - -process.L1RCTTestAnalyzer.showRegionSums = False -process.rctDigis.ecalDigisLabel = 'maskedRctInputDigis' -process.rctDigis.hcalDigisLabel = 'maskedRctInputDigis' - - diff --git a/L1Trigger/RegionalCaloTrigger/test/rctSaveInputTest_cfg.py b/L1Trigger/RegionalCaloTrigger/test/rctSaveInputTest_cfg.py deleted file mode 100644 index fc14f7a010d9b..0000000000000 --- a/L1Trigger/RegionalCaloTrigger/test/rctSaveInputTest_cfg.py +++ /dev/null @@ -1,109 +0,0 @@ -# The following comments couldn't be translated into the new config version: - -# path p4 = {rctDigis, L1RCTTestAnalyzer} -# path p4 = {L1Emulator} -# schedule = {input,p4,outpath} -# schedule = {p1, p2, p3, p4} - -import FWCore.ParameterSet.Config as cms - -process = cms.Process("TEST") -# untracked PSet maxEvents = {untracked int32 input = 2} -process.load("Configuration.StandardSequences.Services_cff") - -process.load("Configuration.StandardSequences.FakeConditions_cff") - -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("Configuration.StandardSequences.Geometry_cff") - -process.load("Configuration.StandardSequences.Generator_cff") - -process.load("Configuration.StandardSequences.Reconstruction_cff") - -process.load("Configuration.StandardSequences.Simulation_cff") - -process.load("Configuration.StandardSequences.MixingNoPileUp_cff") - -process.load("Configuration.StandardSequences.VtxSmearedGauss_cff") - -#needed to prevent exception -process.load("MagneticField.Engine.uniformMagneticField_cfi") - -process.load("L1Trigger.RegionalCaloTrigger.L1RCTTestAnalyzer_cfi") - -#include "Configuration/StandardSequences/data/L1Emulator.cff" -process.load("L1TriggerConfig.L1ScalesProducers.L1CaloScalesConfig_cff") - -process.load("L1TriggerConfig.L1ScalesProducers.L1CaloInputScalesConfig_cff") - -process.load("SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff") - -process.load("L1TriggerConfig.RCTConfigProducers.L1RCTConfig_cff") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(64) -) -process.options = cms.untracked.PSet( - makeTriggerResults = cms.untracked.bool(True), - Rethrow = cms.untracked.vstring('Unknown', - 'ProductNotFound', - 'DictionaryNotFound', - 'InsertFailure', - 'Configuration', - 'LogicError', - 'UnimplementedFeature', - 'InvalidReference', - 'NullPointerError', - 'NoProductSpecified', - 'EventTimeout', - 'EventCorruption', - 'ModuleFailure', - 'ScheduleExecutionFailure', - 'EventProcessorFailure', - 'FileInPathError', - 'FatalRootError', - 'NotFound') -) -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(35.001), - MinPt = cms.untracked.double(34.999), - # You can request more than one particle - # since PartID is a vector, you can place in as many - # PDG id's as you wish, comma-separated - # - PartID = cms.untracked.vint32(11, -11), - MaxEta = cms.untracked.double(2.5), - MaxPhi = cms.untracked.double(3.14159265359), - #untracked vint32 PartID = {211, -211} - MinEta = cms.untracked.double(-2.5), - MinPhi = cms.untracked.double(-3.14159265359) ## in radians - - ), - Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts - - psethack = cms.string('single e pt 35'), - #string psethack = "double pi pt 35" - firstRun = cms.untracked.uint32(1) -) - -process.rctSave = cms.EDAnalyzer("L1RCTSaveInput", - hcalDigisLabel = cms.InputTag("hcalTriggerPrimitiveDigis"), - useDebugTpgScales = cms.bool(False), - rctTestInputFile = cms.untracked.string('rctSaveTest.txt'), - #untracked string rctTestInputFile = "rctSaveTest_TPG_RCT_internal.txt" - useEcal = cms.bool(True), - useHcal = cms.bool(True), - ecalDigisLabel = cms.InputTag("ecalTriggerPrimitiveDigis") -) - -process.p0 = cms.Path(process.pgen) -process.p1 = cms.Path(process.psim) -process.p2 = cms.Path(process.pdigi) -process.p4 = cms.Path(process.rctSave) -process.schedule = cms.Schedule(process.p0,process.p1,process.p2,process.p4) - -process.L1RCTTestAnalyzer.showRegionSums = False - - diff --git a/L1Trigger/RegionalCaloTrigger/test/rctTest_cfg.py b/L1Trigger/RegionalCaloTrigger/test/rctTest_cfg.py deleted file mode 100644 index 6ba43a706be3b..0000000000000 --- a/L1Trigger/RegionalCaloTrigger/test/rctTest_cfg.py +++ /dev/null @@ -1,118 +0,0 @@ -# The following comments couldn't be translated into the new config version: - -# path p4 = {maskedRctInputDigis, rctDigis} -# path p4 = {L1Emulator} -# Event output -#include "Configuration/EventContent/data/EventContent.cff" -# module FEVT = PoolOutputModule -# { -# using FEVTSIMEventContent -# untracked string fileName = "rctTest.root" -# #untracked PSet dataset ={ -# # untracked string dataTier = "GEN-SIM-DIGI-RECO" -# # } -# } -# endpath outpath = {FEVT} - -import FWCore.ParameterSet.Config as cms - -process = cms.Process("TEST") -# untracked PSet maxEvents = {untracked int32 input = 2} -#include "Configuration/ReleaseValidation/data/Services.cff" -process.load("Configuration.StandardSequences.Services_cff") - -process.load("Configuration.StandardSequences.FakeConditions_cff") - -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("Configuration.StandardSequences.Geometry_cff") - -process.load("Configuration.StandardSequences.Generator_cff") - -process.load("Configuration.StandardSequences.Reconstruction_cff") - -process.load("Configuration.StandardSequences.Simulation_cff") - -process.load("Configuration.StandardSequences.MixingNoPileUp_cff") - -process.load("Configuration.StandardSequences.VtxSmearedGauss_cff") - -#needed to prevent exception -process.load("MagneticField.Engine.uniformMagneticField_cfi") - -#include "L1Trigger/RegionalCaloTrigger/data/maskedRctInputDigis.cfi" -process.load("SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff") - -process.load("L1TriggerConfig.RCTConfigProducers.L1RCTConfig_cff") - -process.load("L1TriggerConfig.L1ScalesProducers.L1CaloScalesConfig_cff") - -process.load("L1TriggerConfig.L1ScalesProducers.L1CaloInputScalesConfig_cff") - -#include "L1Trigger/RegionalCaloTrigger/data/L1RCTTestAnalyzer.cfi" -#replace L1RCTTestAnalyzer.showRegionSums = false -#include "Configuration/StandardSequences/data/L1Emulator.cff" -process.load("L1Trigger.RegionalCaloTrigger.rctDigis_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(64) -) -process.options = cms.untracked.PSet( - makeTriggerResults = cms.untracked.bool(True), - Rethrow = cms.untracked.vstring('Unknown', - 'ProductNotFound', - 'DictionaryNotFound', - 'InsertFailure', - 'Configuration', - 'LogicError', - 'UnimplementedFeature', - 'InvalidReference', - 'NullPointerError', - 'NoProductSpecified', - 'EventTimeout', - 'EventCorruption', - 'ModuleFailure', - 'ScheduleExecutionFailure', - 'EventProcessorFailure', - 'FileInPathError', - 'FatalRootError', - 'NotFound') -) -process.TFileService = cms.Service("TFileService", - fileName = cms.string('rctTest.root') -) - -process.source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(35.001), - # untracked double MinPhi = 0. - # untracked double MaxPhi = 0.5 - MinPt = cms.untracked.double(34.999), - # You can request more than one particle - # since PartID is a vector, you can place in as many - # PDG id's as you wish, comma-separated - # - #untracked vint32 PartID = {11,-11,13,-13,211,-211} # e-e+mu-mu+pi+pi- - #untracked vint32 PartID = {11,-11} # electron, positron - #untracked vint32 PartID = {211, -211} # pi+ pi- - PartID = cms.untracked.vint32(2112), - MaxEta = cms.untracked.double(2.5), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-2.5), - MinPhi = cms.untracked.double(-3.14159265359) ## in radians - - ), - Verbosity = cms.untracked.int32(0), ## set to 1 (or greater) for printouts - - psethack = cms.string('single e pt 35'), - firstRun = cms.untracked.uint32(1) -) - -process.p0 = cms.Path(process.pgen) -process.p1 = cms.Path(process.psim) -process.p2 = cms.Path(process.pdigi) -process.p4 = cms.Path(process.rctDigis) -process.schedule = cms.Schedule(process.p0,process.p1,process.p2,process.p4) - - - diff --git a/PhysicsTools/Configuration/test/mccandidates.py b/PhysicsTools/Configuration/test/mccandidates.py deleted file mode 100755 index a19ffc227e441..0000000000000 --- a/PhysicsTools/Configuration/test/mccandidates.py +++ /dev/null @@ -1,55 +0,0 @@ -from FWCore.ParameterSet.Config import * - -process = Process("MCCand") - -process.include( "FWCore/MessageLogger/data/MessageLogger.cfi" ) -process.include( "SimGeneral/HepPDTESSource/data/pythiapdt.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticleCandidates.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticles.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventWeight.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventScale.cfi") -# The following is still not clear how should be converted to .py... -# process.include( "PhysicsTools/HepMCCandAlgos/test/h4l.cff") -# include "PhysicsTools/HepMCCandAlgos/test/ttbar.cff" -# include "PhysicsTools/HepMCCandAlgos/test/hpp.cff" -# include "PhysicsTools/HepMCCandAlgos/test/h4l.cff" -# include "PhysicsTools/HepMCCandAlgos/test/herwig.cff" - -process.add_( Service("Timing") ) - -process.add_( Service("RandomNumberGeneratorService", - theSource = PSet( - initialSeed = untracked.uint32(7893456), - engineName = untracked.string("HepJamesRandom") - ) - ) -) - -process.maxEvents = untracked.PSet( input = untracked.int32(1000) ) - -from PhysicsTools.HepMCCandAlgos.data.h4l_cff import pythiaSource - -process.source = pythiaSource - -process.out = OutputModule( "PoolOutputModule", - fileName = untracked.string( "genevents.root" ), - outputCommands= untracked.vstring( - "drop *", - "keep *_genParticleCandidates_*_*", - "keep *_genParticles_*_*", - "keep *_genEventWeight_*_*" - ) -) - -process.printEventNumber = OutputModule( "AsciiOutputModule" ) - -process.p = Path( - process.genParticleCandidates * - process.genParticles * - process.genEventWeight -) - -process.o = EndPath( - process.out * - process.printEventNumber -) diff --git a/PhysicsTools/Configuration/test/testAll.csh b/PhysicsTools/Configuration/test/testAll.csh index 84f48beee3439..04a2b915aee5c 100755 --- a/PhysicsTools/Configuration/test/testAll.csh +++ b/PhysicsTools/Configuration/test/testAll.csh @@ -1,5 +1,5 @@ #!/bin/csh cmsenv -cmsRun mccandidates.py +#cmsRun mccandidates.py cmsRun testCandAlgos.cfg cmsRun dimuonsSkim.cfg diff --git a/PhysicsTools/HepMCCandAlgos/python/data/h4l_cff.py b/PhysicsTools/HepMCCandAlgos/python/data/h4l_cff.py deleted file mode 100755 index 93f5a67569225..0000000000000 --- a/PhysicsTools/HepMCCandAlgos/python/data/h4l_cff.py +++ /dev/null @@ -1,60 +0,0 @@ -from FWCore.ParameterSet.Config import * - -pythiaSource = Source("PythiaSource", - pythiaVerbosity = untracked.bool(False), - PythiaParameters = PSet(parameterSets = vstring("pythiaHZZeeee"), - pythiaHZZeeee = vstring( - "PMAS(25,1)=190.0 !mass of Higgs", - "MSEL=0 !(D=1) to select between full user control (0, then use MSUB) and some preprogrammed alternative: QCD hight pT processes (1, then ISUB=11, 12, 13, 28, 53, 68), QCD low pT processes (2, then ISUB=11, 12, 13, 28, 53, 68, 91, 92, 94, 95)", - "MSTJ(11)=3 !Choice of the fragmentation function", - "MSTJ(41)=1 !Switch off Pythia QED bremsshtrahlung", - "MSTP(51)=7 !structure function chosen", - "MSTP(61)=0 ! no initial-state showers", - "MSTP(71)=0 ! no final-state showers", - "MSTP(81)=0 ! no multiple interactions", - "MSTP(111)=0 ! no hadronization", - "MSTU(21)=1 !Check on possible errors during program execution", - "MSUB(102)=1 !ggH", - "MSUB(123)=1 !ZZ fusion to H", - "MSUB(124)=1 !WW fusion to H", - "PARP(82)=1.9 !pt cutoff for multiparton interactions", - "PARP(83)=0.5 !Multiple interactions: matter distrbn parameter Registered by Chris.Seez@cern.ch", - "PARP(84)=0.4 !Multiple interactions: matter distribution parameter Registered by Chris.Seez@cern.ch", - "PARP(90)=0.16 !Multiple interactions: rescaling power Registered by Chris.Seez@cern.ch", - "CKIN(45)=5. !high mass cut on m2 in 2 to 2 process Registered by Chris.Seez@cern.ch", - "MSTP(25)=2 !Angular decay correlations in H->ZZ->4fermions Registered by Alexandre.Nikitenko@cern.ch", - "CKIN(46)=150. !high mass cut on secondary resonance m1 in 2->1->2 process Registered by Alexandre.Nikitenko@cern.ch", - "CKIN(47)=5. !low mass cut on secondary resonance m2 in 2->1->2 process Registered by Alexandre.Nikitenko@cern.ch", - "CKIN(48)=150. !high mass cut on secondary resonance m2 in 2->1->2 process Registered by Alexandre.Nikitenko@cern.ch", - "MDME(174,1)=0 !Z decay into d dbar", - "MDME(175,1)=0 !Z decay into u ubar", - "MDME(176,1)=0 !Z decay into s sbar", - "MDME(177,1)=0 !Z decay into c cbar", - "MDME(178,1)=0 !Z decay into b bbar", - "MDME(179,1)=0 !Z decay into t tbar", - "MDME(182,1)=1 !Z decay into e- e+", - "MDME(183,1)=0 !Z decay into nu_e nu_ebar", - "MDME(184,1)=0 !Z decay into mu- mu+", - "MDME(185,1)=0 !Z decay into nu_mu nu_mubar", - "MDME(186,1)=0 !Z decay into tau- tau+", - "MDME(187,1)=0 !Z decay into nu_tau nu_taubar", - "MDME(210,1)=0 !Higgs decay into dd", - "MDME(211,1)=0 !Higgs decay into uu", - "MDME(212,1)=0 !Higgs decay into ss", - "MDME(213,1)=0 !Higgs decay into cc", - "MDME(214,1)=0 !Higgs decay into bb", - "MDME(215,1)=0 !Higgs decay into tt", - "MDME(216,1)=0 !Higgs decay into", - "MDME(217,1)=0 !Higgs decay into Higgs decay", - "MDME(218,1)=0 !Higgs decay into e nu e", - "MDME(219,1)=0 !Higgs decay into mu nu mu", - "MDME(220,1)=0 !Higgs decay into tau nu tau", - "MDME(221,1)=0 !Higgs decay into Higgs decay", - "MDME(222,1)=0 !Higgs decay into g g", - "MDME(223,1)=0 !Higgs decay into gam gam", - "MDME(224,1)=0 !Higgs decay into gam Z", - "MDME(225,1)=1 !Higgs decay into Z Z", - "MDME(226,1)=0 !Higgs decay into W W" - ) - ) -) diff --git a/PhysicsTools/HepMCCandAlgos/test/GenH190ZZ4muHepMCAnalysis.py b/PhysicsTools/HepMCCandAlgos/test/GenH190ZZ4muHepMCAnalysis.py deleted file mode 100644 index af4627165f1f9..0000000000000 --- a/PhysicsTools/HepMCCandAlgos/test/GenH190ZZ4muHepMCAnalysis.py +++ /dev/null @@ -1,116 +0,0 @@ -from FWCore.ParameterSet.Config import * - -process = Process("TEST") - -process.maxEvents = untracked.PSet( input = untracked.int32(100) ) - -process.add_( Service("Timing") ) - -#process.include("Configuration/StandardSequences/data/SimulationRandomNumberGeneratorSeeds.cff") -process.add_( Service("RandomNumberGeneratorService", - sourceSeed= untracked.uint32( 123456789 ) ) ) - -process.add_( Service("MessageLogger", - destinations=untracked.vstring("cout"), - categories=untracked.vstring("FwkJob"), - cout=untracked.PSet( default=untracked.PSet( limit=untracked.int32(0) ), - FwkJob=untracked.PSet( limit=untracked.int32(-1) ) - ) - ) - ) - -process.include( "SimGeneral/HepPDTESSource/data/pythiapdt.cfi" ) - -process.source = Source( "PythiaSource", - pythiaPylistVerbosity=untracked.int32(0), - pythiaHepMCVerbosity=untracked.bool(False), - maxEventsToPrint = untracked.int32(0), - filterEfficiency = untracked.double(1), - PythiaParameters = PSet\ - (parameterSets = vstring("pythiaH190ZZ4mu"), - pythiaH190ZZ4mu = vstring( - "PMAS(25,1)=190.0 !mass of Higgs", - "MSEL=0 !(D=1) to select between full user control (0, then use MSUB) and some preprogrammed alternative: QCD hight pT processes (1, then ISUB=11, 12, 13, 28, 53, 68), QCD low pT processes (2, then ISUB=11, 12, 13, 28, 53, 68, 91, 92, 94, 95)", - "MSTJ(11)=3 !Choice of the fragmentation function", - "MSTJ(41)=1 !Switch off Pythia QED bremsshtrahlung", - "MSTP(51)=7 !structure function chosen", - "MSTP(61)=0 ! no initial-state showers", - "MSTP(71)=0 ! no final-state showers", - "MSTP(81)=0 ! no multiple interactions", - "MSTP(111)=0 ! no hadronization", - "MSTU(21)=1 !Check on possible errors during program execution", - "MSUB(102)=1 !ggH", - "MSUB(123)=1 !ZZ fusion to H", - "MSUB(124)=1 !WW fusion to H", - "PARP(82)=1.9 !pt cutoff for multiparton interactions", - "PARP(83)=0.5 !Multiple interactions: matter distrbn parameter Registered by Chris.Seez@cern.ch", - "PARP(84)=0.4 !Multiple interactions: matter distribution parameter Registered by Chris.Seez@cern.ch", - "PARP(90)=0.16 !Multiple interactions: rescaling power Registered by Chris.Seez@cern.ch", - "CKIN(45)=5. !high mass cut on m2 in 2 to 2 process Registered by Chris.Seez@cern.ch", - "MSTP(25)=2 !Angular decay correlations in H->ZZ->4fermions Registered by Alexandre.Nikitenko@cern.ch", - "CKIN(46)=150. !high mass cut on secondary resonance m1 in 2->1->2 process Registered by Alexandre.Nikitenko@cern.ch", - "CKIN(47)=5. !low mass cut on secondary resonance m2 in 2->1->2 process Registered by Alexandre.Nikitenko@cern.ch", - "CKIN(48)=150. !high mass cut on secondary resonance m2 in 2->1->2 process Registered by Alexandre.Nikitenko@cern.ch", - "MDME(174,1)=0 !Z decay into d dbar", - "MDME(175,1)=0 !Z decay into u ubar", - "MDME(176,1)=0 !Z decay into s sbar", - "MDME(177,1)=0 !Z decay into c cbar", - "MDME(178,1)=0 !Z decay into b bbar", - "MDME(179,1)=0 !Z decay into t tbar", - "MDME(182,1)=0 !Z decay into e- e+", - "MDME(183,1)=0 !Z decay into nu_e nu_ebar", - "MDME(184,1)=1 !Z decay into mu- mu+", - "MDME(185,1)=0 !Z decay into nu_mu nu_mubar", - "MDME(186,1)=0 !Z decay into tau- tau+", - "MDME(187,1)=0 !Z decay into nu_tau nu_taubar", - "MDME(210,1)=0 !Higgs decay into dd", - "MDME(211,1)=0 !Higgs decay into uu", - "MDME(212,1)=0 !Higgs decay into ss", - "MDME(213,1)=0 !Higgs decay into cc", - "MDME(214,1)=0 !Higgs decay into bb", - "MDME(215,1)=0 !Higgs decay into tt", - "MDME(216,1)=0 !Higgs decay into", - "MDME(217,1)=0 !Higgs decay into Higgs decay", - "MDME(218,1)=0 !Higgs decay into e nu e", - "MDME(219,1)=0 !Higgs decay into mu nu mu", - "MDME(220,1)=0 !Higgs decay into tau nu tau", - "MDME(221,1)=0 !Higgs decay into Higgs decay", - "MDME(222,1)=0 !Higgs decay into g g", - "MDME(223,1)=0 !Higgs decay into gam gam", - "MDME(224,1)=0 !Higgs decay into gam Z", - "MDME(225,1)=1 !Higgs decay into Z Z", - "MDME(226,1)=0 !Higgs decay into W W", - "MSTP(128)=2 !dec.prods out of doc section, point at parents in the main section")) - ) - -process.TestHepMCEvt = EDAnalyzer( "HZZ4muTestAnalyzer", - HistOutFile=untracked.string("TestHZZ4muMass.root") ) - -process.p1 = Path( process.TestHepMCEvt ) - -### Optional actions: - -# a user may apply vertex smearing (IR modeling) -# (the config included below returns label "VtxSmeared") -# -#process.include( "Configuration/StandardSequences/data/VtxSmearedGauss.cff" ) - -# ... and can also include other PhysicsTools (gen.part. analyzer, etc.) -# (the config below returns sequence "pgen") -# -#process.include( "Configuration/StandardSequences/data/Generator.cff" ) - -# a user can dump edm::Event's into separate output file -# -#process.out = OutputModule( "PoolOutputModule", -# fileName = untracked.string( "pythiaH190ZZ4mu.root"), -# outputCommands=untracked.vstring( "keep *" ) -# ) - -#process.p1 = Path( process.VtxSmeared * -# process.pgen * -# process.TestHepMCEvt ) -#process.e = EndPath( process.e ) - - - diff --git a/PhysicsTools/HepMCCandAlgos/test/mccandidates.py b/PhysicsTools/HepMCCandAlgos/test/mccandidates.py deleted file mode 100755 index e3c8e70a38b08..0000000000000 --- a/PhysicsTools/HepMCCandAlgos/test/mccandidates.py +++ /dev/null @@ -1,53 +0,0 @@ -from FWCore.ParameterSet.Config import * - -process = Process("MCCand") - -process.include( "FWCore/MessageLogger/data/MessageLogger.cfi" ) -process.include( "SimGeneral/HepPDTESSource/data/pythiapdt.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticleCandidates.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticles.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventWeight.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventScale.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventPdfInfo.cfi") -# The following is still not clear how should be converted to .py... -# process.include( "PhysicsTools/HepMCCandAlgos/test/h4l.cff") -# include "PhysicsTools/HepMCCandAlgos/test/ttbar.cff" -# include "PhysicsTools/HepMCCandAlgos/test/hpp.cff" -# include "PhysicsTools/HepMCCandAlgos/test/h4l.cff" -# include "PhysicsTools/HepMCCandAlgos/test/herwig.cff" - -process.add_( Service("Timing") ) - -process.add_( Service("RandomNumberGeneratorService", - sourceSeed= untracked.uint32( 123456789 ) ) ) - -process.maxEvents = untracked.PSet( input = untracked.int32(1000) ) - -from PhysicsTools.HepMCCandAlgos.data.h4l_cff import pythiaSource - -process.source = pythiaSource - -process.out = OutputModule( "PoolOutputModule", - fileName = untracked.string( "genevents.root" ), - outputCommands= untracked.vstring( - "drop *", - "keep *_genParticleCandidates_*_*", - "keep *_genParticles_*_*", - "keep *_genEventWeight_*_*", - "keep *_genEventPdfInfo_*_*" - ) -) - -process.printEventNumber = OutputModule( "AsciiOutputModule" ) - -process.p = Path( - process.genParticleCandidates * - process.genParticles * - process.genEventWeight * - process.genEventPdfInfo -) - -process.o = EndPath( - process.out * - process.printEventNumber -) diff --git a/PhysicsTools/HepMCCandAlgos/test/testGenParticles.py b/PhysicsTools/HepMCCandAlgos/test/testGenParticles.py deleted file mode 100755 index d2fbc2bc2cce2..0000000000000 --- a/PhysicsTools/HepMCCandAlgos/test/testGenParticles.py +++ /dev/null @@ -1,44 +0,0 @@ -from FWCore.ParameterSet.Config import * - -process = Process("testGenParticles") - -process.include( "FWCore/MessageLogger/data/MessageLogger.cfi" ) -process.include( "SimGeneral/HepPDTESSource/data/pythiapdt.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticleCandidates.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticles.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventWeight.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventScale.cfi") - -process.add_( Service("RandomNumberGeneratorService", - sourceSeed= untracked.uint32( 123456789 ) ) ) - -process.maxEvents = untracked.PSet( input = untracked.int32(1000) ) - -from PhysicsTools.HepMCCandAlgos.data.h4l_cff import pythiaSource - -process.source = pythiaSource - -process.testGenParticles = EDAnalyzer( "TestGenParticleCandidates", - src = InputTag("genParticleCandidates") -) - -process.out = OutputModule( "PoolOutputModule", - fileName = untracked.string( "genevents.root" ), - outputCommands= untracked.vstring( - "drop *", - "keep *_genParticleCandidates_*_*", - "keep *_genParticles_*_*", - "keep *_genEventWeight_*_*" - ) -) - -process.p = Path( - process.genParticleCandidates * - process.genParticles * - process.genEventWeight * - process.testGenParticles -) - -process.o = EndPath( - process.out -) diff --git a/PhysicsTools/JetMCAlgos/test/tauGenJet_cfg.py b/PhysicsTools/JetMCAlgos/test/tauGenJet_cfg.py deleted file mode 100644 index da5d150027676..0000000000000 --- a/PhysicsTools/JetMCAlgos/test/tauGenJet_cfg.py +++ /dev/null @@ -1,72 +0,0 @@ -# event generation -# analysis of the gen event - -import FWCore.ParameterSet.Config as cms - - -process = cms.Process("GEN") - -process.load("FastSimulation.Configuration.RandomServiceInitialization_cff") -process.load("PhysicsTools.HepMCCandAlgos.genParticles_cfi") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.load("PhysicsTools.JetMCAlgos.TauGenJets_cfi") - -# event generation ------------------------------------------------------ - -# single tau -process.load("Configuration.Generator.PythiaUESettings_cfi") -process.source = cms.Source("PythiaSource", - Phimin = cms.untracked.double(0.0), - # possibility to run single or double back-to-back particles with PYTHIA - # if ParticleID = 0, run PYTHIA - ParticleID = cms.untracked.int32(15), - Etamin = cms.untracked.double(-1.0), - DoubleParticle = cms.untracked.bool(False), - Phimax = cms.untracked.double(360.0), - Ptmin = cms.untracked.double(50.0), - Ptmax = cms.untracked.double(50.0001), - Etamax = cms.untracked.double(1.0), - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - process.pythiaUESettingsBlock, - pythiaTauJets = cms.vstring('MDME(89,1)=0 ! no tau->electron', - 'MDME(90,1)=0 ! no tau->muon'), - # This is a vector of ParameterSet names to be read, in this order - parameterSets = cms.vstring('pythiaUESettings', - 'pythiaTauJets') - ) -) - - -# gen particles printouts ----------------------------------------------- -# all this could go into a cff - -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.particleListDrawer = cms.EDAnalyzer( - "ParticleListDrawer", - printOnlyHardInteraction = cms.untracked.bool(False), - maxEventsToPrint = cms.untracked.int32(-1), - src = cms.InputTag('genParticles') - ) - -# path ----------------------------------------------------------------- - - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(1000) -) - - -process.p1 = cms.Path( - process.genParticles * - process.particleListDrawer * - process.tauGenJets - ) - -process.out = cms.OutputModule("PoolOutputModule", - outputCommands = cms.untracked.vstring('keep *'), - fileName = cms.untracked.string('gen.root') -) -process.outpath = cms.EndPath(process.out) diff --git a/PhysicsTools/RooStatsCms/test/dummyCrab.py b/PhysicsTools/RooStatsCms/test/dummyCrab.py deleted file mode 100644 index e3c8e70a38b08..0000000000000 --- a/PhysicsTools/RooStatsCms/test/dummyCrab.py +++ /dev/null @@ -1,53 +0,0 @@ -from FWCore.ParameterSet.Config import * - -process = Process("MCCand") - -process.include( "FWCore/MessageLogger/data/MessageLogger.cfi" ) -process.include( "SimGeneral/HepPDTESSource/data/pythiapdt.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticleCandidates.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genParticles.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventWeight.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventScale.cfi") -process.include( "PhysicsTools/HepMCCandAlgos/data/genEventPdfInfo.cfi") -# The following is still not clear how should be converted to .py... -# process.include( "PhysicsTools/HepMCCandAlgos/test/h4l.cff") -# include "PhysicsTools/HepMCCandAlgos/test/ttbar.cff" -# include "PhysicsTools/HepMCCandAlgos/test/hpp.cff" -# include "PhysicsTools/HepMCCandAlgos/test/h4l.cff" -# include "PhysicsTools/HepMCCandAlgos/test/herwig.cff" - -process.add_( Service("Timing") ) - -process.add_( Service("RandomNumberGeneratorService", - sourceSeed= untracked.uint32( 123456789 ) ) ) - -process.maxEvents = untracked.PSet( input = untracked.int32(1000) ) - -from PhysicsTools.HepMCCandAlgos.data.h4l_cff import pythiaSource - -process.source = pythiaSource - -process.out = OutputModule( "PoolOutputModule", - fileName = untracked.string( "genevents.root" ), - outputCommands= untracked.vstring( - "drop *", - "keep *_genParticleCandidates_*_*", - "keep *_genParticles_*_*", - "keep *_genEventWeight_*_*", - "keep *_genEventPdfInfo_*_*" - ) -) - -process.printEventNumber = OutputModule( "AsciiOutputModule" ) - -process.p = Path( - process.genParticleCandidates * - process.genParticles * - process.genEventWeight * - process.genEventPdfInfo -) - -process.o = EndPath( - process.out * - process.printEventNumber -) diff --git a/RecoParticleFlow/PFClusterTools/test/CalibratableTest_FastSim.py b/RecoParticleFlow/PFClusterTools/test/CalibratableTest_FastSim.py deleted file mode 100644 index ac2f1f84f86df..0000000000000 --- a/RecoParticleFlow/PFClusterTools/test/CalibratableTest_FastSim.py +++ /dev/null @@ -1,114 +0,0 @@ -# Test script for Calibratable -# Jamie Ballin -# Imperial College London, November 2008 - -# Generates Fast sim dipions, and extracts sim particle info and PFCandidate info - - -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(200) -) -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - caloRecHits = cms.untracked.uint32(754321), - VtxSmeared = cms.untracked.uint32(223458), - muonCSCDigis = cms.untracked.uint32(525432), - muonDTDigis = cms.untracked.uint32(67673876), - famosSimHits = cms.untracked.uint32(235791312), - MuonSimHits = cms.untracked.uint32(834032), - famosPileUp = cms.untracked.uint32(918273), - muonRPCDigis = cms.untracked.uint32(524964), - siTrackerGaussianSmearingRecHits = cms.untracked.uint32(34680) - ), - sourceSeed = cms.untracked.uint32(1234) -) - -#fastsim -process.load("FastSimulation.Configuration.RandomServiceInitialization_cff") -process.load("FastSimulation.Configuration.CommonInputsFake_cff") -process.load("FastSimulation.Configuration.FamosSequences_cff") - -process.famosSimHits.SimulateCalorimetry = True -process.famosSimHits.SimulateTracking = True -process.famosPileUp.PileUpSimulator.averageNumber = 0.0 - -process.famosSimHits.VertexGenerator.BetaStar = 0.00001 -process.famosSimHits.VertexGenerator.SigmaZ = 0.00001 - -# Parametrized magnetic field (new mapping, 4.0 and 3.8T) -process.load("Configuration.StandardSequences.MagneticField_40T_cff") -#process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True - -# process.famosSimHits.MaterialEffects.PairProduction = false -# process.famosSimHits.MaterialEffects.Bremsstrahlung = false -# process.famosSimHits.MaterialEffects.EnergyLoss = false -# process.famosSimHits.MaterialEffects.MultipleScattering = false -process.famosSimHits.MaterialEffects.NuclearInteraction = False - -process.load("RecoParticleFlow.PFProducer.particleFlowSimParticle_cff") - -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(211), - MaxEta = cms.untracked.double(2.5), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(0.0), - MinE = cms.untracked.double(0.0), - DoubleParticle = cms.untracked.bool(True), - MinPhi = cms.untracked.double(-3.14159265359), - MaxE = cms.untracked.double(30.0) - ), - Verbosity = cms.untracked.int32(0), - AddAntiParticle = cms.untracked.bool(True) -) - -process.MessageLogger = cms.Service("MessageLogger", - debugModules = cms.untracked.vstring('*'), - cout = cms.untracked.PSet( - INFO = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - PFBlockProducer = cms.untracked.PSet( - limit = cms.untracked.int32(10000000) - ), - PFClusterProducer = cms.untracked.PSet( - limit = cms.untracked.int32(10000000) - ), - DEBUG = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - PFProducer = cms.untracked.PSet( - limit = cms.untracked.int32(10000000) - ), - threshold = cms.untracked.string('INFO') - ), - categories = cms.untracked.vstring('PFClusterProducer', - 'PFBlockProducer', - 'PFProducer'), - destinations = cms.untracked.vstring('cout') -) - -process.dump = cms.EDAnalyzer("EventContentAnalyzer") - -process.extraction = cms.EDAnalyzer("CalibratableTest", - #Increase this above zero for increasing amounts of debug output - debug = cms.int32(3), - deltaRCandToSim = cms.double(0.4), - PFCandidates = cms.InputTag("particleFlow"), - PFSimParticles = cms.InputTag("particleFlowSimParticle"), - PFClustersEcal = cms.InputTag("particleFlowClusterECAL"), - PFClustersHcal = cms.InputTag("particleFlowClusterHCAL") -) - -process.TFileService = cms.Service("TFileService", - fileName = cms.string('CalibratableTest_tree.root') -) - -process.p1 = cms.Path(process.famosWithElectrons+process.famosWithCaloTowersAndParticleFlow+process.caloJetMetGen*process.particleFlowSimParticle*process.extraction) - - - diff --git a/RecoRomanPot/RecoFP420/test/data/runEDDigiCluTrack_cfg.py b/RecoRomanPot/RecoFP420/test/data/runEDDigiCluTrack_cfg.py deleted file mode 100644 index 96151c204028f..0000000000000 --- a/RecoRomanPot/RecoFP420/test/data/runEDDigiCluTrack_cfg.py +++ /dev/null @@ -1,73 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("DigFP420Test") -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("SimGeneral.HepPDTESSource.pdt_cfi") - -process.load("Configuration.StandardSequences.VtxSmearedFlat_cff") - -process.load("Geometry.FP420CommonData.FP420GeometryXML_cfi") - -process.load("SimGeneral.MixingModule.mixNoPU_cfi") - -process.load("SimRomanPot.SimFP420.FP420Digi_cfi") - -process.load("RecoRomanPot.RecoFP420.FP420Cluster_cfi") - -process.load("RecoRomanPot.RecoFP420.FP420Track_cfi") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(11), - mix = cms.untracked.uint32(12345), - VtxSmeared = cms.untracked.uint32(98765432) - ), - sourceSeed = cms.untracked.uint32(123456789) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(2212), - MaxEta = cms.untracked.double(9.9), - MaxPhi = cms.untracked.double(3.227), - MinEta = cms.untracked.double(8.7), - MinE = cms.untracked.double(6930.0), - MinPhi = cms.untracked.double(3.053), - MaxE = cms.untracked.double(7000.0) - ), - Verbosity = cms.untracked.int32(0) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('testDICLTRevent.root') -) - -process.Timing = cms.Service("Timing") - -process.Tracer = cms.Service("Tracer") - -process.p1 = cms.Path(process.VtxSmeared*process.g4SimHits*process.mix*process.FP420Digi*process.FP420Cluster*process.FP420Track) -process.outpath = cms.EndPath(process.o1) -process.schedule = cms.Schedule(process.p1,process.outpath) - -process.MessageLogger.cerr.default.limit = 10 -process.FlatVtxSmearingParameters.MinX = -0.5 -process.FlatVtxSmearingParameters.MaxX = -2.5 -process.FlatVtxSmearingParameters.MinY = 0.0 -process.FlatVtxSmearingParameters.MaxY = 0.0 -process.FlatVtxSmearingParameters.MinZ = 41800. -process.FlatVtxSmearingParameters.MaxZ = 41800. -process.FP420Digi.ApplyTofCut = False -process.FP420Cluster.VerbosityLevel = 1 -#rocess.FP420Track.VerbosityLevel = 1 -process.g4SimHits.UseMagneticField = False -process.g4SimHits.Generator.ApplyPhiCuts = True -process.g4SimHits.Generator.ApplyEtaCuts = False -process.g4SimHits.NonBeamEvent = True - diff --git a/RecoRomanPot/RecoFP420/test/data/runEDDigiCluster_cfg.py b/RecoRomanPot/RecoFP420/test/data/runEDDigiCluster_cfg.py deleted file mode 100644 index 10197651ec7b9..0000000000000 --- a/RecoRomanPot/RecoFP420/test/data/runEDDigiCluster_cfg.py +++ /dev/null @@ -1,69 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("DigFP420Test") -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("SimGeneral.HepPDTESSource.pdt_cfi") - -process.load("Configuration.StandardSequences.VtxSmearedFlat_cff") - -process.load("Geometry.FP420CommonData.FP420GeometryXML_cfi") - -process.load("SimGeneral.MixingModule.mixNoPU_cfi") - -process.load("SimRomanPot.SimFP420.FP420Digi_cfi") - -process.load("RecoRomanPot.RecoFP420.FP420Cluster_cfi") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(11), - mix = cms.untracked.uint32(12345), - VtxSmeared = cms.untracked.uint32(98765432) - ), - sourceSeed = cms.untracked.uint32(123456789) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(2212), - MaxEta = cms.untracked.double(9.9), - MaxPhi = cms.untracked.double(3.227), - MinEta = cms.untracked.double(8.7), - MinE = cms.untracked.double(7000.0), - MinPhi = cms.untracked.double(3.053), - MaxE = cms.untracked.double(7000.0) - ), - Verbosity = cms.untracked.int32(0) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('testDICLeventt.root') -) - -process.Timing = cms.Service("Timing") - -process.Tracer = cms.Service("Tracer") - -process.p1 = cms.Path(process.VtxSmeared*process.g4SimHits*process.mix*process.FP420Digi*process.FP420Cluster) -process.outpath = cms.EndPath(process.o1) -process.schedule = cms.Schedule(process.p1,process.outpath) - -process.MessageLogger.cerr.default.limit = 10 -process.FlatVtxSmearingParameters.MinX = -1.5 -process.FlatVtxSmearingParameters.MaxX = -1.5 -process.FlatVtxSmearingParameters.MinY = 0.0 -process.FlatVtxSmearingParameters.MaxY = 0.0 -process.FlatVtxSmearingParameters.MinZ = 41000. -process.FlatVtxSmearingParameters.MaxZ = 41000. -process.g4SimHits.UseMagneticField = False -process.g4SimHits.Generator.ApplyPhiCuts = True -process.g4SimHits.Generator.ApplyEtaCuts = False -process.g4SimHits.NonBeamEvent = True -process.FP420Cluster.VerbosityLevel = -50 -process.FP420Digi.ApplyTofCut = False diff --git a/RecoRomanPot/RecoFP420/test/data/runEDDigi_cfg.py b/RecoRomanPot/RecoFP420/test/data/runEDDigi_cfg.py deleted file mode 100644 index 6eaee3c9bda21..0000000000000 --- a/RecoRomanPot/RecoFP420/test/data/runEDDigi_cfg.py +++ /dev/null @@ -1,73 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("DigFP420Test") -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff") - -process.load("SimGeneral.HepPDTESSource.pdt_cfi") - -process.load("Configuration.StandardSequences.VtxSmearedFlat_cff") - -process.load("Geometry.FP420CommonData.FP420GeometryXML_cfi") - -process.load("SimGeneral.MixingModule.mixNoPU_cfi") - -process.load("SimRomanPot.SimFP420.FP420Digi_cfi") - -process.load("Configuration.EventContent.EventContent_cff") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -#process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", -# moduleSeeds = cms.PSet( -# g4SimHits = cms.untracked.uint32(11), -# mix = cms.untracked.uint32(12345), -# VtxSmeared = cms.untracked.uint32(98765432) -# ), -# sourceSeed = cms.untracked.uint32(123456789) -#) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(2212), - MaxEta = cms.untracked.double(9.9), - MaxPhi = cms.untracked.double(3.14), - MinEta = cms.untracked.double(8.7), - MinE = cms.untracked.double(6930.0), - MinPhi = cms.untracked.double(-3.14), - MaxE = cms.untracked.double(7000.0) - ), - Verbosity = cms.untracked.int32(0) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('testDIevent.root') -) - -process.Timing = cms.Service("Timing") - -process.Tracer = cms.Service("Tracer") - -process.p1 = cms.Path(process.VtxSmeared*process.g4SimHits*process.mix*process.FP420Digi) -process.outpath = cms.EndPath(process.o1) -process.schedule = cms.Schedule(process.p1,process.outpath) - -process.MessageLogger.cerr.default.limit = 10 -process.FlatVtxSmearingParameters.MinX = -2.5 -process.FlatVtxSmearingParameters.MaxX = -0.5 -process.FlatVtxSmearingParameters.MinY = 0.0 -process.FlatVtxSmearingParameters.MaxY = 0.0 -process.FlatVtxSmearingParameters.MinZ = 41000. -process.FlatVtxSmearingParameters.MaxZ = 41000. -process.g4SimHits.UseMagneticField = False -process.g4SimHits.Generator.ApplyPhiCuts = False -process.g4SimHits.Generator.ApplyEtaCuts = False -process.g4SimHits.NonBeamEvent = True -process.FP420Digi.ApplyTofCut = False -process.FP420Digi.VerbosityLevel = -50 -#process.FP420Cluster.VerbosityLevel = 1 - diff --git a/RecoTauTag/TauTagTools/python/DiTaus_cfi.py b/RecoTauTag/TauTagTools/python/DiTaus_cfi.py deleted file mode 100644 index 3b54b6fdca441..0000000000000 --- a/RecoTauTag/TauTagTools/python/DiTaus_cfi.py +++ /dev/null @@ -1,25 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -# Back to back hadronic taus -source = cms.Source("PythiaSource", - Phimin = cms.untracked.double(0.0), - maxEventsToPrint = cms.untracked.int32(5), - pythiaPylistVerbosity = cms.untracked.int32(1), - # possibility to run single or double back-to-back particles with PYTHIA - # if ParticleID = 0, run PYTHIA - ParticleID = cms.untracked.int32(15), - pythiaHepMCVerbosity = cms.untracked.bool(True), - Etamin = cms.untracked.double(0.0), - DoubleParticle = cms.untracked.bool(True), - Phimax = cms.untracked.double(360.0), - Ptmin = cms.untracked.double(15.0), - Ptmax = cms.untracked.double(60.0), - Etamax = cms.untracked.double(2.5), - PythiaParameters = cms.PSet( -# process.pythiaUESettingsBlock, - tauHadronicalOnly = cms.vstring('MDME( 89, 1) = 0 !no tau decay into electron', 'MDME( 90,1) = 0 !no tau decay into muon'), - # This is a vector of ParameterSet names to be read, in this order - parameterSets = cms.vstring('tauHadronicalOnly') - ) -) - diff --git a/RecoTauTag/TauTagTools/python/ZtoTauHadronic_cfi.py b/RecoTauTag/TauTagTools/python/ZtoTauHadronic_cfi.py deleted file mode 100644 index c4d9294506ea0..0000000000000 --- a/RecoTauTag/TauTagTools/python/ZtoTauHadronic_cfi.py +++ /dev/null @@ -1,36 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -""" -######## Generate Z->tautau decays ########### -Require both taus to decay hadronically -""" - -source = cms.Source("PythiaSource", - PythiaParameters = cms.PSet( - # - # Default cards for minimum bias events (unfiltered) - # Name of the set is "pythiaMinBias" - #include "IOMC/GeneratorInterface/test/pythiaMinBias.cfg" - # - # User cards - name is "myParameters" - # Pythia's random generator initialization - zToTauTauHadronicOnly = cms.vstring('MSEL = 11 ', - 'MDME( 174,1) = 0 !Z decay into d dbar', - 'MDME( 175,1) = 0 !Z decay into u ubar', - 'MDME( 176,1) = 0 !Z decay into s sbar', - 'MDME( 177,1) = 0 !Z decay into c cbar', - 'MDME( 178,1) = 0 !Z decay into b bbar', - 'MDME( 179,1) = 0 !Z decay into t tbar', - 'MDME( 182,1) = 0 !Z decay into e- e+', - 'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar', - 'MDME( 184,1) = 0 !Z decay into mu- mu+', - 'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar', - 'MDME( 186,1) = 1 !Z decay into tau- tau+', - 'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar', - 'MDME( 89, 1) = 0 !no tau decay into electron', - 'MDME( 90, 1) = 0 !no tau decay into muon', - 'CKIN( 1) = 40. !(D=2. GeV)', - 'CKIN( 2) = -1. !(D=-1. GeV)'), - parameterSets = cms.vstring('zToTauTauHadronicOnly') - ) -) diff --git a/RecoTauTag/TauTagTools/test/testPFTauSelector_fastSim_cfg.py b/RecoTauTag/TauTagTools/test/testPFTauSelector_fastSim_cfg.py deleted file mode 100644 index 6b19f2b4ddb1c..0000000000000 --- a/RecoTauTag/TauTagTools/test/testPFTauSelector_fastSim_cfg.py +++ /dev/null @@ -1,92 +0,0 @@ -import FWCore.ParameterSet.Config as cms - - -process = cms.Process("PROD") - - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(1000) -) - -#generation -# process.load("RecoParticleFlow.Configuration.source_singleTau_cfi") -# process.load("FastSimulation.Configuration.SimpleJet_cfi") - -from Configuration.Generator.PythiaUESettings_cfi import * -process.source = cms.Source( - "PythiaSource", - pythiaVerbosity = cms.untracked.bool(False), - # possibility to run single or double back-to-back particles with PYTHIA - # if ParticleID = 0, run PYTHIA - ParticleID = cms.untracked.int32(1), - DoubleParticle = cms.untracked.bool(True), - Ptmin = cms.untracked.double(20.0), - Ptmax = cms.untracked.double(700.0), -# Emin = cms.untracked.double(10.0), -# Emax = cms.untracked.double(10.0), - Etamin = cms.untracked.double(0.0), - Etamax = cms.untracked.double(1.0), - Phimin = cms.untracked.double(0.0), - Phimax = cms.untracked.double(360.0), - PythiaParameters = cms.PSet( - pythiaUESettingsBlock, - # Tau jets only - pythiaJets = cms.vstring(), - # This is a vector of ParameterSet names to be read, in this order - parameterSets = cms.vstring( - 'pythiaUESettings', - 'pythiaJets' - ) - - ) - -) - -#fastsim -process.load("FastSimulation.Configuration.RandomServiceInitialization_cff") -process.load("FastSimulation.Configuration.CommonInputsFake_cff") -process.load("FastSimulation.Configuration.FamosSequences_cff") - -process.famosSimHits.SimulateCalorimetry = True -process.famosSimHits.SimulateTracking = True -process.famosPileUp.PileUpSimulator.averageNumber = 0.0 - -process.famosSimHits.VertexGenerator.BetaStar = 0.00001 -process.famosSimHits.VertexGenerator.SigmaZ = 0.00001 - -# Parametrized magnetic field (new mapping, 4.0 and 3.8T) -process.load("Configuration.StandardSequences.MagneticField_40T_cff") -#process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True - -# process.famosSimHits.MaterialEffects.PairProduction = false -# process.famosSimHits.MaterialEffects.Bremsstrahlung = false -# process.famosSimHits.MaterialEffects.EnergyLoss = false -# process.famosSimHits.MaterialEffects.MultipleScattering = false -# process.famosSimHits.MaterialEffects.NuclearInteraction = false - -#process.load("RecoParticleFlow.PFBlockProducer.particleFlowSimParticle_cff") - -process.pfTaus = cms.EDFilter("PFTauSelector", - src = cms.InputTag("pfRecoTauProducer"), - discriminator = cms.InputTag("pfRecoTauDiscriminationByIsolation") -) - -process.p1 = cms.Path( - process.famosWithEverything * - process.caloJetMetGen + - process.pfTaus - ) - - -process.load("FastSimulation.Configuration.EventContent_cff") -process.aod = cms.OutputModule("PoolOutputModule", - process.AODSIMEventContent, - fileName = cms.untracked.string('aod.root') -) -process.aod.outputCommands.append('keep edmHepMCProduct_*_*_*') -process.aod.outputCommands.append('keep recoPFTaus_*_*_*') - -process.outpath = cms.EndPath(process.aod) - -# diff --git a/SLHCUpgradeSimulations/Geometry/test/FamosProducer_Phase1_cfg.py b/SLHCUpgradeSimulations/Geometry/test/FamosProducer_Phase1_cfg.py index 22c2554ad6ef6..3a89c57260a67 100644 --- a/SLHCUpgradeSimulations/Geometry/test/FamosProducer_Phase1_cfg.py +++ b/SLHCUpgradeSimulations/Geometry/test/FamosProducer_Phase1_cfg.py @@ -19,7 +19,6 @@ process.load("FastSimulation/Configuration/FlatPtMuonGun_cfi") process.generator.PGunParameters.PartID[0] = 13 ## for 4 muons to test with vertex -#process.FlatRandomPtGunSource.PGunParameters.PartID = cms.untracked.vint32(13,-13,13,-13) ## for opposite sign back-to-back dimuon pairs process.generator.PGunParameters.MinPt = 0.9 process.generator.PGunParameters.MaxPt = 50.0 diff --git a/SLHCUpgradeSimulations/Geometry/test/print_geominfo_cfg.py b/SLHCUpgradeSimulations/Geometry/test/print_geominfo_cfg.py index 45da4919bdda7..cd183fdeacac2 100644 --- a/SLHCUpgradeSimulations/Geometry/test/print_geominfo_cfg.py +++ b/SLHCUpgradeSimulations/Geometry/test/print_geominfo_cfg.py @@ -44,7 +44,6 @@ process.load("FastSimulation/Configuration/FlatPtMuonGun_cfi") process.generator.PGunParameters.PartID[0] = 13 -# replace FlatRandomPtGunSource.PGunParameters.PartID={13} process.generator.PGunParameters.MinPt = 0.9 process.generator.PGunParameters.MaxPt = 50.0 process.generator.PGunParameters.MinEta = -2.4 diff --git a/SimCalorimetry/EcalSimProducers/test/ESDigisReferenceDistrib_cfg.py b/SimCalorimetry/EcalSimProducers/test/ESDigisReferenceDistrib_cfg.py deleted file mode 100644 index b16db9b8f98fa..0000000000000 --- a/SimCalorimetry/EcalSimProducers/test/ESDigisReferenceDistrib_cfg.py +++ /dev/null @@ -1,78 +0,0 @@ -# The following comments couldn't be translated into the new config version: - -# DQM services -# service = DaqMonitorROOTBackEnd{ } - -import FWCore.ParameterSet.Config as cms - -process = cms.Process("ESRefDistrib") -# initialize MessageLogger -process.load("FWCore.MessageLogger.MessageLogger_cfi") - -# initialize magnetic field -process.load("Configuration.StandardSequences.MagneticField_cff") - -# geometry (Only Ecal) -process.load("Geometry.EcalCommonData.EcalOnly_cfi") - -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -# run simulation, with EcalHits Validation specific watcher -process.load("SimG4Core.Application.g4SimHits_cfi") - -# Mixing Module -process.load("SimGeneral.MixingModule.mixNoPU_cfi") - -# Reconstruction geometry service -process.load("Geometry.CaloEventSetup.CaloGeometry_cff") - -# use trivial ESProducer for tests -process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi") - -# ECAL 'slow' digitization sequence -process.load("SimCalorimetry.Configuration.ecalDigiSequenceComplete_cff") - -# Producing the histos -process.load("SimCalorimetry.EcalSimProducers.ESDigisReferenceDistrib_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10000) -) -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - ecalUnsuppressedDigis = cms.untracked.uint32(12345) - ), - sourceSeed = cms.untracked.uint32(98765) -) - -process.randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer") - -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - # you can request more than 1 particle - PartID = cms.untracked.vint32(14), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinE = cms.untracked.double(9.99), - MinPhi = cms.untracked.double(-3.14159265359), ## in radians - - MaxE = cms.untracked.double(10.01) - ), - Verbosity = cms.untracked.int32(0) -) - -process.USER = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('./pedestal.root') -) - -process.Timing = cms.Service("Timing") - -process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck") - -process.digis = cms.Sequence(process.ecalDigiSequenceComplete*process.randomEngineStateProducer*process.ESDigisReferenceDistrib) -process.p1 = cms.Path(process.g4SimHits*process.mix*process.digis) -process.outpath = cms.EndPath(process.USER) -process.g4SimHits.Generator.HepMCProductLabel = 'source' - diff --git a/SimG4CMS/CherenkovAnalysis/test/plot.C b/SimG4CMS/CherenkovAnalysis/test/plot.C index e7698bd62ceb2..1eaaa8fe3e579 100644 --- a/SimG4CMS/CherenkovAnalysis/test/plot.C +++ b/SimG4CMS/CherenkovAnalysis/test/plot.C @@ -51,8 +51,8 @@ int getAngleParams( double angle ) std::cout << " replace VtxSmeared.MeanX = " << meanX << std::endl; cout.precision(16); - std::cout << " replace FlatRandomEGunSource.PGunParameters.MinPhi = " << phi << std::endl; - std::cout << " replace FlatRandomEGunSource.PGunParameters.MaxPhi = " << phi << std::endl; + std::cout << " replace FlatRandomEGunProducer.PGunParameters.MinPhi = " << phi << std::endl; + std::cout << " replace FlatRandomEGunProducer.PGunParameters.MaxPhi = " << phi << std::endl; return 0; diff --git a/SimG4CMS/ShowerLibraryProducer/test/python/runHFShowerTest_cfg.py b/SimG4CMS/ShowerLibraryProducer/test/python/runHFShowerTest_cfg.py deleted file mode 100644 index 3493bfd21fb92..0000000000000 --- a/SimG4CMS/ShowerLibraryProducer/test/python/runHFShowerTest_cfg.py +++ /dev/null @@ -1,106 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("HFShowerLib") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi") - -process.load("Geometry.HcalCommonData.hcalforwardshower_cfi") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - destinations = cms.untracked.vstring('cout'), - categories = cms.untracked.vstring('FiberSim', - 'G4cout', 'G4cerr','FlatThetaGun', - 'HFShower', 'HcalForwardLib'), - debugModules = cms.untracked.vstring('*'), - cout = cms.untracked.PSet( - threshold = cms.untracked.string('DEBUG'), - INFO = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - DEBUG = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - G4cerr = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - G4cout = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - FlatThetaGun = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - HFShower = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - FiberSim = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - HcalForwardLib = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ) -) - -process.load("Configuration.StandardSequences.Services_cff") -process.load("Configuration.StandardSequences.MagneticField_cff") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(123456789) - ), - sourceSeed = cms.untracked.uint32(135799753) -) - -process.Timing = cms.Service("Timing") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2) -) - -process.source = cms.Source("FlatRandomEThetaGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(11), - #MinTheta = cms.untracked.double(-1.145762838), - #MaxTheta = cms.untracked.double(1.145762838), - MinTheta = cms.untracked.double(-0.019997), - MaxTheta = cms.untracked.double(0.019997), - MinPhi = cms.untracked.double(-3.1415926), - MaxPhi = cms.untracked.double(3.1415926), - MinE = cms.untracked.double(100.0), - MaxE = cms.untracked.double(100.0) - ), - Verbosity = cms.untracked.int32(2), - AddAntiParticle = cms.untracked.bool(False), - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('simevent.root') -) - -process.TFileService = cms.Service("TFileService", - fileName = cms.string('ThfShowerLibSimu_10GeVElec.root') -) - -process.p1 = cms.Path(cms.SequencePlaceholder("randomEngineStateProducer")+process.VtxSmeared*process.g4SimHits) -process.outpath = cms.EndPath(process.o1) -process.g4SimHits.NonBeamEvent = True -process.g4SimHits.Generator.ApplyPCuts = False -process.g4SimHits.Generator.ApplyEtaCuts = False -process.g4SimHits.Physics.type = 'SimG4Core/Physics/LHEP_EMV' -process.g4SimHits.Physics.DefaultCutValue = 0.1 -process.g4SimHits.G4Commands = ['/tracking/verbose 1'] -process.g4SimHits.Watchers = cms.VPSet(cms.PSet( - HFShowerLibraryProducer = cms.PSet( - Names = cms.vstring('FibreHits', - 'ChamberHits', - 'WedgeHits') - ), - type = cms.string('HcalForwardAnalysis') -)) - - diff --git a/SimG4CMS/ShowerLibraryProducer/test/python/runHFShower_cfg.py b/SimG4CMS/ShowerLibraryProducer/test/python/runHFShower_cfg.py deleted file mode 100644 index bc57d0d1124bf..0000000000000 --- a/SimG4CMS/ShowerLibraryProducer/test/python/runHFShower_cfg.py +++ /dev/null @@ -1,92 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("HFShowerLib") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi") - -process.load("Geometry.HcalCommonData.hcalforwardshower_cfi") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - destinations = cms.untracked.vstring('cout'), - categories = cms.untracked.vstring('FiberSim', - 'HFShower', 'HcalForwardLib'), - cout = cms.untracked.PSet( - threshold = cms.untracked.string('INFO'), - INFO = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - DEBUG = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - HFShower = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - FiberSim = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - HcalForwardLib = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ) -) - -process.load("Configuration.StandardSequences.Services_cff") -process.load("Configuration.StandardSequences.MagneticField_cff") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(123456789) - ), - sourceSeed = cms.untracked.uint32(135799753) -) - -process.Timing = cms.Service("Timing") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) - -process.source = cms.Source("FlatRandomEThetaGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(11), - MinTheta = cms.untracked.double(0.0), - MaxTheta = cms.untracked.double(0.0), - MinPhi = cms.untracked.double(-3.1415926), - MaxPhi = cms.untracked.double(3.1415926), - MinE = cms.untracked.double(100.0), - MaxE = cms.untracked.double(100.0) - ), - Verbosity = cms.untracked.int32(0), - AddAntiParticle = cms.untracked.bool(False), - firstRun = cms.untracked.uint32(1) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('simevent.root') -) - -process.TFileService = cms.Service("TFileService", - fileName = cms.string('ThfShowerLibSimu_100GeVElec.root') -) - -process.p1 = cms.Path(cms.SequencePlaceholder("randomEngineStateProducer")+process.VtxSmeared*process.g4SimHits) -process.outpath = cms.EndPath(process.o1) -process.g4SimHits.NonBeamEvent = True -process.g4SimHits.Generator.ApplyPCuts = False -process.g4SimHits.Generator.ApplyEtaCuts = False -process.g4SimHits.Physics.type = 'SimG4Core/Physics/QGSP' -process.g4SimHits.Physics.DefaultCutValue = 0.1 -process.g4SimHits.Watchers = cms.VPSet(cms.PSet( - HFShowerLibraryProducer = cms.PSet( - Names = cms.vstring('FibreHits', - 'ChamberHits', - 'WedgeHits') - ), - type = cms.string('HcalForwardAnalysis') -)) - - diff --git a/SimG4CMS/Tracker/test/SimHitTrackerAnalyzer.cc b/SimG4CMS/Tracker/test/SimHitTrackerAnalyzer.cc index 268b91a8a0fa7..aa3cd6fd7b153 100644 --- a/SimG4CMS/Tracker/test/SimHitTrackerAnalyzer.cc +++ b/SimG4CMS/Tracker/test/SimHitTrackerAnalyzer.cc @@ -74,7 +74,7 @@ class SimHitTrackerAnalyzer : public edm::EDAnalyzer { // constructors and destructor // SimHitTrackerAnalyzer::SimHitTrackerAnalyzer( const edm::ParameterSet& iConfig ): - HepMCLabel(iConfig.getUntrackedParameter("moduleLabelMC",std::string("FlatRandomPtGunSource"))), + HepMCLabel(iConfig.getUntrackedParameter("moduleLabelMC",std::string("FlatRandomPtGunProducer"))), SimTkLabel(iConfig.getUntrackedParameter("moduleLabelTk",std::string("g4SimHits"))), SimVtxLabel(iConfig.getUntrackedParameter("moduleLabelVtx",std::string("g4SimHits"))), SimHitLabel(iConfig.getUntrackedParameter("moduleLabelHit",std::string("g4SimHits"))) diff --git a/SimG4Core/CustomPhysics/python/pythiaGMSB_cfi.py b/SimG4Core/CustomPhysics/python/pythiaGMSB_cfi.py deleted file mode 100644 index c24060997e005..0000000000000 --- a/SimG4Core/CustomPhysics/python/pythiaGMSB_cfi.py +++ /dev/null @@ -1,37 +0,0 @@ -# The following comments couldn't be translated into the new config version: - -# "MSTP(61)=0", # no ISR -# "MSTP(71)=0", # no FSR -# "MSTP(81)=0", # no MPI -# "MSTP(111)=0", # no hadronisation - -# decay all unstable particles, regadless of their ctau -import FWCore.ParameterSet.Config as cms - -from Configuration.Generator.PythiaUESettings_cfi import * -source = cms.Source("PythiaSource", - pythiaPylistVerbosity = cms.untracked.int32(0), - maxEvents = cms.untracked.int32(0), - pythiaHepMCVerbosity = cms.untracked.bool(False), - comEnergy = cms.untracked.double(14000.0), - maxEventsToPrint = cms.untracked.int32(0), - PythiaParameters = cms.PSet( - pythiaUESettingsBlock, - processParameters = cms.vstring('MSEL=39 ! All SUSY processes ', - 'IMSS(1) = 11 ! Spectrum from external SLHA file', - 'IMSS(21) = 33 ! LUN number for SLHA File (must be 33) ', - 'IMSS(22) = 33', - 'IMSS(11) = 1 ! gravitino as LSP ', - 'RMSS(21) = 4000000 ! gravitino mass in eV'), - # This is a vector of ParameterSet names to be read, in this order - parameterSets = cms.vstring('pythiaUESettings', - 'pythia', - 'processParameters', - 'SLHAParameters'), - pythia = cms.vstring('MSTP(128) = 2', - 'MSTJ(22) = 1'), - SLHAParameters = cms.vstring('SLHAFILE = "isa-slha.out" ') - ) -) - - diff --git a/SimG4Core/GFlash/TB/run_Gflash_TBH2_setup_cfg.py b/SimG4Core/GFlash/TB/run_Gflash_TBH2_setup_cfg.py deleted file mode 100644 index b65baf0bc41f2..0000000000000 --- a/SimG4Core/GFlash/TB/run_Gflash_TBH2_setup_cfg.py +++ /dev/null @@ -1,66 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(200) -) - -process.load("SimGeneral.HepPDTESSource.pdt_cfi") -process.load("IOMC.EventVertexGenerators.VtxSmearedBeamProfile_cfi") -process.load("SimG4Core.GFlash.TB2006GeometryXML_cfi") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(123456789) - ), - sourceSeed = cms.untracked.uint32(135799753) -) - -process.common_beam_direction_parameters = cms.PSet( - MaxEta = cms.untracked.double(0.2175), - MaxPhi = cms.untracked.double(-0.1309), - MinEta = cms.untracked.double(0.2175), - MinPhi = cms.untracked.double(-0.1309), - BeamPosition = cms.untracked.double(-800.0) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - process.common_beam_direction_parameters, - MaxE = cms.untracked.double(20.0001), - MinE = cms.untracked.double(20.0), - PartID = cms.untracked.vint32(-211) - ), - Verbosity = cms.untracked.int32(0), - firstEvent = cms.untracked.uint32(1), - firstRun = cms.untracked.uint32(1) -) - -process.load("SimG4Core.Application.g4SimHits_cfi") -process.g4SimHits.UseMagneticField = False -process.g4SimHits.Physics.type = 'SimG4Core/Physics/GFlash' -process.g4SimHits.Physics.GFlash = cms.PSet( - GflashHadronPhysics = cms.string('QGSP_BERT'), - GflashEMShowerModel = cms.bool(True), - GflashHadronShowerModel = cms.bool(True), - GflashHistogram = cms.bool(True), - GflashHistogramName = cms.string('gflash_histogram_h2.root'), - bField = cms.double(0.0), - tuning_pList = cms.vdouble() -) -process.g4SimHits.CaloSD.BeamPosition = cms.untracked.double(-800) -process.g4SimHits.HCalSD.ForTBH2 = cms.untracked.bool(True) -process.g4SimHits.HCalSD.UseHF = cms.untracked.bool(False) -process.g4SimHits.HCalSD.UseShowerLibrary = cms.bool(False) -process.g4SimHits.CaloTrkProcessing.TestBeam = True - -process.Timing = cms.Service("Timing") - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('gflash_tbH2.root') -) - -process.p1 = cms.Path(process.VtxSmeared*process.g4SimHits) -process.outpath = cms.EndPath(process.o1) - diff --git a/SimG4Core/GFlash/TB/run_Gflash_TBH4_setup_cfg.py b/SimG4Core/GFlash/TB/run_Gflash_TBH4_setup_cfg.py deleted file mode 100644 index f387d8064b319..0000000000000 --- a/SimG4Core/GFlash/TB/run_Gflash_TBH4_setup_cfg.py +++ /dev/null @@ -1,99 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("Sim") -process.load("FWCore.MessageLogger.MessageLogger_cfi") - -process.load("SimG4Core.GFlash.TB.h4TB2006GeometryXML_cfi") - -process.load("Configuration.EcalTB.simulation_tbsim_cff") - -process.load("Configuration.EcalTB.digitization_tbsim_cff") - -process.load("Configuration.EcalTB.localReco_tbsim_cff") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10) -) -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - SimEcalTBG4Object = cms.untracked.uint32(5432), - ecalUnsuppressedDigis = cms.untracked.uint32(54321), - VtxSmeared = cms.untracked.uint32(12345) - ), - sourceSeed = cms.untracked.uint32(98765) -) - -process.common_beam_direction_parameters = cms.PSet( - BeamMeanY = cms.untracked.double(0.0), - BeamMeanX = cms.untracked.double(0.0), - MaxEta = cms.untracked.double(0.221525), - MaxPhi = cms.untracked.double(0.0467617), - MinEta = cms.untracked.double(0.221525), - BeamPosition = cms.untracked.double(-26733.5), - MinPhi = cms.untracked.double(0.0467617) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - process.common_beam_direction_parameters, - MaxE = cms.untracked.double(20.0), - MinE = cms.untracked.double(20.0), - PartID = cms.untracked.vint32(11) - ), - Verbosity = cms.untracked.int32(0) -) - -process.VtxSmeared = cms.EDProducer("BeamProfileVtxGenerator", - process.common_beam_direction_parameters, - BeamSigmaX = cms.untracked.double(2.4), - BeamSigmaY = cms.untracked.double(2.4), - GaussianProfile = cms.untracked.bool(False) -) - -process.treeProducerCalibSimul = cms.EDAnalyzer("TreeProducerCalibSimul", - rootfile = cms.untracked.string('treeTB_gf.root'), - eventHeaderCollection = cms.string(''), - eventHeaderProducer = cms.string('SimEcalEventHeader'), - txtfile = cms.untracked.string('treeTB_gf.txt'), - EBRecHitCollection = cms.string('EcalRecHitsEB'), - tdcRecInfoCollection = cms.string('EcalTBTDCRecInfo'), - xtalInBeam = cms.untracked.int32(248), - hodoRecInfoProducer = cms.string('ecalTBSimHodoscopeReconstructor'), - hodoRecInfoCollection = cms.string('EcalTBHodoscopeRecInfo'), - RecHitProducer = cms.string('ecalTBSimRecHit'), - tdcRecInfoProducer = cms.string('ecalTBSimTDCReconstructor') -) - -process.o1 = cms.OutputModule("PoolOutputModule", - outputCommands = cms.untracked.vstring('keep *', - 'drop PSimHits_g4SimHits_*_Sim', - 'keep PCaloHits_g4SimHits_EcalHitsEB_Sim', - 'keep PCaloHits_g4SimHits_CaloHitsTk_Sim', - 'keep PCaloHits_g4SimHits_EcalTBH4BeamHits_Sim'), - fileName = cms.untracked.string('recoTB_gf.root') -) - -process.doSimHits = cms.Sequence(process.VtxSmeared*process.g4SimHits) -process.doSimTB = cms.Sequence(process.SimEcalTBG4Object*process.SimEcalTBHodoscope*process.SimEcalEventHeader) -process.doEcalDigis = cms.Sequence(process.mix*process.ecalUnsuppressedDigis) -process.p1 = cms.Path(process.doSimHits*process.doSimTB*process.doEcalDigis*process.localReco_tbsim*process.treeProducerCalibSimul) -process.outpath = cms.EndPath(process.o1) -process.g4SimHits.Watchers = cms.VPSet(cms.PSet( - type = cms.string('EcalTBH4Trigger'), - verbose = cms.untracked.bool(False), - trigEvents = cms.untracked.int32(100000) -)) -process.g4SimHits.Physics.type = 'SimG4Core/Physics/GFlash' -process.g4SimHits.Physics.GFlash = cms.PSet( - bField = cms.double(0.0), - GflashEMShowerModel = cms.bool(True), - GflashHadronShowerModel = cms.bool(True), - GflashHistogram = cms.bool(True), - GflashHistogramName = cms.string('gflash_histogram_h4.root'), - GflashHadronPhysics = cms.string('QGSP_BERT'), - tuning_pList = cms.vdouble() -) -process.ecal_notCont_sim.EBs25notContainment = 1.0 -process.ecal_notCont_sim.EEs25notContainment = 1.0 - - diff --git a/SimG4Core/GFlash/test/g4Watcher.py b/SimG4Core/GFlash/test/g4Watcher.py deleted file mode 100644 index 2574dd3a8a450..0000000000000 --- a/SimG4Core/GFlash/test/g4Watcher.py +++ /dev/null @@ -1,80 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi") -#process.load("Configuration.StandardSequences.MagneticField_cff") -process.load("Configuration.StandardSequences.MagneticField_0T_cff") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet( - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - destinations = cms.untracked.vstring('cout') -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(12345) - ), - sourceSeed = cms.untracked.uint32(98765) -) - -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(11), - MinEta = cms.untracked.double(0.07), - MaxEta = cms.untracked.double(0.07), - MinPhi = cms.untracked.double(0.1), - MaxPhi = cms.untracked.double(0.1), - MinE = cms.untracked.double(20.0), - MaxE = cms.untracked.double(20.0) - ), - Verbosity = cms.untracked.int32(0) -) - -process.load("SimG4Core.GFlash.cmsGflashGeometryXML_cfi") - - -process.g4SimHits.Physics.type = 'SimG4Core/Physics/GFlash' -process.g4SimHits.Physics.GFlash = cms.PSet( - GflashHadronPhysics = cms.string('QGSP_BERT'), - GflashEMShowerModel = cms.bool(False), - GflashHadronShowerModel = cms.bool(False), - GflashHistogram = cms.bool(True), - GflashHistogramName = cms.string('gflash_em.root'), - bField = cms.double(0.0), - watcherOn = cms.bool(False), - tuning_pList = cms.vdouble() -) - - -process.g4SimHits.Watchers = cms.VPSet( - cms.PSet( - GflashG4Watcher = cms.PSet( - histFileName = cms.string('watcher_g4.root'), - recoEnergyScaleEB = cms.double(1.0299), - recoEnergyScaleEE = cms.double(1.0299) - ), - type = cms.string('GflashG4Watcher') - ) -) - - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('sim_g4_em.root') -) - -process.p1 = cms.Path(process.g4SimHits) -process.outpath = cms.EndPath(process.o1) - - diff --git a/SimG4Core/GFlash/test/gfWatcher.py b/SimG4Core/GFlash/test/gfWatcher.py deleted file mode 100644 index a9f1fddc7cab6..0000000000000 --- a/SimG4Core/GFlash/test/gfWatcher.py +++ /dev/null @@ -1,80 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi") -#process.load("Configuration.StandardSequences.MagneticField_cff") -process.load("Configuration.StandardSequences.MagneticField_0T_cff") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet( - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - destinations = cms.untracked.vstring('cout') -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(12345) - ), - sourceSeed = cms.untracked.uint32(98765) -) - -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(11), - MinEta = cms.untracked.double(0.07), - MaxEta = cms.untracked.double(0.07), - MinPhi = cms.untracked.double(0.1), - MaxPhi = cms.untracked.double(0.1), - MinE = cms.untracked.double(20.0), - MaxE = cms.untracked.double(20.0) - ), - Verbosity = cms.untracked.int32(0) -) - -process.load("SimG4Core.GFlash.cmsGflashGeometryXML_cfi") - - -process.g4SimHits.Physics.type = 'SimG4Core/Physics/GFlash' -process.g4SimHits.Physics.GFlash = cms.PSet( - GflashHadronPhysics = cms.string('QGSP_BERT'), - GflashEMShowerModel = cms.bool(True), - GflashHadronShowerModel = cms.bool(True), - GflashHistogram = cms.bool(True), - GflashHistogramName = cms.string('gflash_em.root'), - bField = cms.double(0.0), - watcherOn = cms.bool(True), - tuning_pList = cms.vdouble() -) - - -process.g4SimHits.Watchers = cms.VPSet( - cms.PSet( - GflashG4Watcher = cms.PSet( - histFileName = cms.string('watcher_gf.root'), - recoEnergyScaleEB = cms.double(1.0), - recoEnergyScaleEE = cms.double(1.0) - ), - type = cms.string('GflashG4Watcher') - ) -) - - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('sim_g4_em.root') -) - -process.p1 = cms.Path(process.g4SimHits) -process.outpath = cms.EndPath(process.o1) - - diff --git a/SimG4Core/GFlash/test/valid_hf_gflashsimhit.py b/SimG4Core/GFlash/test/valid_hf_gflashsimhit.py deleted file mode 100644 index f6d313d682fab..0000000000000 --- a/SimG4Core/GFlash/test/valid_hf_gflashsimhit.py +++ /dev/null @@ -1,67 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi") -process.load("Configuration.StandardSequences.MagneticField_cff") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet( - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ) - ), - destinations = cms.untracked.vstring('cout') -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(12345) - ), - sourceSeed = cms.untracked.uint32(98765) -) - -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(211), - MinEta = cms.untracked.double(4.0), - MaxEta = cms.untracked.double(4.0), - MinPhi = cms.untracked.double(-3.14159265359), - MaxPhi = cms.untracked.double(3.14159265359), - MinE = cms.untracked.double(300.0), - MaxE = cms.untracked.double(300.0) - ), - Verbosity = cms.untracked.int32(0) -) - -process.load("SimG4Core.GFlash.cmsGflashGeometryXML_cfi") - -process.g4SimHits.Physics.type = 'SimG4Core/Physics/GFlash' -process.g4SimHits.Physics.GFlash = cms.PSet( - GflashHadronPhysics = cms.string('QGSP_BERT'), - GflashEMShowerModel = cms.bool(True), - GflashHadronShowerModel = cms.bool(True), - GflashHistogram = cms.bool(True), - GflashHistogramName = cms.string('gflash_hf.root'), - bField = cms.double(3.8), - watcherOn = cms.bool(False), - tuning_pList = cms.vdouble() -) - -process.g4SimHits.HCalSD.UseShowerLibrary = False - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('sim_g4_hf.root') -) - -process.p1 = cms.Path(process.g4SimHits) -process.outpath = cms.EndPath(process.o1) - - diff --git a/SimG4Core/KillSecondaries/test/test_cfg.py b/SimG4Core/KillSecondaries/test/test_cfg.py deleted file mode 100644 index 00ec548428808..0000000000000 --- a/SimG4Core/KillSecondaries/test/test_cfg.py +++ /dev/null @@ -1,75 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("CaloTest") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi") - -process.load("MagneticField.Engine.volumeBasedMagneticField_cfi") - -process.load("Geometry.CMSCommonData.ecalhcalGeometryXML_cfi") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - destinations = cms.untracked.vstring('cout'), - debugModules = cms.untracked.vstring('*'), - cout = cms.untracked.PSet( - threshold = cms.untracked.string('INFO'), - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - EcalSim = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ), - HcalSim = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ), - KillSecondaries = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ) - ), - categories = cms.untracked.vstring('KillSecondaries', - 'EcalSim', - 'HcalSim'), - fwkJobReports = cms.untracked.vstring('FrameworkJobReport_HB.xml') -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(20) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(211), - MaxEta = cms.untracked.double(3.5), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.5), - MinE = cms.untracked.double(9.99), - MinPhi = cms.untracked.double(-3.14159265359), - MaxE = cms.untracked.double(10.01) - ), - Verbosity = cms.untracked.int32(0) -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(123456789) - ), - sourceSeed = cms.untracked.uint32(135799753) -) - -process.p1 = cms.Path(process.VtxSmeared*process.g4SimHits) -process.VtxSmeared.SigmaX = 0.00001 -process.VtxSmeared.SigmaY = 0.00001 -process.VtxSmeared.SigmaZ = 0.00001 -process.g4SimHits.UseMagneticField = False -process.g4SimHits.Physics.type = 'SimG4Core/Physics/QGSP_EMV' -process.g4SimHits.Watchers = cms.VPSet(cms.PSet( - process.common_heavy_suppression, - KillHeavy = cms.bool(True), - type = cms.string('KillSecondariesTrackAction') -)) - diff --git a/SimG4Core/PhysicsLists/test/runTest_cfg.py b/SimG4Core/PhysicsLists/test/runTest_cfg.py deleted file mode 100644 index e0d3203a4a15d..0000000000000 --- a/SimG4Core/PhysicsLists/test/runTest_cfg.py +++ /dev/null @@ -1,72 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi") - -process.load("Geometry.CMSCommonData.cmsSimIdealGeometryXML_cfi") - -process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi") - -process.load("MagneticField.Engine.volumeBasedMagneticField_cfi") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet( - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - PhysicsList = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ) - ), - categories = cms.untracked.vstring('PhysicsList'), - destinations = cms.untracked.vstring('cout') -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - VtxSmeared = cms.untracked.uint32(12345) - ), - sourceSeed = cms.untracked.uint32(98765) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(20) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(211), - MaxEta = cms.untracked.double(3.5), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.5), - MinE = cms.untracked.double(5.99), - MinPhi = cms.untracked.double(-3.14159265359), - MaxE = cms.untracked.double(6.01) - ), - Verbosity = cms.untracked.int32(0) -) - -process.p1 = cms.Path(process.VtxSmeared*process.g4SimHits) -process.g4SimHits.UseMagneticField = False -process.g4SimHits.Physics = cms.PSet( - GFlashEmin = cms.double(1.0), - G4BremsstrahlungThreshold = cms.double(0.5), - DefaultCutValue = cms.double(1000.0), - CutsPerRegion = cms.bool(True), - Verbosity = cms.untracked.int32(0), - GFlashEmax = cms.double(1000000.0), - EMPhysics = cms.untracked.bool(True), - QuasiElastic = cms.untracked.bool(True), - GFlashEToKill = cms.double(0.1), - HadPhysics = cms.untracked.bool(True), - Model = cms.untracked.string('FTFP'), - type = cms.string('SimG4Core/Physics/CMSModel'), - DummyEMPhysics = cms.bool(False) -) - diff --git a/SimRomanPot/SimFP420/test/data/runEDDigi_cfg.py b/SimRomanPot/SimFP420/test/data/runEDDigi_cfg.py deleted file mode 100644 index 0354f5fddcb9d..0000000000000 --- a/SimRomanPot/SimFP420/test/data/runEDDigi_cfg.py +++ /dev/null @@ -1,74 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("DigFP420Test") -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("SimGeneral.HepPDTESSource.pdt_cfi") - -process.load("Configuration.StandardSequences.VtxSmearedFlat_cff") - -#process.load("FP420GeometryXML_cfi") -process.load("Geometry.FP420CommonData.FP420GeometryXML_cfi") - -process.load("SimGeneral.MixingModule.mixNoPU_cfi") - -process.load("SimRomanPot.SimFP420.FP420Digi_cfi") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(11), - mix = cms.untracked.uint32(12345), - VtxSmeared = cms.untracked.uint32(98765432) - ), - sourceSeed = cms.untracked.uint32(123456789) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(100) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(2212), - MaxEta = cms.untracked.double(9.9), - MaxPhi = cms.untracked.double(3.14), - MinEta = cms.untracked.double(8.7), - MinE = cms.untracked.double(6930.0), - MinPhi = cms.untracked.double(-3.14), - MaxE = cms.untracked.double(7000.0) - ), - Verbosity = cms.untracked.int32(0) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('test1event.root') -) - -process.Timing = cms.Service("Timing") - -process.Tracer = cms.Service("Tracer") - -process.p1 = cms.Path(process.VtxSmeared*process.g4SimHits*process.mix*process.FP420Digi) -process.outpath = cms.EndPath(process.o1) -process.schedule = cms.Schedule(process.p1,process.outpath) - -process.MessageLogger.cerr.default.limit = 10 -process.FlatVtxSmearingParameters.MinX = -1.0 -process.FlatVtxSmearingParameters.MaxX = -1.0 -process.FlatVtxSmearingParameters.MinY = 0.0 -process.FlatVtxSmearingParameters.MaxY = 0.0 -process.FlatVtxSmearingParameters.MinZ = 41900. -process.FlatVtxSmearingParameters.MaxZ = 41900. -process.FP420Digi.VerbosityLevel = 0 -process.g4SimHits.Physics.DefaultCutValue = cms.double(1000.) -process.g4SimHits.UseMagneticField = cms.bool(False) -process.g4SimHits.Generator.ApplyPhiCuts = cms.bool(False) -process.g4SimHits.Generator.ApplyEtaCuts = cms.bool(False) -process.g4SimHits.Generator.HepMCProductLabel = cms.string('LHCTransport') -process.g4SimHits.SteppingAction.MaxTrackTime = cms.double(2000.0) -process.g4SimHits.StackingAction.MaxTrackTime = cms.double(2000.0) -process.g4SimHits.NonBeamEvent = True -process.FP420Digi.ApplyTofCut = False - - diff --git a/SimRomanPot/SimFP420/test/data/runHecMB_cfg.py b/SimRomanPot/SimFP420/test/data/runHecMB_cfg.py deleted file mode 100644 index 49adabf5fe719..0000000000000 --- a/SimRomanPot/SimFP420/test/data/runHecMB_cfg.py +++ /dev/null @@ -1,105 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("HecFP420Test") -process.load("FWCore.MessageService.MessageLogger_cfi") - -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.load("Configuration.StandardSequences.VtxSmearedGauss_cff") - -process.load("Geometry.FP420CommonData.FP420GeometryXML_cfi") - -process.load("SimTransport.HectorProducer.HectorTransport_cfi") - -process.load("SimGeneral.MixingModule.mixNoPU_cfi") - -process.load("SimRomanPot.SimFP420.FP420Digi_cfi") - -process.load("Configuration.EventContent.EventContent_cff") - -process.load("SimG4Core.Application.g4SimHits_cfi") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - PythiaSource = cms.untracked.uint32(12345), - g4SimHits = cms.untracked.uint32(11), - mix = cms.untracked.uint32(12345), - VtxSmeared = cms.untracked.uint32(98765432) - ), - sourceSeed = cms.untracked.uint32(123456789) -) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(1000) -# input = cms.untracked.int32(20) -) -process.source = cms.Source("PythiaSource", - pythiaHepMCVerbosity = cms.untracked.bool(False), - maxEventsToPrint = cms.untracked.int32(0), - pythiaPylistVerbosity = cms.untracked.int32(0), - PythiaParameters = cms.PSet( - myParameters = cms.vstring(), - parameterSets = cms.vstring('pythiaMinBias', - 'myParameters'), - pythiaMinBias = cms.vstring('MSEL=0 ! User defined processes', - 'MSUB(11)=1 ! Min bias process', - 'MSUB(12)=1 ! Min bias process', - 'MSUB(13)=1 ! Min bias process', - 'MSUB(28)=1 ! Min bias process', - 'MSUB(53)=1 ! Min bias process', - 'MSUB(68)=1 ! Min bias process', - 'MSUB(91)=0 ! Min bias process, elastic scattering', - 'MSUB(92)=1 ! Min bias process', - 'MSUB(93)=1 ! Min bias process', - 'MSUB(94)=1 ! Min bias process', - 'MSUB(95)=1 ! Min bias process', - 'MSTJ(11)=3 ! Choice of the fragmentation function', - 'MSTJ(22)=2 ! Decay those unstable particles', - 'PARJ(71)=10. ! for which ctau 10 mm', - 'MSTP(2)=1 ! which order running alphaS', - 'MSTP(33)=0 ! no K factors in hard cross sections', - 'MSTP(51)=7 ! structure function chosen', - 'MSTP(81)=1 ! multiple parton interactions 1 is Pythia default', - 'MSTP(82)=4 ! Defines the multi-parton model', - 'MSTU(21)=1 ! Check on possible errors during program execution', - 'PARP(82)=1.9 ! pt cutoff for multiparton interactions', - 'PARP(89)=1000. ! sqrts for which PARP82 is set', - 'PARP(83)=0.5 ! Multiple interactions: matter distrbn parameter', - 'PARP(84)=0.4 ! Multiple interactions: matter distribution parameter', - 'PARP(90)=0.16 ! Multiple interactions: rescaling power', - 'PARP(67)=1. ! amount of initial-state radiation', - 'PARP(85)=0.33 ! gluon prod. mechanism in MI', - 'PARP(86)=0.66 ! gluon prod. mechanism in MI', - 'PARP(87)=0.7 ! ', - 'PARP(88)=0.5 ! ', - 'PARP(91)=1.0 ! kt distribution'), - pythiaDefaultBlock = cms.PSet( - pythiaDefault = cms.vstring('PMAS(5,1)=4.8 ! b quark mass', - 'PMAS(6,1)=172.3 ! t quark mass') - ) - ) -) - -process.o1 = cms.OutputModule("PoolOutputModule", - outputCommands = cms.untracked.vstring('drop *', - 'keep edmHepMCProduct_*_*_*', - 'keep SimTracks_*_*_*', - 'keep SimVertexs_*_*_*', - 'keep PSimHitCrossingFrame_mix_FP420SI_*', - 'keep PSimHits_*_FP420SI_*', - 'keep DigiCollectionFP420_*_*_*'), - fileName = cms.untracked.string('HecMBEvent.root') -) - -process.p1 = cms.Path(process.VtxSmeared*process.LHCTransport*process.g4SimHits*process.mix*process.FP420Digi) -process.outpath = cms.EndPath(process.o1) -process.schedule = cms.Schedule(process.p1,process.outpath) -process.g4SimHits.Physics.DefaultCutValue = cms.double(1000.) -process.g4SimHits.UseMagneticField = cms.bool(False) -process.g4SimHits.Generator.ApplyPhiCuts = cms.bool(False) -process.g4SimHits.Generator.ApplyEtaCuts = cms.bool(False) -process.g4SimHits.Generator.HepMCProductLabel = cms.string('LHCTransport') -process.g4SimHits.SteppingAction.MaxTrackTime = cms.double(2000.0) -process.g4SimHits.StackingAction.MaxTrackTime = cms.double(2000.0) - - diff --git a/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfA_gensim.cfg b/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfA_gensim.cfg deleted file mode 100644 index 4bde3fe5ef9eb..0000000000000 --- a/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfA_gensim.cfg +++ /dev/null @@ -1,117 +0,0 @@ -process Sim = { - - untracked PSet maxEvents = {untracked int32 input = 100000} - - untracked PSet configurationMetadata = - { - untracked string version = "$Revision: 1.1 $" - untracked string name = "$Source: /cvs_server/repositories/CMSSW/CMSSW/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfA_gensim.cfg,v $" - untracked string annotation = "Cosmic muons TIF Setup Scintillator Configuration A" - } - - - include "FWCore/MessageLogger/data/MessageLogger.cfi" - - untracked PSet options = { - untracked bool wantSummary = true - untracked bool makeTriggerResults = true - } - - service = Timing { } - - service = RandomNumberGeneratorService - { - untracked uint32 sourceSeed = 2387 - PSet moduleSeeds = - { - untracked uint32 VtxSmeared = 92 - untracked uint32 g4SimHits = 193 - untracked uint32 mix = 333 - } - } - - source = CosMuoGenSource - { - untracked double MinEn = 0.1 -###smaller energy - untracked double MaxEn = 100 -###new parameter for 160 low energy modelling - untracked bool TIFOnly_constant = true - untracked double MinTheta = 0. -###smaller angle - untracked double MaxTheta = 70. -### untracked double MaxTheta = 88. - untracked double MinPhi = 0. - untracked double MaxPhi = 360. - untracked double MinT0 = -12.5 - untracked double MaxT0 = 12.5 - untracked double ElossScaleFactor = 0.0 - untracked bool MTCCHalf = false - untracked bool Verbosity= false - untracked bool TrackerOnly = false - } - include "SimGeneral/HepPDTESSource/data/pdt.cfi" - - module fil_lowE = CosmicGenFilterLowE - { - bool filter = true - } - - include "SimTracker/TrackerFilters/data/CosmicTIFTrigFilter_ConfA.cfi" - - include "Geometry/TrackerGeometryBuilder/data/trackerGeometry.cfi" - include "Geometry/TrackerNumberingBuilder/data/trackerNumberingGeometry.cfi" - - es_source = EmptyESSource { - string recordName = "IdealMagneticFieldRecord" - bool iovIsRunNotTime = true - vuint32 firstValid = {1} - } - - es_module = UniformMagneticFieldESProducer { - double ZFieldInTesla = 0.0 - } - - es_prefer = UniformMagneticFieldESProducer{} - - include "Geometry/TrackerSimData/data/trackerSimGeometryXML.cfi" - - include "SimG4Core/Application/data/g4SimHits.cfi" - replace g4SimHits.Generator.HepMCProductLabel = "source" - replace g4SimHits.NonBeamEvent = true - replace g4SimHits.UseMagneticField = false - replace g4SimHits.TrackerSD = { - bool ZeroEnergyLoss = false - bool NeverAccumulate = false - bool PrintHits = false - double ElectronicSigmaInNanoSeconds = 12.06 - double EnergyThresholdForPersistencyInGeV = 0.2 - double EnergyThresholdForHistoryInGeV = 0.2 - } - - - path p1 = { -#low energy modelling of muon spectrum - fil_lowE, -#scintillator configuration trigger filter - fil, -#tracker simulation - g4SimHits - } - - include "Configuration/EventContent/data/EventContent.cff" - module GEN-SIM = PoolOutputModule - { - using FEVTSIMEventContent - untracked string fileName = "file:TIFCosmicMuon_ConfA_gensim.root" - untracked PSet dataset = { - untracked string dataTier = "GEN-SIM" - } - untracked PSet SelectEvents ={ - vstring SelectEvents = {"p1"} - } - } - - endpath outpath = {GEN-SIM} - schedule = {p1, outpath} -} diff --git a/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfC_TkOnly_gensim.cfg b/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfC_TkOnly_gensim.cfg deleted file mode 100644 index 28b7108b7922a..0000000000000 --- a/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfC_TkOnly_gensim.cfg +++ /dev/null @@ -1,121 +0,0 @@ -process Sim = { - - untracked PSet maxEvents = {untracked int32 input = 100000} - - untracked PSet configurationMetadata = - { - untracked string version = "$Revision$" - untracked string name = "$Source$" - untracked string annotation = "Cosmic muons TIF Setup Scintillator Configuration C (TrackerOnly)" - } - - - include "FWCore/MessageLogger/data/MessageLogger.cfi" - - untracked PSet options = { - untracked bool wantSummary = true - untracked bool makeTriggerResults = true - } - -### service = Timing { } - - service = RandomNumberGeneratorService - { - untracked uint32 sourceSeed = 2387 - PSet moduleSeeds = - { - untracked uint32 VtxSmeared = 92 - untracked uint32 g4SimHits = 193 - untracked uint32 mix = 333 - } - } - - source = CosMuoGenSource - { -###new variables names!!!!! - untracked double MinP = 0.1 -###smaller energy - untracked double MaxP = 100 -###new parameter for 160 low energy modelling at TIF - untracked bool TIFOnly_constant = true - untracked bool TIFOnly_linear = true - untracked double MinTheta = 0. -###smaller angle - untracked double MaxTheta = 70. -### untracked double MaxTheta = 88. - untracked double MinPhi = 0. - untracked double MaxPhi = 360. - untracked double MinT0 = -12.5 - untracked double MaxT0 = 12.5 - untracked double ElossScaleFactor = 0.0 - untracked bool MTCCHalf = false - untracked bool Verbosity= false -### untracked bool TrackerOnly = false - untracked bool TrackerOnly = true - } - include "SimGeneral/HepPDTESSource/data/pdt.cfi" - - module fil_lowE = CosmicGenFilterLowE - { - bool filter = true - } - - include "SimTracker/TrackerFilters/data/CosmicTIFTrigFilter_ConfC.cfi" - - include "Geometry/TrackerGeometryBuilder/data/trackerGeometry.cfi" - include "Geometry/TrackerNumberingBuilder/data/trackerNumberingGeometry.cfi" - - es_source = EmptyESSource { - string recordName = "IdealMagneticFieldRecord" - bool iovIsRunNotTime = true - vuint32 firstValid = {1} - } - - es_module = UniformMagneticFieldESProducer { - double ZFieldInTesla = 0.0 - } - - es_prefer = UniformMagneticFieldESProducer{} - -#Trigger scintillator filter - include "Geometry/TrackerSimData/data/trackerSimGeometryXML.cfi" - - include "SimG4Core/Application/data/g4SimHits.cfi" - replace g4SimHits.Generator.HepMCProductLabel = "source" - replace g4SimHits.NonBeamEvent = true - replace g4SimHits.UseMagneticField = false - replace g4SimHits.TrackerSD = { - bool ZeroEnergyLoss = false - bool NeverAccumulate = false - bool PrintHits = false - double ElectronicSigmaInNanoSeconds = 12.06 - double EnergyThresholdForPersistencyInGeV = 0.2 - double EnergyThresholdForHistoryInGeV = 0.2 - } - - - path p1 = { -#low energy modelling of muon spectrum - fil_lowE, -#scintillator configuration trigger filter - fil, -#tracker simulation - g4SimHits - } - - include "Configuration/EventContent/data/EventContent.cff" - module GEN-SIM = PoolOutputModule - { - using FEVTSIMEventContent - untracked string fileName = "file:TIFCosmicMuon_ConfC_gensim_TO.root" - untracked PSet dataset = { - untracked string dataTier = "GEN-SIM" - } - untracked PSet SelectEvents ={ - vstring SelectEvents = {"p1"} - } - } - - endpath outpath = {GEN-SIM} - schedule = {p1, outpath} -} diff --git a/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfC_gensim.cfg b/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfC_gensim.cfg deleted file mode 100644 index e203514e94d0f..0000000000000 --- a/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfC_gensim.cfg +++ /dev/null @@ -1,120 +0,0 @@ -process Sim = { - - untracked PSet maxEvents = {untracked int32 input = 1000000} - - untracked PSet configurationMetadata = - { - untracked string version = "$Revision: 1.3 $" - untracked string name = "$Source: /cvs_server/repositories/CMSSW/CMSSW/SimTracker/TrackerFilters/test/TIFCosmicMuon_ConfC_gensim.cfg,v $" - untracked string annotation = "Cosmic muons TIF Setup Scintillator Configuration C" - } - - - include "FWCore/MessageLogger/data/MessageLogger.cfi" - - untracked PSet options = { - untracked bool wantSummary = true - untracked bool makeTriggerResults = true - } - - service = Timing { } - - service = RandomNumberGeneratorService - { - untracked uint32 sourceSeed = 2387 - PSet moduleSeeds = - { - untracked uint32 VtxSmeared = 92 - untracked uint32 g4SimHits = 193 - untracked uint32 mix = 333 - } - } - - source = CosMuoGenSource - { -###new variables names!!!!! - untracked double MinP = 0.1 -###smaller energy - untracked double MaxP = 100 -###new parameter for 160 low energy modelling at TIF - untracked bool TIFOnly_constant = true - untracked bool TIFOnly_linear = true - untracked double MinTheta = 0. -###smaller angle - untracked double MaxTheta = 70. -### untracked double MaxTheta = 88. - untracked double MinPhi = 0. - untracked double MaxPhi = 360. - untracked double MinT0 = -12.5 - untracked double MaxT0 = 12.5 - untracked double ElossScaleFactor = 0.0 - untracked bool MTCCHalf = false - untracked bool Verbosity= false - untracked bool TrackerOnly = false - } - include "SimGeneral/HepPDTESSource/data/pdt.cfi" - - module fil_lowE = CosmicGenFilterLowE - { - bool filter = true - } - - include "SimTracker/TrackerFilters/data/CosmicTIFTrigFilter_ConfC.cfi" - - include "Geometry/TrackerGeometryBuilder/data/trackerGeometry.cfi" - include "Geometry/TrackerNumberingBuilder/data/trackerNumberingGeometry.cfi" - - es_source = EmptyESSource { - string recordName = "IdealMagneticFieldRecord" - bool iovIsRunNotTime = true - vuint32 firstValid = {1} - } - - es_module = UniformMagneticFieldESProducer { - double ZFieldInTesla = 0.0 - } - - es_prefer = UniformMagneticFieldESProducer{} - -#Trigger scintillator filter - include "Geometry/TrackerSimData/data/trackerSimGeometryXML.cfi" - - include "SimG4Core/Application/data/g4SimHits.cfi" - replace g4SimHits.Generator.HepMCProductLabel = "source" - replace g4SimHits.NonBeamEvent = true - replace g4SimHits.UseMagneticField = false - replace g4SimHits.TrackerSD = { - bool ZeroEnergyLoss = false - bool NeverAccumulate = false - bool PrintHits = false - double ElectronicSigmaInNanoSeconds = 12.06 - double EnergyThresholdForPersistencyInGeV = 0.2 - double EnergyThresholdForHistoryInGeV = 0.2 - } - - - path p1 = { -#low energy modelling of muon spectrum - fil_lowE, -#scintillator configuration trigger filter - fil, -#tracker simulation - g4SimHits - } - - include "Configuration/EventContent/data/EventContent.cff" - module GEN-SIM = PoolOutputModule - { - using FEVTSIMEventContent - untracked string fileName = "file:TIFCosmicMuon_ConfC_gensim.root" - untracked PSet dataset = { - untracked string dataTier = "GEN-SIM" - } - untracked PSet SelectEvents ={ - vstring SelectEvents = {"p1"} - } - } - - endpath outpath = {GEN-SIM} - schedule = {p1, outpath} -} diff --git a/SimTracker/TrackerMaterialAnalysis/python/double10GeVMuons_cfi.py b/SimTracker/TrackerMaterialAnalysis/python/double10GeVMuons_cfi.py deleted file mode 100644 index 149bece968bc3..0000000000000 --- a/SimTracker/TrackerMaterialAnalysis/python/double10GeVMuons_cfi.py +++ /dev/null @@ -1,18 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -# generate mu+/mu- events -source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - # you can request more than 1 particle - PartID = cms.untracked.vint32(13), - MinEta = cms.untracked.double(-4.0), - MaxEta = cms.untracked.double( 4.0), - MinPhi = cms.untracked.double(-3.14159265359), - MaxPhi = cms.untracked.double( 3.14159265359), - MinPt = cms.untracked.double( 9.99), - MaxPt = cms.untracked.double(10.01) - ), - AddAntiParticle = cms.untracked.bool(True), - Verbosity = cms.untracked.int32(0), - firstRun = cms.untracked.uint32(1) -) diff --git a/SimTracker/TrackerMaterialAnalysis/python/double10GeVPions_cfi.py b/SimTracker/TrackerMaterialAnalysis/python/double10GeVPions_cfi.py deleted file mode 100644 index 3912ad84725e8..0000000000000 --- a/SimTracker/TrackerMaterialAnalysis/python/double10GeVPions_cfi.py +++ /dev/null @@ -1,18 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -# generate pi0/pi0* events -source = cms.Source("FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - # you can request more than 1 particle - PartID = cms.untracked.vint32(211), - MinEta = cms.untracked.double(-4.0), - MaxEta = cms.untracked.double( 4.0), - MinPhi = cms.untracked.double(-3.14159265359), - MaxPhi = cms.untracked.double( 3.14159265359), - MinPt = cms.untracked.double( 9.99), - MaxPt = cms.untracked.double(10.01) - ), - AddAntiParticle = cms.untracked.bool(True), - Verbosity = cms.untracked.int32(0), - firstRun = cms.untracked.uint32(1) -) diff --git a/Validation/EcalDigis/test/PedestalRun_all_cfg.py b/Validation/EcalDigis/test/PedestalRun_all_cfg.py deleted file mode 100644 index 73cd93f9ffa89..0000000000000 --- a/Validation/EcalDigis/test/PedestalRun_all_cfg.py +++ /dev/null @@ -1,95 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("EcalHitsValid") -# initialize MessageLogger -process.load("FWCore.MessageLogger.MessageLogger_cfi") - -# initialize magnetic field -process.load("Configuration.StandardSequences.MagneticField_cff") - -# geometry (Only Ecal) -process.load("Geometry.EcalCommonData.EcalOnly_cfi") - -process.load("Geometry.CaloEventSetup.CaloGeometry_cff") - -process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi") - -process.load("Geometry.EcalMapping.EcalMapping_cfi") - -process.load("Geometry.EcalMapping.EcalMappingRecord_cfi") - -# DQM services -process.load("DQMServices.Core.DQM_cfg") - -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -# run simulation, with EcalHits Validation specific watcher -process.load("SimG4Core.Application.g4SimHits_cfi") - -# ECAL hits validation sequence -process.load("Validation.EcalHits.ecalSimHitsValidationSequence_cff") - -# Mixing Module -process.load("SimGeneral.MixingModule.mixNoPU_cfi") - -process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff") - -# ECAL unsuppressed digis -process.load("SimCalorimetry.EcalSimProducers.ecaldigi_cfi") - -# ECAL unsuppressed digis validation sequence -process.load("Validation.EcalDigis.ecalUnsuppressedDigisValidationSequence_cff") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - # you can request more than 1 particle - PartID = cms.untracked.vint32(14), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinE = cms.untracked.double(9.99), - MinPhi = cms.untracked.double(-3.14159265359), ## in radians - - MaxE = cms.untracked.double(10.01) - ), - Verbosity = cms.untracked.int32(0) ## set to 1 (or greater) for printouts - -) - -process.USER = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('PedestalRun_all_EcalValidation.root') -) - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - simEcalUnsuppressedDigis = cms.untracked.uint32(12345) - ), - sourceSeed = cms.untracked.uint32(98765) -) - -process.randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer") - -process.Timing = cms.Service("Timing") - -process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck") - -process.simhits = cms.Sequence(process.g4SimHits*process.ecalSimHitsValidationSequence) -process.digis = cms.Sequence(process.mix*process.simEcalUnsuppressedDigis*process.ecalUnsuppressedDigisValidationSequence) -process.p1 = cms.Path(process.simhits) -process.p2 = cms.Path(process.digis) -process.p4 = cms.Path(process.randomEngineStateProducer) -process.outpath = cms.EndPath(process.USER) -process.schedule = cms.Schedule(process.p1,process.p2,process.p4,process.outpath) - -process.DQM.collectorHost = '' -process.g4SimHits.Generator.HepMCProductLabel = 'source' -process.g4SimHits.Watchers = cms.VPSet(cms.PSet( - instanceLabel = cms.untracked.string('EcalValidInfo'), - type = cms.string('EcalSimHitsValidProducer'), - verbose = cms.untracked.bool(False) -)) - diff --git a/Validation/EcalRecHits/test/PedestalRun_all_cfg.py b/Validation/EcalRecHits/test/PedestalRun_all_cfg.py deleted file mode 100644 index cbcf0a4f45113..0000000000000 --- a/Validation/EcalRecHits/test/PedestalRun_all_cfg.py +++ /dev/null @@ -1,130 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("EcalHitsValid") -# initialize MessageLogger -process.load("FWCore.MessageLogger.MessageLogger_cfi") - -# initialize magnetic field -process.load("Configuration.StandardSequences.MagneticField_cff") - -# geometry (Only Ecal) -process.load("Geometry.EcalCommonData.EcalOnly_cfi") - -process.load("Geometry.CaloEventSetup.CaloGeometry_cff") - -process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi") - -process.load("Geometry.EcalMapping.EcalMapping_cfi") - -process.load("Geometry.EcalMapping.EcalMappingRecord_cfi") - -# DQM services -process.load("DQMServices.Core.DQM_cfg") - -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -# run simulation, with EcalHits Validation specific watcher -process.load("SimG4Core.Application.g4SimHits_cfi") - -# ECAL hits validation sequence -process.load("Validation.EcalHits.ecalSimHitsValidationSequence_cff") - -# Mixing Module -process.load("SimGeneral.MixingModule.mixNoPU_cfi") - -process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff") - -# ECAL unsuppressed digis -process.load("SimCalorimetry.EcalSimProducers.ecaldigi_cfi") - -# ECAL unsuppressed digis validation sequence -process.load("Validation.EcalDigis.ecalDigisValidation_cfi") - -process.load("Validation.EcalDigis.ecalBarrelDigisValidation_cfi") - -process.load("Validation.EcalDigis.ecalEndcapDigisValidation_cfi") - -process.load("Validation.EcalDigis.ecalPreshowerDigisValidation_cfi") - -# ECAL LocalReco sequence -process.load("CalibCalorimetry.EcalLaserCorrection.ecalLaserCorrectionService_cfi") - -process.load("RecoLocalCalo.EcalRecProducers.ecalWeightUncalibRecHit_cfi") - -process.load("RecoLocalCalo.EcalRecProducers.ecalRecHit_cfi") - -process.load("RecoLocalCalo.EcalRecProducers.ecalPreshowerRecHit_cfi") - -# ECAL rechits validation sequence -process.load("Validation.EcalRecHits.ecalUnsuppressedRecHitsValidationSequence_cff") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10) -) -process.source = cms.Source("FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - # you can request more than 1 particle - PartID = cms.untracked.vint32(14), - MaxEta = cms.untracked.double(3.0), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-3.0), - MinE = cms.untracked.double(9.99), - MinPhi = cms.untracked.double(-3.14159265359), ## in radians - - MaxE = cms.untracked.double(10.01) - ), - Verbosity = cms.untracked.int32(0) ## set to 1 (or greater) for printouts - -) - -process.USER = cms.OutputModule("PoolOutputModule", - fileName = cms.untracked.string('PedestalRun_all_EcalValidation.root') -) - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - moduleSeeds = cms.PSet( - g4SimHits = cms.untracked.uint32(9876), - simEcalUnsuppressedDigis = cms.untracked.uint32(12345) - ), - sourceSeed = cms.untracked.uint32(98765) -) - -process.randomEngineStateProducer = cms.EDProducer("RandomEngineStateProducer") - -process.Timing = cms.Service("Timing") - -process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck") - -process.ecalUnsuppressedLocalRecoSequence = cms.Sequence(process.ecalWeightUncalibRecHit*process.ecalRecHit*process.ecalPreshowerRecHit) -process.simhits = cms.Sequence(process.g4SimHits*process.ecalSimHitsValidationSequence) -process.digis = cms.Sequence(process.mix*process.simEcalUnsuppressedDigis) -process.digisVal = cms.Sequence(process.ecalDigisValidation*process.ecalBarrelDigisValidation*process.ecalEndcapDigisValidation*process.ecalPreshowerDigisValidation) -process.rechits = cms.Sequence(process.ecalUnsuppressedLocalRecoSequence*process.ecalUnsuppressedRecHitsValidationSequence) -process.p1 = cms.Path(process.simhits) -process.p2 = cms.Path(process.digis) -process.p3 = cms.Path(process.digisVal) -process.p4 = cms.Path(process.rechits) -process.p5 = cms.Path(process.randomEngineStateProducer) -process.outpath = cms.EndPath(process.USER) -process.schedule = cms.Schedule(process.p1,process.p2,process.p3,process.p4,process.p5,process.outpath) - -process.DQM.collectorHost = '' -process.g4SimHits.Generator.HepMCProductLabel = 'source' -process.g4SimHits.Watchers = cms.VPSet(cms.PSet( - instanceLabel = cms.untracked.string('EcalValidInfo'), - type = cms.string('EcalSimHitsValidProducer'), - verbose = cms.untracked.bool(False) -)) -process.simEcalUnsuppressedDigis.EBdigiCollection = 'ebUnsuppDigis' -process.simEcalUnsuppressedDigis.EEdigiCollection = 'eeUnsuppDigis' -process.simEcalUnsuppressedDigis.ESdigiCollection = 'esUnsuppDigis' -process.ecalDigisValidation.EBdigiCollection = 'simEcalUnsuppressedDigis:ebUnsuppDigis' -process.ecalDigisValidation.EEdigiCollection = 'simEcalUnsuppressedDigis:eeUnsuppDigis' -process.ecalDigisValidation.ESdigiCollection = 'simEcalUnsuppressedDigis:esUnsuppDigis' -process.ecalBarrelDigisValidation.EBdigiCollection = 'simEcalUnsuppressedDigis:ebUnsuppDigis' -process.ecalEndcapDigisValidation.EEdigiCollection = 'simEcalUnsuppressedDigis:eeUnsuppDigis' -process.ecalPreshowerDigisValidation.ESdigiCollection = 'simEcalUnsuppressedDigis:esUnsuppDigis' -process.ecalUncalibRecHit.EBdigiCollection = 'simEcalUnsuppressedDigis:ebUnsuppDigis' -process.ecalUncalibRecHit.EEdigiCollection = 'simEcalUnsuppressedDigis:eeUnsuppDigis' -process.ecalPreshowerRecHit.ESdigiCollection = 'simEcalUnsuppressedDigis:esUnsuppDigis' - diff --git a/Validation/GlobalHits/python/ttbarGen_cfg.py b/Validation/GlobalHits/python/ttbarGen_cfg.py deleted file mode 100644 index f94f57b856208..0000000000000 --- a/Validation/GlobalHits/python/ttbarGen_cfg.py +++ /dev/null @@ -1,52 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("Gen") -# setup useful services -# -process.load("Validation.GlobalHits.Random_cfi") - -process.load("Validation.GlobalHits.MessageLogger_cfi") - -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -# Pythia settings for ttbar generation -# -process.load("Configuration.Generator.PythiaUESettings_cfi") - -# smearing of the MC vertex -# -#module VtxSmeared -process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10000) -) -process.source = cms.Source("PythiaSource", - pythiaHepMCVerbosity = cms.untracked.bool(False), - maxEventsToPrint = cms.untracked.int32(0), - #untracked int32 maxEvents = 10000 - pythiaPylistVerbosity = cms.untracked.int32(0), - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - process.pythiaUESettingsBlock, - processParameters = cms.vstring('MSEL=0 ! User defined processes', - 'MSUB(81) = 1 ! qqbar to QQbar', - 'MSUB(82) = 1 ! gg to QQbar', - 'MSTP(7) = 6 ! flavour = top', - 'PMAS(6,1) = 175. ! top quark mass'), - # This is a vector of ParameterSet names to be read, in this order - parameterSets = cms.vstring('pythiaUESettings', - 'processParameters') - ) -) - -process.GEN = cms.OutputModule("PoolOutputModule", - dataset = cms.untracked.PSet( - dataTier = cms.untracked.string('GEN') - ), - fileName = cms.untracked.string('MC.root') -) - -process.p1 = cms.Path(process.VtxSmeared) -process.outpath = cms.EndPath(process.GEN) - diff --git a/Validation/MuonHits/python/GenMuonMinE100GeV_cfg.py b/Validation/MuonHits/python/GenMuonMinE100GeV_cfg.py deleted file mode 100644 index 56e7e95afdb91..0000000000000 --- a/Validation/MuonHits/python/GenMuonMinE100GeV_cfg.py +++ /dev/null @@ -1,56 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("Gen") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet( - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - FwkJob = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ) - ), - categories = cms.untracked.vstring('FwkJob'), - destinations = cms.untracked.vstring('cout') -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - sourceSeed = cms.untracked.uint32(98765) -) - -process.source = cms.Source("FlatRandomEGunSource", - maxEvents = cms.untracked.int32(100), - PGunParameters = cms.untracked.PSet( - # you can request more than 1 particle - #untracked vint32 PartID = {211,11} - PartID = cms.untracked.vint32(13), - MaxEta = cms.untracked.double(2.4), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-2.4), - MinE = cms.untracked.double(100.0), - MinPhi = cms.untracked.double(-3.14159265359), ## in radians - - MaxE = cms.untracked.double(100.0) - ), - Verbosity = cms.untracked.int32(0) ## set to 1 (or greater) for printouts - -) - -process.GEN = cms.OutputModule("PoolOutputModule", - datasets = cms.untracked.PSet( - dataset1 = cms.untracked.PSet( - dataTier = cms.untracked.string('GEN') - ) - ), - fileName = cms.untracked.string('mu_minus_e100GeV.root') -) - -process.configurationMetadata = cms.untracked.PSet( - annotation = cms.untracked.string('gen. muons for muon subsystems validation scan') -) -process.outpath = cms.EndPath(process.GEN) - diff --git a/Validation/MuonHits/python/GenMuonMinPt100GeV_cfg.py b/Validation/MuonHits/python/GenMuonMinPt100GeV_cfg.py deleted file mode 100644 index 2373ed69ee4bd..0000000000000 --- a/Validation/MuonHits/python/GenMuonMinPt100GeV_cfg.py +++ /dev/null @@ -1,56 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("Gen") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet( - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - FwkJob = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ) - ), - categories = cms.untracked.vstring('FwkJob'), - destinations = cms.untracked.vstring('cout') -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - sourceSeed = cms.untracked.uint32(98765) -) - -process.source = cms.Source("FlatRandomPtGunSource", - maxEvents = cms.untracked.int32(100), - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(100.0), - MinPt = cms.untracked.double(100.0), - # you can request more than 1 particle - #untracked vint32 PartID = {211,11} - PartID = cms.untracked.vint32(13), - MaxEta = cms.untracked.double(2.6), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-2.6), - MinPhi = cms.untracked.double(-3.14159265359) ## in radians - - ), - Verbosity = cms.untracked.int32(0) ## set to 1 (or greater) for printouts - -) - -process.GEN = cms.OutputModule("PoolOutputModule", - datasets = cms.untracked.PSet( - dataset1 = cms.untracked.PSet( - dataTier = cms.untracked.string('GEN') - ) - ), - fileName = cms.untracked.string('mu_minus_pt100GeV.root') -) - -process.configurationMetadata = cms.untracked.PSet( - annotation = cms.untracked.string('gen. mu- pt=100GeV for muon subsystems validation scan') -) -process.outpath = cms.EndPath(process.GEN) - diff --git a/Validation/MuonHits/python/GenMuonPlsPt100GeV_cfg.py b/Validation/MuonHits/python/GenMuonPlsPt100GeV_cfg.py deleted file mode 100644 index 17098ba19a4c4..0000000000000 --- a/Validation/MuonHits/python/GenMuonPlsPt100GeV_cfg.py +++ /dev/null @@ -1,56 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("Gen") -process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi") - -process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet( - default = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - FwkJob = cms.untracked.PSet( - limit = cms.untracked.int32(-1) - ) - ), - categories = cms.untracked.vstring('FwkJob'), - destinations = cms.untracked.vstring('cout') -) - -process.Timing = cms.Service("Timing") - -process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService", - sourceSeed = cms.untracked.uint32(98765) -) - -process.source = cms.Source("FlatRandomPtGunSource", - maxEvents = cms.untracked.int32(100), - PGunParameters = cms.untracked.PSet( - MaxPt = cms.untracked.double(100.0), - MinPt = cms.untracked.double(100.0), - # you can request more than 1 particle - #untracked vint32 PartID = {211,11} - PartID = cms.untracked.vint32(-13), - MaxEta = cms.untracked.double(2.6), - MaxPhi = cms.untracked.double(3.14159265359), - MinEta = cms.untracked.double(-2.6), - MinPhi = cms.untracked.double(-3.14159265359) ## in radians - - ), - Verbosity = cms.untracked.int32(0) ## set to 1 (or greater) for printouts - -) - -process.GEN = cms.OutputModule("PoolOutputModule", - datasets = cms.untracked.PSet( - dataset1 = cms.untracked.PSet( - dataTier = cms.untracked.string('GEN') - ) - ), - fileName = cms.untracked.string('mu_plus_pt100GeV.root') -) - -process.configurationMetadata = cms.untracked.PSet( - annotation = cms.untracked.string('gen. mu+ pt=100GeV for muon subsystems validation scan') -) -process.outpath = cms.EndPath(process.GEN) - diff --git a/Validation/RecoParticleFlow/Benchmarks/Tools/aod_PYTHIA_cfg.py b/Validation/RecoParticleFlow/Benchmarks/Tools/aod_PYTHIA_cfg.py deleted file mode 100644 index 9f34a6c046e0e..0000000000000 --- a/Validation/RecoParticleFlow/Benchmarks/Tools/aod_PYTHIA_cfg.py +++ /dev/null @@ -1,95 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("HLT") - -# Number of events to be generated -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(2000) -) - - -# Include the RandomNumberGeneratorService definition -process.load("FastSimulation.Configuration.RandomServiceInitialization_cff") -process.RandomNumberGeneratorService.theSource.initialSeed = 123 - -#process.load("Validation.RecoParticleFlow.source_singleTau_cfi") -#process.load("Validation.RecoParticleFlow.source_singleTau_highPt_cfi") -process.load("Validation.RecoParticleFlow.source_diJets_cfi") -#process.load("Validation.RecoParticleFlow.source_ZToTauTau_cfi") - - -process.source.maxEventsToPrint = cms.untracked.int32(2) -process.source.pythiaPylistVerbosity = cms.untracked.int32(1) - - -# L1 Menu and prescale factors : useful for testing all L1 paths -process.load("Configuration.StandardSequences.L1TriggerDefaultMenu_cff") - -# Common inputs, with fake conditions -process.load("FastSimulation.Configuration.CommonInputs_cff") - -# L1 Emulator and HLT Setup -process.load("FastSimulation.HighLevelTrigger.HLTSetup_cff") - -# Famos sequences -process.load("FastSimulation.Configuration.FamosSequences_cff") - -# Parametrized magnetic field (new mapping, 4.0 and 3.8T) -process.load("Configuration.StandardSequences.MagneticField_40T_cff") -# process.load("Configuration.StandardSequences.MagneticField_38T_cff") -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True - -# HLT paths - defined by configDB -# This one is created on the fly by FastSimulation/Configuration/test/IntegrationTestWithHLT_py.csh -process.load("FastSimulation.Configuration.HLT_cff") - -# Only event accepted by L1 + HLT are reconstructed -process.HLTEndSequence = cms.Sequence(process.reconstructionWithFamos) - -# Schedule the HLT paths -process.schedule = cms.Schedule() -process.schedule.extend(process.HLTSchedule) - -# If uncommented : All events are reconstructed, including those rejected at L1/HLT -# process.reconstruction = cms.Path(process.reconstructionWithFamos) -# process.schedule.append(process.reconstruction) - -# Simulation sequence -process.simulation = cms.Sequence(process.simulationWithFamos) -# You many not want to simulate everything -process.famosSimHits.SimulateCalorimetry = True -process.famosSimHits.SimulateTracking = True -# Parameterized magnetic field -process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True -# Number of pileup events per crossing -process.famosPileUp.PileUpSimulator.averageNumber = 0.0 - -process.GlobalTag.globaltag = "IDEAL_V9::All" - - -# To write out events -process.load("FastSimulation.Configuration.EventContent_cff") -process.o1 = cms.OutputModule("PoolOutputModule", - #process.AODSIMEventContent, - fileName = cms.untracked.string('aod.root'), - outputCommands = cms.untracked.vstring( - "drop *", - "keep recoPFJets_*_*_*", - "keep recoCaloJets_*_*_*", - "keep recoGenParticles_*_*_*" - ) -) -#process.o1.outputCommands.extend("drop *", -# "keep recoPFJets_*_*_*", -# "keep recoGenJets_*_*_*" -# ) - - -process.outpath = cms.EndPath(process.o1) - -# Add endpaths to the schedule -process.schedule.append(process.outpath) - - - - diff --git a/Validation/RecoParticleFlow/python/source_ZToTauTau_cfi.py b/Validation/RecoParticleFlow/python/source_ZToTauTau_cfi.py deleted file mode 100644 index ccd01a87ee464..0000000000000 --- a/Validation/RecoParticleFlow/python/source_ZToTauTau_cfi.py +++ /dev/null @@ -1,39 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -source = cms.Source("PythiaSource", - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - pythiaZtt = cms.vstring('MSEL = 11 ', - 'MDME( 174,1) = 0 !Z decay into d dbar', - 'MDME( 175,1) = 0 !Z decay into u ubar', - 'MDME( 176,1) = 0 !Z decay into s sbar', - 'MDME( 177,1) = 0 !Z decay into c cbar', - 'MDME( 178,1) = 0 !Z decay into b bbar', - 'MDME( 179,1) = 0 !Z decay into t tbar', - 'MDME( 182,1) = 0 !Z decay into e- e+', - 'MDME( 183,1) = 0 !Z decay into nu_e nu_ebar', - 'MDME( 184,1) = 0 !Z decay into mu- mu+', - 'MDME( 185,1) = 0 !Z decay into nu_mu nu_mubar', - 'MDME( 186,1) = 1 !Z decay into tau- tau+', - 'MDME( 187,1) = 0 !Z decay into nu_tau nu_taubar', - 'MSTJ( 11) = 3 !Choice of the fragmentation function', - 'MSTP( 2) = 1 !which order running alphaS', - 'MSTP( 33) = 0 !(D=0) ', - 'MSTP( 51) = 7 !structure function chosen', - 'MSTP( 81) = 1 !multiple parton interactions 1 is Pythia default', - 'MSTP( 82) = 4 !Defines the multi-parton model', - 'PARJ( 71) = 10. !for which ctau 10 mm', - 'PARP( 82) = 1.9 !pt cutoff for multiparton interactions', - 'PARP( 89) = 1000. !sqrts for which PARP82 is set', - 'PARP( 83) = 0.5 !Multiple interactions: matter distrbn parameter', - 'PARP( 84) = 0.4 !Multiple interactions: matter distribution parameter', - 'PARP( 90) = 0.16 !Multiple interactions: rescaling power', - 'CKIN( 1) = 40. !(D=2. GeV)', - 'CKIN( 2) = -1. !(D=-1. GeV)', - 'MDME(89,1)=0 ! no tau->electron', - 'MDME(90,1)=0 ! no tau->muon'), - parameterSets = cms.vstring('pythiaZtt') - ) -) - - diff --git a/Validation/RecoParticleFlow/python/source_diJets_cfi.py b/Validation/RecoParticleFlow/python/source_diJets_cfi.py deleted file mode 100644 index 7d8596709e191..0000000000000 --- a/Validation/RecoParticleFlow/python/source_diJets_cfi.py +++ /dev/null @@ -1,35 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -from Configuration.Generator.PythiaUESettings_cfi import * -source = cms.Source( - "PythiaSource", - pythiaVerbosity = cms.untracked.bool(False), - # possibility to run single or double back-to-back particles with PYTHIA - # if ParticleID = 0, run PYTHIA - ParticleID = cms.untracked.int32(1), - DoubleParticle = cms.untracked.bool(True), - Ptmin = cms.untracked.double(20.0), - Ptmax = cms.untracked.double(700.0), -# Emin = cms.untracked.double(10.0), -# Emax = cms.untracked.double(10.0), - Etamin = cms.untracked.double(0.0), - Etamax = cms.untracked.double(1.0), - Phimin = cms.untracked.double(0.0), - Phimax = cms.untracked.double(360.0), - PythiaParameters = cms.PSet( - pythiaUESettingsBlock, - # Tau jets only - pythiaJets = cms.vstring(), - # This is a vector of ParameterSet names to be read, in this order - parameterSets = cms.vstring( - 'pythiaUESettings', - 'pythiaJets' - ) - - ) - -) - - - - diff --git a/Validation/RecoParticleFlow/python/source_singleTau_highPt_cfi.py b/Validation/RecoParticleFlow/python/source_singleTau_highPt_cfi.py deleted file mode 100644 index f22bd0fe7bde2..0000000000000 --- a/Validation/RecoParticleFlow/python/source_singleTau_highPt_cfi.py +++ /dev/null @@ -1,27 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -from Configuration.Generator.PythiaUESettings_cfi import * -source = cms.Source("PythiaSource", - Phimin = cms.untracked.double(0.0), - # possibility to run single or double back-to-back particles with PYTHIA - # if ParticleID = 0, run PYTHIA - ParticleID = cms.untracked.int32(15), - Etamin = cms.untracked.double(-1.0), - DoubleParticle = cms.untracked.bool(False), - Phimax = cms.untracked.double(360.0), - Ptmin = cms.untracked.double(200.0), - Ptmax = cms.untracked.double(500.0001), - Etamax = cms.untracked.double(1.0), - pythiaVerbosity = cms.untracked.bool(False), - PythiaParameters = cms.PSet( - pythiaUESettingsBlock, - pythiaTauJets = cms.vstring('MDME(89,1)=0 ! no tau->electron', - 'MDME(90,1)=0 ! no tau->muon'), - # This is a vector of ParameterSet names to be read, in this order - parameterSets = cms.vstring('pythiaUESettings', - 'pythiaTauJets') - ) -) - - - diff --git a/Validation/RecoParticleFlow/test/SingleParticle_cfg.py b/Validation/RecoParticleFlow/test/SingleParticle_cfg.py deleted file mode 100644 index 359dfc64f258e..0000000000000 --- a/Validation/RecoParticleFlow/test/SingleParticle_cfg.py +++ /dev/null @@ -1,152 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("PROD") - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(10000) -) - -#generation -# Flat energy gun -process.source = cms.Source( - "FlatRandomEGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(==PID==), - MinEta = cms.untracked.double(-5.00000), - MaxEta = cms.untracked.double(5.00000), - MinPhi = cms.untracked.double(-3.14159), ## in radians - MaxPhi = cms.untracked.double(3.14159), - MinE = cms.untracked.double(==EMIN==), - MaxE = cms.untracked.double(==EMAX==), - ), - Verbosity = cms.untracked.int32(0) ## set to 1 (or greater) for printouts -) -""" -# Flat pT gun -process.source = cms.Source( - "FlatRandomPtGunSource", - PGunParameters = cms.untracked.PSet( - PartID = cms.untracked.vint32(==PID==), - MinEta = cms.untracked.double(-5.10000), - MaxEta = cms.untracked.double(5.10000), - MinPhi = cms.untracked.double(-3.14159), ## in radians - MaxPhi = cms.untracked.double(3.14159), - MinPt = cms.untracked.double(==PTMIN==), - MaxPt = cms.untracked.double(==PTMAX==), - ), - Verbosity = cms.untracked.int32(0) ## set to 1 (or greater) for printouts -) -""" - -# this example configuration offers some minimum -# annotation, to help users get through; please -# don't hesitate to read through the comments -# use MessageLogger to redirect/suppress multiple -# service messages coming from the system -# -# in this config below, we use the replace option to make -# the logger let out messages of severity ERROR (INFO level -# will be suppressed), and we want to limit the number to 10 -# -process.load("Configuration.StandardSequences.Services_cff") - -process.load("Configuration.StandardSequences.GeometryRecoDB_cff") - -#process.load("Configuration.StandardSequences.MagneticField_cff") -process.load("Configuration.StandardSequences.MagneticField_40T_cff") - -process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") -process.GlobalTag.globaltag = "IDEAL_30X::All" - -process.load("FWCore.MessageService.MessageLogger_cfi") - -# this config frament brings you the generator information -process.load("Configuration.StandardSequences.Generator_cff") - -# this config frament brings you 3 steps of the detector simulation: -# -- vertex smearing (IR modeling) -# -- G4-based hit level detector simulation -# -- digitization (electronics readout modeling) -# it returns 2 sequences : -# -- psim (vtx smearing + G4 sim) -# -- pdigi (digitization in all subsystems, i.e. tracker=pix+sistrips, -# cal=ecal+ecal-0-suppression+hcal), muon=csc+dt+rpc) -# -process.load("Configuration.StandardSequences.Simulation_cff") - -process.RandomNumberGeneratorService.theSource.initialSeed= ==SEED== -#process.RandomNumberGeneratorService.theSource.initialSeed= 1414 - -# please note the IMPORTANT: -# in order to operate Digis, one needs to include Mixing module -# (pileup modeling), at least in the 0-pileup mode -# -# There're 3 possible configurations of the Mixing module : -# no-pileup, low luminosity pileup, and high luminosity pileup -# -# they come, respectively, through the 3 config fragments below -# -# *each* config returns label "mix"; thus you canNOT have them -# all together in the same configuration, but only one !!! -# -process.load("Configuration.StandardSequences.MixingNoPileUp_cff") - -#include "Configuration/StandardSequences/data/MixingLowLumiPileUp.cff" -#include "Configuration/StandardSequences/data/MixingHighLumiPileUp.cff" -process.load("Configuration.StandardSequences.L1Emulator_cff") - -process.load("Configuration.StandardSequences.DigiToRaw_cff") - -process.load("Configuration.StandardSequences.RawToDigi_cff") - -process.load("Configuration.StandardSequences.VtxSmearedEarly10TeVCollision_cff") - -process.load("Configuration.StandardSequences.Reconstruction_cff") - -# Event output -process.load("Configuration.EventContent.EventContent_cff") - -process.MessageLogger = cms.Service("MessageLogger", - reco = cms.untracked.PSet( - threshold = cms.untracked.string('DEBUG') - ), - destinations = cms.untracked.vstring('reco') -) - -process.aod = cms.OutputModule("PoolOutputModule", - process.AODSIMEventContent, - fileName = cms.untracked.string('aod.root') -) - -process.reco = cms.OutputModule("PoolOutputModule", - process.RECOSIMEventContent, - fileName = cms.untracked.string('reco.root') -) - -process.load("RecoParticleFlow.Configuration.Display_EventContent_cff") -process.display = cms.OutputModule("PoolOutputModule", - process.DisplayEventContent, - fileName = cms.untracked.string('==OUTPUT==') -) - -process.load("RecoParticleFlow.PFProducer.particleFlowSimParticle_cff") - -#process.electronChi2.MaxChi2 = 100000 -#process.electronChi2.nSigma = 3 -#process.pfTrackElec.ModeMomentum = True -#process.pfTrackElec.AddGSFTkColl = False -#process.particleFlowBlock.pf_chi2_ECAL_Track = 900 - -process.p0 = cms.Path(process.pgen) -process.p1 = cms.Path(process.psim) -process.p2 = cms.Path(process.pdigi) -process.p3 = cms.Path(process.L1Emulator) -process.p4 = cms.Path(process.DigiToRaw) -process.p5= cms.Path(process.RawToDigi) -process.p6= cms.Path(process.reconstruction+process.particleFlowSimParticle) -#process.outpath = cms.EndPath(process.aod+process.reco+process.display) -process.outpath = cms.EndPath(process.display) -process.schedule = cms.Schedule(process.p0,process.p1,process.p2,process.p3,process.p4,process.p5,process.p6,process.outpath) - - - diff --git a/Validation/RecoParticleFlow/test/launchSingleParticle.sh b/Validation/RecoParticleFlow/test/launchSingleParticle.sh deleted file mode 100755 index 87d5d3594bb5f..0000000000000 --- a/Validation/RecoParticleFlow/test/launchSingleParticle.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh - -castorhome="/castor/cern.ch/user/p/pjanot/CMSSW300pre6/" -cmsswDir=/afs/cern.ch/user/p/pjanot/scratch0/CMSSW_3_0_0_pre6/src - -# 150000 evenements en 8h -# for energy in 1 2 3 4 5 7 9 -# 100000 evenements en 8h -# for energy in 12 15 20 -# 50000 evenements en 8h -#for energy in 30 50 100 200 -# 30000 evenements en 8h -#for energy in 300 500 700 1000 -#for energy in 15 -# Some electrons with pt = 35 GeV/c -eMin=10 -eMax=100 -#echo "Energy "$energy -echo "E = "$eMin" -> "$eMax - -# for pid in 211 -211 130 321 -321 2112 -2112 2212 -2212 -# for pid in -2212 -for pid in 130 22 - do - echo "PID "$pid - -# DIRNAME=$castorhome"SingleParticlePID"$pid"-E"$energy - DIRNAME=$castorhome"SingleParticlePID"$pid - echo "Creating directory "$DIRNAME - rfmkdir $DIRNAME - for ((job=0;job<=19;job++)); - do - - echo "JOB "$job -# NAME="SingleParticlePID"$pid"-E"$energy"_"$job - NAME="SingleParticlePID"$pid"_E"$eMin"_"$eMax"_"$job - - echo "Name "$NAME - outputfilename=$NAME".root" - echo $outputfilename - seed1=$(( ($job+1)*143123 )) - - - sed -e "s/==OUTPUT==/$outputfilename/" -e "s/==SEED==/$seed1/" -e "s/==PID==/$pid/" -e "s/==EMIN==/$eMin/" -e "s/==EMAX==/$eMax/" SingleParticle_cfg.py > tmp_cfgfile - #sed -e "s/==OUTPUT==/$outputfilename/" -e "s/==SEED==/$seed1/" -e "s/==PID==/$pid/" -e "s/==ENERGY==/$energy/" template.cfg > tmp_cfgfile - - #Start to write the script - cat > job_${NAME}.sh << EOF -#!/bin/sh -cd $cmsswDir -eval \`scramv1 runtime -sh\` -cd - - -#commande pour decoder le .cfg -cat > TEST_cfg.py << "EOF" -EOF - -#Ajoute le .cfg au script -cat tmp_cfgfile >> job_${NAME}.sh - -# On poursuit le script -echo "EOF" >> job_${NAME}.sh -cat >> job_${NAME}.sh << EOF -cmsRun TEST_cfg.py - -rfcp $outputfilename $DIRNAME/$outputfilename - -EOF -chmod 755 job_${NAME}.sh -bsub -q cmst3 -J $NAME -R "mem>2000" $PWD/job_${NAME}.sh - - done - done