File indexing completed on 2024-04-06 12:24:50
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("electrons")
0004
0005 process.load("Configuration.StandardSequences.GeometryDB_cff")
0006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 process.load("Configuration.StandardSequences.MagneticField_cff")
0008
0009 process.load("RecoEgamma.EgammaElectronProducers.gsfElectronSequence_cff")
0010
0011 process.load("RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi")
0012 process.load("RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi")
0013 process.load("RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitMatcher_cfi")
0014 process.load("RecoLocalTracker.SiStripRecHitConverter.StripCPEfromTrackAngle_cfi")
0015 process.load("RecoLocalTracker.SiStripZeroSuppression.SiStripZeroSuppression_cfi")
0016 process.load("RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi")
0017 process.load("RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizer_cfi")
0018 process.load("RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff")
0019 process.load("RecoTracker.TransientTrackingRecHit.TTRHBuilders_cff")
0020
0021 process.source = cms.Source("PoolSource",
0022 debugVerbosity = cms.untracked.uint32(1),
0023 debugFlag = cms.untracked.bool(True),
0024 fileNames = cms.untracked.vstring(
0025 '/store/relval/CMSSW_3_1_0_pre1/RelValSingleElectronPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0001/2A118AB2-E2F7-DD11-BF41-000423D33970.root',
0026 '/store/relval/CMSSW_3_1_0_pre1/RelValSingleElectronPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0001/3C20F64F-E0F7-DD11-995E-001617C3B76E.root',
0027 '/store/relval/CMSSW_3_1_0_pre1/RelValSingleElectronPt35/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0001/F43C3B85-E1F7-DD11-BE69-001617C3B78C.root'
0028 )
0029 )
0030
0031 process.maxEvents = cms.untracked.PSet(
0032 input = cms.untracked.int32(-1)
0033 )
0034
0035 process.out = cms.OutputModule("PoolOutputModule",
0036 outputCommands = cms.untracked.vstring('drop *',
0037 'keep recoSuperClusters*_*_*_*',
0038 'keep *_iterativeCone5CaloJets_*_*',
0039 'keep *_*_*_electrons',
0040 'keep *HepMCProduct_*_*_*'),
0041 fileName = cms.untracked.string('electrons.root')
0042 )
0043
0044 process.gsfElectronAnalysis = cms.EDAnalyzer("GsfElectronMCAnalyzer",
0045 electronCollection = cms.InputTag("gsfElectrons"),
0046 mcTruthCollection = cms.InputTag("source"),
0047 outputFile = cms.string("gsfElectronHistos_RelVal330pre1SingleElectronPt35_testnewconfig_isEndcaps.root"),
0048 MaxPt = cms.double(100.0),
0049 DeltaR = cms.double(0.05),
0050 MaxAbsEta = cms.double(2.5),
0051 Etamin = cms.double(-2.5),
0052 Etamax = cms.double(2.5),
0053 Phimax = cms.double(3.2),
0054 Phimin = cms.double(-3.2),
0055 Ptmax = cms.double(100.0),
0056 Pmax = cms.double(300.0),
0057 Eopmax = cms.double(5.0),
0058 Eopmaxsht = cms.double(3.0),
0059 Detamin = cms.double(-0.005),
0060 Detamax = cms.double(0.005),
0061 Dphimin = cms.double(-0.01),
0062 Dphimax = cms.double(0.01),
0063 Dphimatchmin = cms.double(-0.2),
0064 Dphimatchmax = cms.double(0.2),
0065 Detamatchmin = cms.double(-0.05),
0066 Detamatchmax = cms.double(0.05),
0067 Fhitsmax = cms.double(20.0),
0068 Lhitsmax = cms.double(10.0),
0069 Nbinxyz = cms.int32(50),
0070 Nbineop2D = cms.int32(30),
0071 Nbinp = cms.int32(50),
0072 Nbineta2D = cms.int32(50),
0073 Nbinfhits = cms.int32(20),
0074 Nbinlhits = cms.int32(5),
0075 Nbinpteff = cms.int32(19),
0076 Nbinphi2D = cms.int32(32),
0077 Nbindetamatch2D = cms.int32(50),
0078 Nbineta = cms.int32(50),
0079 Nbinp2D = cms.int32(50),
0080 Nbindeta = cms.int32(100),
0081 Nbinpt2D = cms.int32(50),
0082 Nbindetamatch = cms.int32(100),
0083 Nbinphi = cms.int32(64),
0084 Nbindphimatch = cms.int32(100),
0085 Nbinpt = cms.int32(50),
0086 Nbindphimatch2D = cms.int32(50),
0087 Nbindphi = cms.int32(100),
0088 Nbineop = cms.int32(50)
0089 )
0090
0091 process.load("Configuration.StandardSequences.Services_cff")
0092 process.load("Configuration.StandardSequences.GeometryPilot2_cff")
0093 process.load("Configuration.StandardSequences.MagneticField_cff")
0094 process.load("FWCore.MessageService.MessageLogger_cfi")
0095 process.load("Configuration.StandardSequences.RawToDigi_cff")
0096 process.load("Configuration.StandardSequences.Reconstruction_cff")
0097 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0098 process.load("Configuration.EventContent.EventContent_cff")
0099
0100 process.mylocalreco = cms.Sequence(process.trackerlocalreco*process.calolocalreco)
0101 process.myglobalreco = cms.Sequence(process.offlineBeamSpot+process.recopixelvertexing*process.ckftracks+process.ecalClusters+process.caloTowersRec*process.vertexreco*process.gsfElectronSequence)
0102 process.p = cms.Path(process.RawToDigi*process.mylocalreco*process.myglobalreco*process.gsfElectronAnalysis)
0103
0104 process.outpath = cms.EndPath(process.out)
0105 process.GlobalTag.globaltag = 'MC_31X_V2'
0106
0107