@@ -130,6 +130,16 @@ def testOutputFormatWithEventContent(self):
130130 options .datatier = "MINIAOD"
131131 options .eventcontent = "MINIAOD"
132132 _test_addOutput (self , options , process , [OutStats ('MINIAODoutput' ,'PoolOutputModule' ,'MINIAOD' ,'output.root' ,outputCommands_ )])
133+ #MINIAOD w/ RNTuple
134+ process = cms .Process ("TEST" )
135+ outputCommands_ = cms .untracked .vstring ('drop *' , 'keep foo' )
136+ process .MINIAODEventContent = cms .PSet ( outputCommands = outputCommands_ )
137+ options = copy .deepcopy (defaultOptions )
138+ options .scenario = "TEST"
139+ options .datatier = "MINIAOD"
140+ options .eventcontent = "MINIAOD"
141+ options .rntuple_out = True
142+ _test_addOutput (self , options , process , [OutStats ('MINIAODoutput' ,'RNTupleOutputModule' ,'MINIAOD' ,'output.rntpl' ,outputCommands_ )])
133143 #MINIAOD1 [NOTE notiation not restricted to MINIAOD]
134144 #NOT SUPPORTED BY outputDefinition
135145 process = cms .Process ("TEST" )
@@ -149,6 +159,16 @@ def testOutputFormatWithEventContent(self):
149159 options .datatier = "DQMIO"
150160 options .eventcontent = "DQM"
151161 _test_addOutput (self , options , process , [OutStats ('DQMoutput' ,'DQMRootOutputModule' ,'DQMIO' ,'output.root' ,outputCommands_ )])
162+ #DQMIO & rntuple (will not change)
163+ process = cms .Process ("TEST" )
164+ outputCommands_ = cms .untracked .vstring ('drop *' , 'keep foo' )
165+ process .DQMEventContent = cms .PSet ( outputCommands = outputCommands_ )
166+ options = copy .deepcopy (defaultOptions )
167+ options .scenario = "TEST"
168+ options .datatier = "DQMIO"
169+ options .eventcontent = "DQM"
170+ options .rntuple_out = True
171+ _test_addOutput (self , options , process , [OutStats ('DQMoutput' ,'DQMRootOutputModule' ,'DQMIO' ,'output.root' ,outputCommands_ )])
152172 #DQMIO&DQMIO
153173 process = cms .Process ("TEST" )
154174 outputCommands_ = cms .untracked .vstring ('drop *' , 'keep foo' )
@@ -158,6 +178,16 @@ def testOutputFormatWithEventContent(self):
158178 options .datatier = "DQMIO"
159179 options .eventcontent = "DQMIO"
160180 _test_addOutput (self , options , process , [OutStats ('DQMoutput' ,'DQMRootOutputModule' ,'DQMIO' ,'output.root' ,outputCommands_ )])
181+ #DQMIO&DQMIO & rntuple (will not change)
182+ process = cms .Process ("TEST" )
183+ outputCommands_ = cms .untracked .vstring ('drop *' , 'keep foo' )
184+ process .DQMEventContent = cms .PSet ( outputCommands = outputCommands_ )
185+ options = copy .deepcopy (defaultOptions )
186+ options .scenario = "TEST"
187+ options .datatier = "DQMIO"
188+ options .eventcontent = "DQMIO"
189+ options .rntuple_out = True
190+ _test_addOutput (self , options , process , [OutStats ('DQMoutput' ,'DQMRootOutputModule' ,'DQMIO' ,'output.root' ,outputCommands_ )])
161191 #DQM, not DQMIO (decided by datatier)
162192 process = cms .Process ("TEST" )
163193 outputCommands_ = cms .untracked .vstring ('drop *' , 'keep foo' )
@@ -185,6 +215,26 @@ def testOutputFormatWithEventContent(self):
185215 options .datatier = "NANOAOD"
186216 options .eventcontent = "NANOEDMAOD"
187217 _test_addOutput (self , options , process , [OutStats ('NANOEDMAODoutput' , 'PoolOutputModule' , 'NANOAOD' , 'output.root' , outputCommands_ )])
218+ #NANOAOD & rntuple (no change)
219+ process = cms .Process ("TEST" )
220+ outputCommands_ = cms .untracked .vstring ('drop *' , 'keep foo' )
221+ process .NANOAODEventContent = cms .PSet ( outputCommands = outputCommands_ )
222+ options = copy .deepcopy (defaultOptions )
223+ options .scenario = "TEST"
224+ options .datatier = "NANOAOD"
225+ options .eventcontent = "NANOAOD"
226+ options .rntuple_out = True
227+ _test_addOutput (self , options , process , [OutStats ('NANOAODoutput' ,'NanoAODOutputModule' ,'NANOAOD' ,'output.root' ,outputCommands_ )])
228+ #NANOEDMAOD & rntuple
229+ process = cms .Process ("TEST" )
230+ outputCommands_ = cms .untracked .vstring ('drop *' , 'keep foo' )
231+ process .NANOAODEventContent = cms .PSet ( outputCommands = outputCommands_ )
232+ options = copy .deepcopy (defaultOptions )
233+ options .scenario = "TEST"
234+ options .datatier = "NANOAOD"
235+ options .eventcontent = "NANOEDMAOD"
236+ options .rntuple_out = True
237+ _test_addOutput (self , options , process , [OutStats ('NANOEDMAODoutput' , 'RNTupleOutputModule' , 'NANOAOD' , 'output.rntpl' , outputCommands_ )])
188238 #ALCARECO empty
189239 process = cms .Process ("TEST" )
190240 options .scenario = "TEST"
0 commit comments