CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ECALActivity_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("RESKIM")
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 process.options = cms.untracked.PSet(
10  wantSummary = cms.untracked.bool(True)
11 )
12 
13 
14 process.skimming = cms.EDFilter("ECALActivity",
15  ebrechitcollection = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
16  eerechitcollection = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
17  EBnum = cms.untracked.int32(7),
18  EBthresh = cms.untracked.double(0.3),
19  EEnum = cms.untracked.int32(5),
20  EEthresh = cms.untracked.double(0.5),
21  ETOTnum = cms.untracked.int32(3),
22  ETOTthresh = cms.untracked.double(0.8),
23  applyfilter = cms.untracked.bool(True)
24 )
25 
26 process.source = cms.Source("PoolSource",
27  debugVerbosity = cms.untracked.uint32(0),
28  debugFlag = cms.untracked.bool(False),
29  fileNames = cms.untracked.vstring(
30 'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root'
31 #'/store/data/Commissioning08/BeamHalo/RECO/StuffAlmostToP5_v1/000/061/642/10A0FE34-A67D-DD11-AD05-000423D94E1C.root'#
32 #
33 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FED0EFCD-AB87-DE11-9B72-000423D99658.root',
34 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC629BD2-CF87-DE11-9077-001D09F25438.root',
35 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC38EE75-BD87-DE11-822A-001D09F253C0.root',
36 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC1CB101-A487-DE11-9F10-000423D99660.root'
37 #
38 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root',
39 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/CA27788D-E871-DE11-8B46-001D09F276CF.root',
40 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/AC5633B2-D471-DE11-9B3A-001D09F252F3.root',
41 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/9CD957E7-D071-DE11-B6AE-001D09F252F3.root',
42 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/94BF68F7-D171-DE11-902B-000423D986A8.root',
43 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/7838FE1E-C771-DE11-9FD5-000423D98950.root',
44 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/56632803-DD71-DE11-BAF5-000423D9870C.root',
45 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/42A67CB9-E971-DE11-AA86-001D09F252F3.root',
46 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/407225D3-D071-DE11-809B-001D09F297EF.root',
47 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/3E5E1CF0-D271-DE11-AC2B-000423D94700.root',
48 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/2C57E916-D071-DE11-AF0E-001D09F24E39.root',
49 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/228896A5-E571-DE11-A60B-001D09F2AF96.root'
50 ))
51 
52 process.configurationMetadata = cms.untracked.PSet(
53  version = cms.untracked.string('$Revision: 1.1 $'),
54  name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/BeamSplash_cfg.py,v $'),
55  annotation = cms.untracked.string('ECALActivity skim')
56 )
57 
58 process.maxEvents = cms.untracked.PSet(
59  input = cms.untracked.int32(-1)
60 )
61 process.out = cms.OutputModule("PoolOutputModule",
62  fileName = cms.untracked.string('ECALActivity.root'),
63  outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
64  dataset = cms.untracked.PSet(
65  dataTier = cms.untracked.string('RECO'),
66  filterName = cms.untracked.string('ECALActivity')),
67  SelectEvents = cms.untracked.PSet(
68  SelectEvents = cms.vstring('p')
69  )
70 )
71 
72 process.p = cms.Path(process.skimming)
73 process.e = cms.EndPath(process.out)
74