1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"SKIM")
5 process.configurationMetadata = cms.untracked.PSet(
6 version = cms.untracked.string(
'$Revision: 1.2 $'),
7 name = cms.untracked.string(
'$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/MinBiasPDSkim_ONLYHSCP_cfg.py,v $'),
8 annotation = cms.untracked.string(
'Combined MinBias skim')
33 process.source = cms.Source(
"PoolSource",
34 fileNames = cms.untracked.vstring(
36 '/store/data/Run2010A/MinimumBias/RECO/v1/000/136/066/18F6DB82-5566-DF11-B289-0030487CAF0E.root'),
37 secondaryFileNames = cms.untracked.vstring(
38 '/store/data/Run2010A/MinimumBias/RAW/v1/000/136/066/38D48BED-3C66-DF11-88A5-001D09F27003.root')
41 process.source.inputCommands = cms.untracked.vstring(
"keep *",
"drop *_MEtoEDMConverter_*_*")
43 process.maxEvents = cms.untracked.PSet(
44 input = cms.untracked.int32(-1)
51 process.load(
'Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
52 process.load(
'Configuration/StandardSequences/GeometryIdeal_cff')
55 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
56 process.GlobalTag.globaltag =
'GR_R_36X_V12B::All' 58 process.load(
"Configuration/StandardSequences/RawToDigi_Data_cff")
59 process.load(
"Configuration/StandardSequences/Reconstruction_cff")
60 process.load(
'Configuration/EventContent/EventContent_cff')
63 process.FEVTEventContent.outputCommands.append(
"drop *_MEtoEDMConverter_*_*")
64 process.FEVTEventContent.outputCommands.append(
"drop *_*_*_SKIM")
69 process.load(
'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
70 process.load(
'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
71 process.load(
'HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
77 process.hltstoppedhscp = cms.EDFilter(
"HLTHighLevel",
78 TriggerResultsTag = cms.InputTag(
"TriggerResults",
"",
"HLT"),
79 HLTPaths = cms.vstring(
"HLT_StoppedHSCP*"),
80 eventSetupPathsKey = cms.string(
''),
81 andOr = cms.bool(
True),
82 throw = cms.bool(
False),
83 saveTags = cms.bool(
False)
86 process.HSCP=cms.Path(process.hltstoppedhscp)
88 process.outHSCP = cms.OutputModule(
"PoolOutputModule",
89 outputCommands = process.FEVTEventContent.outputCommands,
90 fileName = cms.untracked.string(
'/tmp/malgeri/StoppedHSCP_filter.root'),
91 dataset = cms.untracked.PSet(
92 dataTier = cms.untracked.string(
'RAW-RECO'),
93 filterName = cms.untracked.string(
'Skim_StoppedHSCP')),
95 SelectEvents = cms.untracked.PSet(
96 SelectEvents = cms.vstring(
"HSCP")
101 process.options = cms.untracked.PSet(
102 wantSummary = cms.untracked.bool(
True)
105 process.outpath = cms.EndPath(process.outHSCP)