CMS 3D CMS Logo

BeamSplash_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("SKIM")
4 process.load("FWCore.MessageLogger.MessageLogger_cfi")
5 
6 # activate the following lines to get some output
7 #process.MessageLogger.cerr.enable = False
8 #process.MessageLogger.cout = dict(enable = True, threshold = "INFO")
9 
10 process.skimming = cms.EDFilter("BeamSplash",
11  energycuttot = cms.untracked.double(1000.0),
12  energycutecal = cms.untracked.double(700.0),
13  energycuthcal = cms.untracked.double(700.0),
14  ebrechitcollection = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
15  eerechitcollection = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
16  hbherechitcollection = cms.InputTag("hbhereco")
17 )
18 
19 process.source = cms.Source("PoolSource",
20  debugVerbosity = cms.untracked.uint32(0),
21  debugFlag = cms.untracked.bool(False),
22  fileNames = cms.untracked.vstring(
23 '/store/data/Commissioning08/BeamHalo/RECO/StuffAlmostToP5_v1/000/061/642/10A0FE34-A67D-DD11-AD05-000423D94E1C.root'
24 #
25 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FED0EFCD-AB87-DE11-9B72-000423D99658.root',
26 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC629BD2-CF87-DE11-9077-001D09F25438.root',
27 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC38EE75-BD87-DE11-822A-001D09F253C0.root',
28 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC1CB101-A487-DE11-9F10-000423D99660.root'
29 #
30 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root',
31 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/CA27788D-E871-DE11-8B46-001D09F276CF.root',
32 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/AC5633B2-D471-DE11-9B3A-001D09F252F3.root',
33 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/9CD957E7-D071-DE11-B6AE-001D09F252F3.root',
34 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/94BF68F7-D171-DE11-902B-000423D986A8.root',
35 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/7838FE1E-C771-DE11-9FD5-000423D98950.root',
36 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/56632803-DD71-DE11-BAF5-000423D9870C.root',
37 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/42A67CB9-E971-DE11-AA86-001D09F252F3.root',
38 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/407225D3-D071-DE11-809B-001D09F297EF.root',
39 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/3E5E1CF0-D271-DE11-AC2B-000423D94700.root',
40 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/2C57E916-D071-DE11-AF0E-001D09F24E39.root',
41 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/228896A5-E571-DE11-A60B-001D09F2AF96.root'
42 ))
43 
44 process.configurationMetadata = cms.untracked.PSet(
45  version = cms.untracked.string('$Revision: 1.1 $'),
46  name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/BeamSplash_cfg.py,v $'),
47  annotation = cms.untracked.string('BeamSplash skim')
48 )
49 
50 process.maxEvents = cms.untracked.PSet(
51  input = cms.untracked.int32(-1)
52 )
53 process.out = cms.OutputModule("PoolOutputModule",
54  fileName = cms.untracked.string('/tmp/malgeri/BeamSplash.root'),
55  outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
56  dataset = cms.untracked.PSet(
57  dataTier = cms.untracked.string('RECO'),
58  filterName = cms.untracked.string('BeamSplash')),
59  SelectEvents = cms.untracked.PSet(
60  SelectEvents = cms.vstring('p')
61  )
62 )
63 
64 process.p = cms.Path(process.skimming)
65 process.e = cms.EndPath(process.out)
66