PageRenderTime 40ms CodeModel.GetById 28ms app.highlight 7ms RepoModel.GetById 2ms app.codeStats 0ms

/ElectroWeakAnalysis/Skimming/test/EWK_ZMuMuSubskim.py

https://github.com/aivanov-cern/cmssw
Python | 38 lines | 18 code | 10 blank | 10 comment | 0 complexity | 3e0f77e1b98eb5f68feb373d11e83ebd MD5 | raw file
 1import FWCore.ParameterSet.Config as cms
 2
 3process = cms.Process("TestZMuMuSubskim")
 4
 5process.load("FWCore.MessageLogger.MessageLogger_cfi")
 6process.options   = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
 7
 8# source
 9process.source = cms.Source("PoolSource", 
10     fileNames = cms.untracked.vstring(
11    'file:/scratch2/users/fabozzi/spring10/zmm/38262142-DF46-DF11-8238-0030487C6A90.root'
12    )
13)
14process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) )
15
16process.load("Configuration.StandardSequences.Geometry_cff")
17process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
18#process.GlobalTag.globaltag = cms.string('START37_V1A::All')
19process.GlobalTag.globaltag = cms.string('MC_3XY_V26::All')
20process.load("Configuration.StandardSequences.MagneticField_cff")
21
22############
23## no MC truth and on data
24process.load("ElectroWeakAnalysis.Skimming.zMuMu_SubskimPaths_cff")
25
26# Output module configuration
27process.load("ElectroWeakAnalysis.Skimming.zMuMuSubskimOutputModule_cfi")
28process.zMuMuSubskimOutputModule.fileName = 'testZMuMuSubskim.root'
29
30############
31# MC truth matching sequence
32#process.load("ElectroWeakAnalysis.Skimming.zMuMu_SubskimPathsWithMCTruth_cff")
33#process.zMuMuSubskimOutputModule.outputCommands.extend(process.mcEventContent.outputCommands)
34############
35
36process.outpath = cms.EndPath(process.zMuMuSubskimOutputModule)
37
38