Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SKIM2")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 
0006 # activate the following lines to get some output
0007 #process.MessageLogger.cerr.enable = False
0008 #process.MessageLogger.cout = dict(enable = True, threshold = "INFO")
0009 process.options = cms.untracked.PSet(
0010  wantSummary = cms.untracked.bool(True)
0011 )
0012 
0013 
0014 process.ecalskim = cms.EDFilter("ECALActivity",
0015     ebrechitcollection =   cms.InputTag("ecalRecHit","EcalRecHitsEB"),
0016     eerechitcollection =   cms.InputTag("ecalRecHit","EcalRecHitsEE"),
0017     EBnum = cms.untracked.int32(7),
0018     EBthresh = cms.untracked.double(0.3),
0019     EEnum = cms.untracked.int32(5), 
0020     EEthresh = cms.untracked.double(0.5),
0021     ETOTnum = cms.untracked.int32(3),
0022     ETOTthresh = cms.untracked.double(0.8),
0023     applyfilter = cms.untracked.bool(True)                            
0024 )                    
0025 process.ecal = cms.Path(process.ecalskim)
0026 
0027 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0028 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0029 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0030 process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string('32 OR 33 OR 34 OR 35 OR 36 OR 37 OR 38 OR 39 OR 40 OR 41 OR 42 OR 43')
0031 process.bsc = cms.Path(process.hltLevel1GTSeed)
0032 
0033 process.load('DPGAnalysis/SiStripTools/largesistripclusterevents_cfi')
0034 process.largeSiStripClusterEvents.absoluteThreshold = 50
0035 process.largeSiStripClusterEvents.moduleThreshold = 1000
0036 process.clusters = cms.Path(process.largeSiStripClusterEvents)
0037 
0038 
0039 
0040 
0041 process.source = cms.Source("PoolSource",
0042     debugVerbosity = cms.untracked.uint32(0),
0043     debugFlag = cms.untracked.bool(False),
0044     fileNames = cms.untracked.vstring(
0045 'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root'
0046 #'/store/data/Commissioning08/BeamHalo/RECO/StuffAlmostToP5_v1/000/061/642/10A0FE34-A67D-DD11-AD05-000423D94E1C.root'#
0047 #
0048 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FED0EFCD-AB87-DE11-9B72-000423D99658.root',
0049 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC629BD2-CF87-DE11-9077-001D09F25438.root',
0050 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC38EE75-BD87-DE11-822A-001D09F253C0.root',
0051 #'/store/express/CRAFT09/ExpressMuon/FEVT/v1/000/110/835/FC1CB101-A487-DE11-9F10-000423D99660.root'
0052 #
0053 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/D266D139-D871-DE11-A709-001D09F28F0C.root',
0054 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/CA27788D-E871-DE11-8B46-001D09F276CF.root',
0055 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/AC5633B2-D471-DE11-9B3A-001D09F252F3.root',
0056 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/9CD957E7-D071-DE11-B6AE-001D09F252F3.root',
0057 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/94BF68F7-D171-DE11-902B-000423D986A8.root',
0058 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/7838FE1E-C771-DE11-9FD5-000423D98950.root',
0059 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/56632803-DD71-DE11-BAF5-000423D9870C.root',
0060 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/42A67CB9-E971-DE11-AA86-001D09F252F3.root',
0061 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/407225D3-D071-DE11-809B-001D09F297EF.root',
0062 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/3E5E1CF0-D271-DE11-AC2B-000423D94700.root',
0063 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/2C57E916-D071-DE11-AF0E-001D09F24E39.root',
0064 #'/store/data/Commissioning09/Cosmics/RECO/v5/000/105/755/228896A5-E571-DE11-A60B-001D09F2AF96.root'
0065 ))
0066 
0067 process.configurationMetadata = cms.untracked.PSet(
0068     version = cms.untracked.string('$Revision: 1.1 $'),
0069     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/ECALActivity_cfg.py,v $'),
0070     annotation = cms.untracked.string('BSC_ACTIVITY skim')
0071 )
0072 
0073 process.maxEvents = cms.untracked.PSet(
0074     input = cms.untracked.int32(-1)
0075 )
0076 
0077 
0078 
0079 process.out = cms.OutputModule("PoolOutputModule",
0080     fileName = cms.untracked.string('BSC_activity.root'),
0081     outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0082     dataset = cms.untracked.PSet(
0083               dataTier = cms.untracked.string('RECO'),
0084               filterName = cms.untracked.string('BSC_Activity')),
0085     SelectEvents = cms.untracked.PSet(
0086         SelectEvents = cms.vstring('ecal','bsc','clusters')
0087     )
0088 )
0089 
0090 process.e = cms.EndPath(process.out)
0091