Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("SKIM")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 
0006 process.configurationMetadata = cms.untracked.PSet(
0007     version = cms.untracked.string('$Revision: 1.4 $'),
0008     name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/DTskim_cfg.py,v $'),
0009     annotation = cms.untracked.string('Collisions DT skim')
0010 )
0011 
0012 process.source = cms.Source("PoolSource",
0013     debugVerbosity = cms.untracked.uint32(0),
0014     debugFlag = cms.untracked.bool(False),
0015     fileNames = cms.untracked.vstring(
0016 #'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root'
0017 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/122/478/3466A37A-1FD9-DE11-9734-000423D94E1C.root'
0018 '/store/data/BeamCommissioning09/Cosmics/RAW/v1/000/123/151/2C0CB595-0EDE-DE11-921B-0030487C6062.root'
0019 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/00F05467-F4DD-DE11-857C-003048D2C0F4.root',
0020 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/262EAE54-F9DD-DE11-B1DF-003048D37580.root',
0021 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/30484813-F5DD-DE11-A755-001D09F29619.root',
0022 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/3CE3F1C6-FADD-DE11-8AEA-001D09F251D1.root',
0023 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/464D32E3-FCDD-DE11-A9BD-001D09F28D54.root',
0024 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/6C8F0233-FCDD-DE11-BF8E-001D09F297EF.root',
0025 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/70F27BA6-F3DD-DE11-9988-000423D985B0.root',
0026 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/B06DF213-F5DD-DE11-A90B-001D09F253FC.root',
0027 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/C4897165-F4DD-DE11-A8FF-003048D375AA.root',
0028 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/C6AAB8AB-F3DD-DE11-BC66-001D09F2932B.root',
0029 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/CC8FB1A4-F3DD-DE11-9C83-000423D94E70.root',
0030 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/D0A1B0A8-F3DD-DE11-A151-000423D986C4.root',
0031 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/FAF8E392-0EDE-DE11-87B2-001D09F24493.root'
0032 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/02E8544C-70D8-DE11-85CF-001617C3B66C.root'
0033 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/EADE90F7-4FD8-DE11-A235-000423D996C8.root',
0034 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/B2AD6AF5-4FD8-DE11-8562-001617C3B6DC.root',
0035 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/56043A15-52D8-DE11-B452-001D09F23A20.root',
0036 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/3E5BDB0C-52D8-DE11-B99D-001D09F29321.root',
0037 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/AC9D9BE7-5BD8-DE11-BFDC-000423D9870C.root',
0038 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/6A537973-5BD8-DE11-B339-001D09F2AF1E.root',
0039 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/3CA0854B-58D8-DE11-8BD8-001D09F25456.root',
0040 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/22110B42-5DD8-DE11-A842-001D09F2423B.root',
0041 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/1AB4C1B0-5BD8-DE11-9259-001D09F27067.root',
0042 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/0CEBC0A0-57D8-DE11-A764-000423D9890C.root',
0043 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/F62B040F-6CD8-DE11-9007-001D09F24664.root',
0044 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/EE7B1AC4-6CD8-DE11-97BB-0030487A1FEC.root',
0045 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/4CAB3B6C-6BD8-DE11-845C-000423D9890C.root',
0046 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/02E8544C-70D8-DE11-85CF-001617C3B66C.root'
0047 ),
0048 secondaryFileNames = cms.untracked.vstring()
0049 )
0050 
0051 
0052 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0053 process.GlobalTag.globaltag = "GR09_P_V7::All"
0054 
0055 process.muonDTDigis = cms.EDProducer("DTUnpackingModule",
0056     dataType = cms.string('DDU'),
0057     useStandardFEDid = cms.untracked.bool(True),
0058     fedbyType = cms.untracked.bool(True),
0059     readOutParameters = cms.PSet(
0060         debug = cms.untracked.bool(False),
0061         rosParameters = cms.PSet(
0062             writeSC = cms.untracked.bool(True),
0063             readingDDU = cms.untracked.bool(True),
0064             performDataIntegrityMonitor = cms.untracked.bool(False),
0065             readDDUIDfromDDU = cms.untracked.bool(True),
0066             debug = cms.untracked.bool(False),
0067             localDAQ = cms.untracked.bool(False)
0068         ),
0069         localDAQ = cms.untracked.bool(False),
0070         performDataIntegrityMonitor = cms.untracked.bool(False)
0071     )
0072 )
0073 
0074 
0075 process.hltDTActivityFilter = cms.EDFilter("HLTDTActivityFilter",
0076  inputDCC         = cms.InputTag( "dttfDigis" ),   
0077  inputDDU         = cms.InputTag( "muonDTDigis" ),   
0078  inputDigis       = cms.InputTag( "muonDTDigis" ),   
0079  processDCC       = cms.bool( False ),   
0080  processDDU       = cms.bool( False ),   
0081  processDigis     = cms.bool( True ),   
0082  processingMode   = cms.int32( 0 ),   # 0=(DCC | DDU) | Digis/ 
0083                                       # 1=(DCC & DDU) | Digis/
0084                                       # 2=(DCC | DDU) & Digis/
0085                                       # 3=(DCC & DDU) & Digis/   
0086  minChamberLayers = cms.int32( 6 ),
0087  maxStation       = cms.int32( 3 ),
0088  minQual          = cms.int32( 2 ),   # 0-1=L 2-3=H 4=LL 5=HL 6=HH/
0089  minDDUBX         = cms.int32( 9 ),
0090  maxDDUBX         = cms.int32( 14 ),
0091  minActiveChambs  = cms.int32( 1 )
0092 )
0093 
0094 process.HLTDT =cms.EDFilter("HLTHighLevel",
0095      TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
0096      HLTPaths = cms.vstring('HLT_L1MuOpen','HLT_Activity_DT'),           # provide list of HLT paths (or patterns) you want
0097      eventSetupPathsKey = cms.string(''), # not empty => use read paths from AlCaRecoTriggerBitsRcd via this key
0098      andOr = cms.bool(True),             # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
0099      throw = cms.bool(False),    # throw exception on unknown path names
0100      saveTags = cms.bool(False)
0101 )
0102 
0103 process.HLTDTpath = cms.Path(process.HLTDT)
0104 
0105 
0106 process.DTskim=cms.Path(process.muonDTDigis+process.hltDTActivityFilter)
0107 
0108 
0109 
0110 
0111 process.configurationMetadata = cms.untracked.PSet(
0112     version = cms.untracked.string('$Revision: 1.4 $'),
0113     name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/DTskim_cfg.py,v $'),
0114     annotation = cms.untracked.string('BSC skim')
0115 )
0116 
0117 process.maxEvents = cms.untracked.PSet(
0118     input = cms.untracked.int32(10)
0119 )
0120 
0121 
0122 
0123 process.out = cms.OutputModule("PoolOutputModule",
0124     fileName = cms.untracked.string('DTSkim.root'),
0125     outputCommands = cms.untracked.vstring('keep *','drop *_MEtoEDMConverter_*_*'),
0126     dataset = cms.untracked.PSet(
0127               dataTier = cms.untracked.string('RAW-RECO'),
0128               filterName = cms.untracked.string('DT_skim')),
0129     SelectEvents = cms.untracked.PSet(
0130         SelectEvents = cms.vstring('DTskim','HLTDTpath')
0131        )
0132 )
0133 process.options = cms.untracked.PSet(
0134  wantSummary = cms.untracked.bool(True)
0135 )
0136 
0137 process.e = cms.EndPath(process.out)
0138