CMS 3D CMS Logo

ALCARECODtCalib_Output_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # output block for alcastream Electron
4 OutALCARECODtCalib_noDrop = cms.PSet(
5  # put this if you have a filter
6  SelectEvents = cms.untracked.PSet(
7  SelectEvents = cms.vstring('pathALCARECODtCalib')
8  ),
9  outputCommands = cms.untracked.vstring(
10  'keep *_dt4DSegments_*_*',
11  'keep *_dt4DSegmentsNoWire_*_*',
12  'keep *_muonDTDigis_*_*',
13  'keep *_dttfDigis_*_*',
14  'keep *_gtDigis_*_*',
15  'keep *_TriggerResults_*_*',
16  'keep recoMuons_muons_*_*',
17  #'keep booledmValueMap_muid*_*_*')
18  'keep booledmValueMap_muidAllArbitrated_*_*',
19  'keep booledmValueMap_muidGMStaChiCompatibility_*_*',
20  'keep booledmValueMap_muidGMTkChiCompatibility_*_*',
21  'keep booledmValueMap_muidGMTkKinkTight_*_*',
22  'keep booledmValueMap_muidGlobalMuonPromptTight_*_*',
23  'keep booledmValueMap_muidRPCMuLoose_*_*',
24  'keep booledmValueMap_muidTM2DCompatibilityLoose_*_*',
25  'keep booledmValueMap_muidTM2DCompatibilityTight_*_*',
26  'keep booledmValueMap_muidTMLastStationAngLoose_*_*',
27  'keep booledmValueMap_muidTMLastStationAngTight_*_*',
28  'keep booledmValueMap_muidTMLastStationLoose_*_*',
29  'keep booledmValueMap_muidTMLastStationOptimizedLowPtLoose_*_*',
30  'keep booledmValueMap_muidTMLastStationOptimizedLowPtTight_*_*',
31  'keep booledmValueMap_muidTMLastStationTight_*_*',
32  'keep booledmValueMap_muidTMOneStationAngLoose_*_*',
33  'keep booledmValueMap_muidTMOneStationAngTight_*_*',
34  'keep booledmValueMap_muidTMOneStationLoose_*_*',
35  'keep booledmValueMap_muidTMOneStationTight_*_*',
36  'keep booledmValueMap_muidTrackerMuonArbitrated_*_*')
37 )
38 
39 
40 import copy
41 OutALCARECODtCalib = copy.deepcopy(OutALCARECODtCalib_noDrop)
42 OutALCARECODtCalib.outputCommands.insert(0, "drop *")
43 
44 
45 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
46 
47 OutALCARECODtCalibHI = copy.deepcopy(OutALCARECODtCalib_noDrop)
48 OutALCARECODtCalibHI.outputCommands.insert(0, "drop *")
49 OutALCARECODtCalibHI.outputCommands.append("keep *_offlinePrimaryVertices__*")
50 OutALCARECODtCalibHI.outputCommands.append("keep *_offlinePrimaryVerticesWithBS_*_*")
51 OutALCARECODtCalibHI.outputCommands.append("keep *_offlinePrimaryVerticesFromCosmicTracks_*_*")
52 
53 #Specify to use HI output for the pp_on_AA eras
54 pp_on_AA.toReplaceWith(OutALCARECODtCalib,OutALCARECODtCalibHI)