Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:14:03

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EX")
0004 process.load("Configuration.StandardSequences.Services_cff")
0005 #process.load('Configuration.StandardSequences.Geometry_cff')
0006 process.load('Configuration.Geometry.GeometryIdeal_cff')
0007 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
0008 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0009 process.load("Configuration.StandardSequences.Reconstruction_cff")
0010 from Configuration.AlCa.GlobalTag import GlobalTag
0011 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:startup')
0012 
0013 process.source = cms.Source(
0014     "PoolSource",
0015     fileNames = cms.untracked.vstring(
0016       '/store/relval/CMSSW_7_0_0_pre8/RelValZEE/GEN-SIM-RECO/PU_START70_V1-v1/00000/10C6FC22-F84A-E311-820E-00304867926C.root',
0017       '/store/relval/CMSSW_7_0_0_pre8/RelValZEE/GEN-SIM-RECO/PU_START70_V1-v1/00000/4AE7C549-EE4A-E311-9021-00261894396D.root',
0018       '/store/relval/CMSSW_7_0_0_pre8/RelValZEE/GEN-SIM-RECO/PU_START70_V1-v1/00000/62E749A2-EF4A-E311-8E58-002618943954.root',
0019       '/store/relval/CMSSW_7_0_0_pre8/RelValZEE/GEN-SIM-RECO/PU_START70_V1-v1/00000/8CA60C13-F14A-E311-AC4A-0026189438F2.root',
0020       '/store/relval/CMSSW_7_0_0_pre8/RelValZEE/GEN-SIM-RECO/PU_START70_V1-v1/00000/C8C11952-074B-E311-A4F2-002618943836.root'
0021     ),
0022     secondaryFileNames = cms.untracked.vstring(),
0023     noEventSort = cms.untracked.bool(True),
0024     duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
0025     )
0026 
0027 
0028 # Event output
0029 process.load("Configuration.EventContent.EventContent_cff")
0030 
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(100)
0033     )
0034 
0035 #my analyzer
0036 process.demo = cms.EDAnalyzer("ElectronTestAnalyzer")
0037 
0038 process.TFileService = cms.Service(
0039     "TFileService",
0040     fileName = cms.string("electronMVA_AOD.root")
0041     )
0042 
0043 process.pAna = cms.Path(process.demo)
0044 
0045 process.schedule = cms.Schedule(process.pAna)
0046 
0047 
0048 
0049 
0050