1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SKIM")
4 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
6 process.configurationMetadata = cms.untracked.PSet(
7 version = cms.untracked.string(
'$Revision: 1.4 $'),
8 name = cms.untracked.string(
'$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/DTskim_cfg.py,v $'),
9 annotation = cms.untracked.string(
'Collisions DT skim')
12 process.source = cms.Source(
"PoolSource",
13 debugVerbosity = cms.untracked.uint32(0),
14 debugFlag = cms.untracked.bool(
False),
15 fileNames = cms.untracked.vstring(
18 '/store/data/BeamCommissioning09/Cosmics/RAW/v1/000/123/151/2C0CB595-0EDE-DE11-921B-0030487C6062.root' 48 secondaryFileNames = cms.untracked.vstring()
52 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
53 process.GlobalTag.globaltag =
"GR09_P_V7::All" 55 process.muonDTDigis = cms.EDProducer(
"DTUnpackingModule",
56 dataType = cms.string(
'DDU'),
57 useStandardFEDid = cms.untracked.bool(
True),
58 fedbyType = cms.untracked.bool(
True),
59 readOutParameters = cms.PSet(
60 debug = cms.untracked.bool(
False),
61 rosParameters = cms.PSet(
62 writeSC = cms.untracked.bool(
True),
63 readingDDU = cms.untracked.bool(
True),
64 performDataIntegrityMonitor = cms.untracked.bool(
False),
65 readDDUIDfromDDU = cms.untracked.bool(
True),
66 debug = cms.untracked.bool(
False),
67 localDAQ = cms.untracked.bool(
False)
69 localDAQ = cms.untracked.bool(
False),
70 performDataIntegrityMonitor = cms.untracked.bool(
False)
75 process.hltDTActivityFilter = cms.EDFilter(
"HLTDTActivityFilter",
76 inputDCC = cms.InputTag(
"dttfDigis" ),
77 inputDDU = cms.InputTag(
"muonDTDigis" ),
78 inputDigis = cms.InputTag(
"muonDTDigis" ),
79 processDCC = cms.bool(
False ),
80 processDDU = cms.bool(
False ),
81 processDigis = cms.bool(
True ),
82 processingMode = cms.int32( 0 ),
86 minChamberLayers = cms.int32( 6 ),
87 maxStation = cms.int32( 3 ),
88 minQual = cms.int32( 2 ),
89 minDDUBX = cms.int32( 9 ),
90 maxDDUBX = cms.int32( 14 ),
91 minActiveChambs = cms.int32( 1 )
94 process.HLTDT =cms.EDFilter(
"HLTHighLevel",
95 TriggerResultsTag = cms.InputTag(
"TriggerResults",
"",
"HLT"),
96 HLTPaths = cms.vstring(
'HLT_L1MuOpen',
'HLT_Activity_DT'),
97 eventSetupPathsKey = cms.string(
''),
98 andOr = cms.bool(
True),
99 throw = cms.bool(
False),
100 saveTags = cms.bool(
False)
103 process.HLTDTpath = cms.Path(process.HLTDT)
106 process.DTskim=cms.Path(process.muonDTDigis+process.hltDTActivityFilter)
111 process.configurationMetadata = cms.untracked.PSet(
112 version = cms.untracked.string(
'$Revision: 1.4 $'),
113 name = cms.untracked.string(
'$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/DTskim_cfg.py,v $'),
114 annotation = cms.untracked.string(
'BSC skim')
117 process.maxEvents = cms.untracked.PSet(
118 input = cms.untracked.int32(10)
123 process.out = cms.OutputModule(
"PoolOutputModule",
124 fileName = cms.untracked.string(
'DTSkim.root'),
125 outputCommands = cms.untracked.vstring(
'keep *',
'drop *_MEtoEDMConverter_*_*'),
126 dataset = cms.untracked.PSet(
127 dataTier = cms.untracked.string(
'RAW-RECO'),
128 filterName = cms.untracked.string(
'DT_skim')),
129 SelectEvents = cms.untracked.PSet(
130 SelectEvents = cms.vstring(
'DTskim',
'HLTDTpath')
133 process.options = cms.untracked.PSet(
134 wantSummary = cms.untracked.bool(
True)
137 process.e = cms.EndPath(process.out)