CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DPGAnalysis/Skims/python/DTskim_cfg.py

Go to the documentation of this file.
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 #'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root'
00017 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/122/478/3466A37A-1FD9-DE11-9734-000423D94E1C.root'
00018 '/store/data/BeamCommissioning09/Cosmics/RAW/v1/000/123/151/2C0CB595-0EDE-DE11-921B-0030487C6062.root'
00019 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/00F05467-F4DD-DE11-857C-003048D2C0F4.root',
00020 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/262EAE54-F9DD-DE11-B1DF-003048D37580.root',
00021 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/30484813-F5DD-DE11-A755-001D09F29619.root',
00022 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/3CE3F1C6-FADD-DE11-8AEA-001D09F251D1.root',
00023 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/464D32E3-FCDD-DE11-A9BD-001D09F28D54.root',
00024 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/6C8F0233-FCDD-DE11-BF8E-001D09F297EF.root',
00025 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/70F27BA6-F3DD-DE11-9988-000423D985B0.root',
00026 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/B06DF213-F5DD-DE11-A90B-001D09F253FC.root',
00027 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/C4897165-F4DD-DE11-A8FF-003048D375AA.root',
00028 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/C6AAB8AB-F3DD-DE11-BC66-001D09F2932B.root',
00029 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/CC8FB1A4-F3DD-DE11-9C83-000423D94E70.root',
00030 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/D0A1B0A8-F3DD-DE11-A151-000423D986C4.root',
00031 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/FAF8E392-0EDE-DE11-87B2-001D09F24493.root'
00032 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/02E8544C-70D8-DE11-85CF-001617C3B66C.root'
00033 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/EADE90F7-4FD8-DE11-A235-000423D996C8.root',
00034 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/B2AD6AF5-4FD8-DE11-8562-001617C3B6DC.root',
00035 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/56043A15-52D8-DE11-B452-001D09F23A20.root',
00036 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/3E5BDB0C-52D8-DE11-B99D-001D09F29321.root',
00037 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/AC9D9BE7-5BD8-DE11-BFDC-000423D9870C.root',
00038 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/6A537973-5BD8-DE11-B339-001D09F2AF1E.root',
00039 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/3CA0854B-58D8-DE11-8BD8-001D09F25456.root',
00040 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/22110B42-5DD8-DE11-A842-001D09F2423B.root',
00041 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/1AB4C1B0-5BD8-DE11-9259-001D09F27067.root',
00042 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/0CEBC0A0-57D8-DE11-A764-000423D9890C.root',
00043 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/F62B040F-6CD8-DE11-9007-001D09F24664.root',
00044 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/EE7B1AC4-6CD8-DE11-97BB-0030487A1FEC.root',
00045 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/4CAB3B6C-6BD8-DE11-845C-000423D9890C.root',
00046 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/02E8544C-70D8-DE11-85CF-001617C3B66C.root'
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 ),   # 0=(DCC | DDU) | Digis/ 
00083                                       # 1=(DCC & DDU) | Digis/
00084                                       # 2=(DCC | DDU) & Digis/
00085                                       # 3=(DCC & DDU) & Digis/   
00086  minChamberLayers = cms.int32( 6 ),
00087  maxStation       = cms.int32( 3 ),
00088  minQual          = cms.int32( 2 ),   # 0-1=L 2-3=H 4=LL 5=HL 6=HH/
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'),           # provide list of HLT paths (or patterns) you want
00097      eventSetupPathsKey = cms.string(''), # not empty => use read paths from AlCaRecoTriggerBitsRcd via this key
00098      andOr = cms.bool(True),             # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
00099      throw = cms.bool(False)    # throw exception on unknown path names
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