CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTskim_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("SKIM")
4 process.load("FWCore.MessageLogger.MessageLogger_cfi")
5 
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')
10 )
11 
12 process.source = cms.Source("PoolSource",
13  debugVerbosity = cms.untracked.uint32(0),
14  debugFlag = cms.untracked.bool(False),
15  fileNames = cms.untracked.vstring(
16 #'file:/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/bit40or41skim.root'
17 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/122/478/3466A37A-1FD9-DE11-9734-000423D94E1C.root'
18 '/store/data/BeamCommissioning09/Cosmics/RAW/v1/000/123/151/2C0CB595-0EDE-DE11-921B-0030487C6062.root'
19 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/00F05467-F4DD-DE11-857C-003048D2C0F4.root',
20 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/262EAE54-F9DD-DE11-B1DF-003048D37580.root',
21 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/30484813-F5DD-DE11-A755-001D09F29619.root',
22 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/3CE3F1C6-FADD-DE11-8AEA-001D09F251D1.root',
23 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/464D32E3-FCDD-DE11-A9BD-001D09F28D54.root',
24 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/6C8F0233-FCDD-DE11-BF8E-001D09F297EF.root',
25 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/70F27BA6-F3DD-DE11-9988-000423D985B0.root',
26 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/B06DF213-F5DD-DE11-A90B-001D09F253FC.root',
27 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/C4897165-F4DD-DE11-A8FF-003048D375AA.root',
28 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/C6AAB8AB-F3DD-DE11-BC66-001D09F2932B.root',
29 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/CC8FB1A4-F3DD-DE11-9C83-000423D94E70.root',
30 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/D0A1B0A8-F3DD-DE11-A151-000423D986C4.root',
31 #'/store/data/BeamCommissioning09/MinimumBias/RAW/v1/000/123/151/FAF8E392-0EDE-DE11-87B2-001D09F24493.root'
32 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/02E8544C-70D8-DE11-85CF-001617C3B66C.root'
33 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/EADE90F7-4FD8-DE11-A235-000423D996C8.root',
34 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/B2AD6AF5-4FD8-DE11-8562-001617C3B6DC.root',
35 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/56043A15-52D8-DE11-B452-001D09F23A20.root',
36 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/294/3E5BDB0C-52D8-DE11-B99D-001D09F29321.root',
37 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/AC9D9BE7-5BD8-DE11-BFDC-000423D9870C.root',
38 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/6A537973-5BD8-DE11-B339-001D09F2AF1E.root',
39 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/3CA0854B-58D8-DE11-8BD8-001D09F25456.root',
40 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/22110B42-5DD8-DE11-A842-001D09F2423B.root',
41 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/1AB4C1B0-5BD8-DE11-9259-001D09F27067.root',
42 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/301/0CEBC0A0-57D8-DE11-A764-000423D9890C.root',
43 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/F62B040F-6CD8-DE11-9007-001D09F24664.root',
44 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/EE7B1AC4-6CD8-DE11-97BB-0030487A1FEC.root',
45 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/4CAB3B6C-6BD8-DE11-845C-000423D9890C.root',
46 #'/store/data/BeamCommissioning09/MinimumBias/RECO/v2/000/122/314/02E8544C-70D8-DE11-85CF-001617C3B66C.root'
47 ),
48 secondaryFileNames = cms.untracked.vstring()
49 )
50 
51 
52 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
53 process.GlobalTag.globaltag = "GR09_P_V7::All"
54 
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)
68  ),
69  localDAQ = cms.untracked.bool(False),
70  performDataIntegrityMonitor = cms.untracked.bool(False)
71  )
72 )
73 
74 
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 ), # 0=(DCC | DDU) | Digis/
83  # 1=(DCC & DDU) | Digis/
84  # 2=(DCC | DDU) & Digis/
85  # 3=(DCC & DDU) & Digis/
86  minChamberLayers = cms.int32( 6 ),
87  maxStation = cms.int32( 3 ),
88  minQual = cms.int32( 2 ), # 0-1=L 2-3=H 4=LL 5=HL 6=HH/
89  minDDUBX = cms.int32( 9 ),
90  maxDDUBX = cms.int32( 14 ),
91  minActiveChambs = cms.int32( 1 )
92 )
93 
94 process.HLTDT =cms.EDFilter("HLTHighLevel",
95  TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
96  HLTPaths = cms.vstring('HLT_L1MuOpen','HLT_Activity_DT'), # provide list of HLT paths (or patterns) you want
97  eventSetupPathsKey = cms.string(''), # not empty => use read paths from AlCaRecoTriggerBitsRcd via this key
98  andOr = cms.bool(True), # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
99  throw = cms.bool(False), # throw exception on unknown path names
100  saveTags = cms.bool(False)
101 )
102 
103 process.HLTDTpath = cms.Path(process.HLTDT)
104 
105 
106 process.DTskim=cms.Path(process.muonDTDigis+process.hltDTActivityFilter)
107 
108 
109 
110 
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')
115 )
116 
117 process.maxEvents = cms.untracked.PSet(
118  input = cms.untracked.int32(10)
119 )
120 
121 
122 
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')
131  )
132 )
133 process.options = cms.untracked.PSet(
134  wantSummary = cms.untracked.bool(True)
135 )
136 
137 process.e = cms.EndPath(process.out)
138