File indexing completed on 2024-04-06 12:06:46
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("SKIM")
0004
0005 process.configurationMetadata = cms.untracked.PSet(
0006 version = cms.untracked.string('$Revision: 1.2 $'),
0007 name = cms.untracked.string('$Source: /cvs/CMSSW/CMSSW/DPGAnalysis/Skims/python/MinBiasPDSkim_ONLYHSCP_cfg.py,v $'),
0008 annotation = cms.untracked.string('Combined MinBias skim')
0009 )
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 process.source = cms.Source("PoolSource",
0034 fileNames = cms.untracked.vstring(
0035
0036 '/store/data/Run2010A/MinimumBias/RECO/v1/000/136/066/18F6DB82-5566-DF11-B289-0030487CAF0E.root'),
0037 secondaryFileNames = cms.untracked.vstring(
0038 '/store/data/Run2010A/MinimumBias/RAW/v1/000/136/066/38D48BED-3C66-DF11-88A5-001D09F27003.root')
0039 )
0040
0041 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
0042
0043 process.maxEvents = cms.untracked.PSet(
0044 input = cms.untracked.int32(-1)
0045 )
0046
0047
0048
0049
0050
0051 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
0052 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
0053
0054
0055 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0056 process.GlobalTag.globaltag = 'GR_R_36X_V12B::All'
0057
0058 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
0059 process.load("Configuration/StandardSequences/Reconstruction_cff")
0060 process.load('Configuration/EventContent/EventContent_cff')
0061
0062
0063 process.FEVTEventContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
0064 process.FEVTEventContent.outputCommands.append("drop *_*_*_SKIM")
0065
0066
0067
0068
0069 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
0070 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0071 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0072
0073
0074
0075
0076
0077 process.hltstoppedhscp = cms.EDFilter("HLTHighLevel",
0078 TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
0079 HLTPaths = cms.vstring("HLT_StoppedHSCP*"),
0080 eventSetupPathsKey = cms.string(''),
0081 andOr = cms.bool(True),
0082 throw = cms.bool(False),
0083 saveTags = cms.bool(False)
0084 )
0085
0086 process.HSCP=cms.Path(process.hltstoppedhscp)
0087
0088 process.outHSCP = cms.OutputModule("PoolOutputModule",
0089 outputCommands = process.FEVTEventContent.outputCommands,
0090 fileName = cms.untracked.string('/tmp/malgeri/StoppedHSCP_filter.root'),
0091 dataset = cms.untracked.PSet(
0092 dataTier = cms.untracked.string('RAW-RECO'),
0093 filterName = cms.untracked.string('Skim_StoppedHSCP')),
0094
0095 SelectEvents = cms.untracked.PSet(
0096 SelectEvents = cms.vstring("HSCP")
0097 ))
0098
0099
0100
0101 process.options = cms.untracked.PSet(
0102 wantSummary = cms.untracked.bool(True)
0103 )
0104
0105 process.outpath = cms.EndPath(process.outHSCP)
0106
0107
0108
0109