00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SKIM")
00004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00005
00006 process.configurationMetadata = cms.untracked.PSet(
00007 version = cms.untracked.string('$Revision: 1.4 $'),
00008 name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/DTskim_cfg.py,v $'),
00009 annotation = cms.untracked.string('Collisions DT skim')
00010 )
00011
00012 process.source = cms.Source("PoolSource",
00013 debugVerbosity = cms.untracked.uint32(0),
00014 debugFlag = cms.untracked.bool(False),
00015 fileNames = cms.untracked.vstring(
00016
00017
00018 '/store/data/BeamCommissioning09/Cosmics/RAW/v1/000/123/151/2C0CB595-0EDE-DE11-921B-0030487C6062.root'
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047 ),
00048 secondaryFileNames = cms.untracked.vstring()
00049 )
00050
00051
00052 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00053 process.GlobalTag.globaltag = "GR09_P_V7::All"
00054
00055 process.muonDTDigis = cms.EDProducer("DTUnpackingModule",
00056 dataType = cms.string('DDU'),
00057 useStandardFEDid = cms.untracked.bool(True),
00058 fedbyType = cms.untracked.bool(True),
00059 readOutParameters = cms.PSet(
00060 debug = cms.untracked.bool(False),
00061 rosParameters = cms.PSet(
00062 writeSC = cms.untracked.bool(True),
00063 readingDDU = cms.untracked.bool(True),
00064 performDataIntegrityMonitor = cms.untracked.bool(False),
00065 readDDUIDfromDDU = cms.untracked.bool(True),
00066 debug = cms.untracked.bool(False),
00067 localDAQ = cms.untracked.bool(False)
00068 ),
00069 localDAQ = cms.untracked.bool(False),
00070 performDataIntegrityMonitor = cms.untracked.bool(False)
00071 )
00072 )
00073
00074
00075 process.HLTDTActivityFilter = cms.EDFilter("HLTDTActivityFilter",
00076 inputDCC = cms.InputTag( "dttfDigis" ),
00077 inputDDU = cms.InputTag( "muonDTDigis" ),
00078 inputDigis = cms.InputTag( "muonDTDigis" ),
00079 processDCC = cms.bool( False ),
00080 processDDU = cms.bool( False ),
00081 processDigis = cms.bool( True ),
00082 processingMode = cms.int32( 0 ),
00083
00084
00085
00086 minChamberLayers = cms.int32( 6 ),
00087 maxStation = cms.int32( 3 ),
00088 minQual = cms.int32( 2 ),
00089 minDDUBX = cms.int32( 9 ),
00090 maxDDUBX = cms.int32( 14 ),
00091 minActiveChambs = cms.int32( 1 )
00092 )
00093
00094 process.HLTDT =cms.EDFilter("HLTHighLevel",
00095 TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
00096 HLTPaths = cms.vstring('HLT_L1MuOpen','HLT_Activity_DT'),
00097 eventSetupPathsKey = cms.string(''),
00098 andOr = cms.bool(True),
00099 throw = cms.bool(False)
00100 )
00101
00102 process.HLTDTpath = cms.Path(process.HLTDT)
00103
00104
00105 process.DTskim=cms.Path(process.muonDTDigis+process.HLTDTActivityFilter)
00106
00107
00108
00109
00110 process.configurationMetadata = cms.untracked.PSet(
00111 version = cms.untracked.string('$Revision: 1.4 $'),
00112 name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/DTskim_cfg.py,v $'),
00113 annotation = cms.untracked.string('BSC skim')
00114 )
00115
00116 process.maxEvents = cms.untracked.PSet(
00117 input = cms.untracked.int32(10)
00118 )
00119
00120
00121
00122 process.out = cms.OutputModule("PoolOutputModule",
00123 fileName = cms.untracked.string('DTskim.root'),
00124 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00125 dataset = cms.untracked.PSet(
00126 dataTier = cms.untracked.string('RAW-RECO'),
00127 filterName = cms.untracked.string('DT_skim')),
00128 SelectEvents = cms.untracked.PSet(
00129 SelectEvents = cms.vstring('DTskim','HLTDTpath')
00130 )
00131 )
00132 process.options = cms.untracked.PSet(
00133 wantSummary = cms.untracked.bool(True)
00134 )
00135
00136 process.e = cms.EndPath(process.out)
00137