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.5 $'),
00008 name = cms.untracked.string('$Source: /local/reps/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 saveTags = cms.bool(False)
00101 )
00102
00103 process.HLTDTpath = cms.Path(process.HLTDT)
00104
00105
00106 process.DTskim=cms.Path(process.muonDTDigis+process.HLTDTActivityFilter)
00107
00108
00109
00110
00111 process.configurationMetadata = cms.untracked.PSet(
00112 version = cms.untracked.string('$Revision: 1.5 $'),
00113 name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/DTskim_cfg.py,v $'),
00114 annotation = cms.untracked.string('BSC skim')
00115 )
00116
00117 process.maxEvents = cms.untracked.PSet(
00118 input = cms.untracked.int32(10)
00119 )
00120
00121
00122
00123 process.out = cms.OutputModule("PoolOutputModule",
00124 fileName = cms.untracked.string('DTskim.root'),
00125 outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
00126 dataset = cms.untracked.PSet(
00127 dataTier = cms.untracked.string('RAW-RECO'),
00128 filterName = cms.untracked.string('DT_skim')),
00129 SelectEvents = cms.untracked.PSet(
00130 SelectEvents = cms.vstring('DTskim','HLTDTpath')
00131 )
00132 )
00133 process.options = cms.untracked.PSet(
00134 wantSummary = cms.untracked.bool(True)
00135 )
00136
00137 process.e = cms.EndPath(process.out)
00138