Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("SKIM")
00004
00005 process.configurationMetadata = cms.untracked.PSet(
00006 version = cms.untracked.string('$Revision: 1.3 $'),
00007 name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/DPGAnalysis/Skims/python/MinBiasPDSkim_ONLYHSCP_cfg.py,v $'),
00008 annotation = cms.untracked.string('Combined MinBias skim')
00009 )
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 process.source = cms.Source("PoolSource",
00034 fileNames = cms.untracked.vstring(
00035
00036 '/store/data/Run2010A/MinimumBias/RECO/v1/000/136/066/18F6DB82-5566-DF11-B289-0030487CAF0E.root'),
00037 secondaryFileNames = cms.untracked.vstring(
00038 '/store/data/Run2010A/MinimumBias/RAW/v1/000/136/066/38D48BED-3C66-DF11-88A5-001D09F27003.root')
00039 )
00040
00041 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
00042
00043 process.maxEvents = cms.untracked.PSet(
00044 input = cms.untracked.int32(-1)
00045 )
00046
00047
00048
00049
00050
00051 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
00052 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
00053
00054
00055 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00056 process.GlobalTag.globaltag = 'GR_R_36X_V12B::All'
00057
00058 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
00059 process.load("Configuration/StandardSequences/Reconstruction_cff")
00060 process.load('Configuration/EventContent/EventContent_cff')
00061
00062
00063 process.FEVTEventContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
00064 process.FEVTEventContent.outputCommands.append("drop *_*_*_SKIM")
00065
00066
00067
00068
00069 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
00070 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
00071 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
00072
00073
00074
00075
00076
00077 process.hltstoppedhscp = cms.EDFilter("HLTHighLevel",
00078 TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
00079 HLTPaths = cms.vstring("HLT_StoppedHSCP*"),
00080 eventSetupPathsKey = cms.string(''),
00081 andOr = cms.bool(True),
00082 throw = cms.bool(False),
00083 saveTags = cms.bool(False)
00084 )
00085
00086 process.HSCP=cms.Path(process.hltstoppedhscp)
00087
00088 process.outHSCP = cms.OutputModule("PoolOutputModule",
00089 outputCommands = process.FEVTEventContent.outputCommands,
00090 fileName = cms.untracked.string('/tmp/malgeri/StoppedHSCP_filter.root'),
00091 dataset = cms.untracked.PSet(
00092 dataTier = cms.untracked.string('RAW-RECO'),
00093 filterName = cms.untracked.string('Skim_StoppedHSCP')),
00094
00095 SelectEvents = cms.untracked.PSet(
00096 SelectEvents = cms.vstring("HSCP")
00097 ))
00098
00099
00100
00101 process.options = cms.untracked.PSet(
00102 wantSummary = cms.untracked.bool(True)
00103 )
00104
00105 process.outpath = cms.EndPath(process.outHSCP)
00106
00107
00108
00109