Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 process = cms.Process("makeSD")
0005 
0006 process.configurationMetadata = cms.untracked.PSet(
0007     version = cms.untracked.string('$Revision: 1.1 $'),
0008     annotation = cms.untracked.string('SD for Stopped HSCP in No Beam data'),
0009     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/Skimming/test/SDmaker_StoppedHSCP_cfg.py,v $')
0010 )
0011 
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(1000)
0015 )
0016 
0017 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0018 process.load("Configuration.StandardSequences.GeometryExtended_cff")
0019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0020 process.load('Configuration.EventContent.EventContent_cff')
0021 process.GlobalTag.globaltag = "GR_R_37X_V6A::All"  
0022 
0023 
0024 process.source = cms.Source("PoolSource",
0025     fileNames = cms.untracked.vstring(
0026         '/store/data/Commissioning10/MinimumBias/RAW-RECO/v8/000/132/601/F85204EE-EB40-DF11-8F71-001A64789D1C.root'
0027         )
0028 )
0029 process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
0030 
0031 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0032 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0033 
0034 import HLTrigger.HLTfilters.hltHighLevelDev_cfi
0035 
0036 
0037 process.StoppedHSCP = HLTrigger.HLTfilters.hltHighLevelDev_cfi.hltHighLevelDev.clone(andOr = True)
0038 process.StoppedHSCP.HLTPaths = (
0039 "HLT_StoppedHSCP_8E29",
0040 )
0041 process.StoppedHSCP.HLTPathsPrescales  = cms.vuint32(1,)
0042 process.StoppedHSCP.HLTOverallPrescale = cms.uint32(1)
0043 process.StoppedHSCP.throw = False
0044 process.StoppedHSCP.andOr = True
0045 
0046 process.filterStoppedHSCP = cms.Path(process.StoppedHSCP)
0047 
0048 
0049 
0050 process.outputStoppedHSCP = cms.OutputModule("PoolOutputModule",
0051                                           SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('filterStoppedHSCP')),                               
0052                                           dataset = cms.untracked.PSet(
0053         dataTier = cms.untracked.string('RECO'),
0054         filterName = cms.untracked.string('SD_StoppedHSCP')),
0055                                           outputCommands = process.RECOEventContent.outputCommands,
0056                                           fileName = cms.untracked.string('SD_StoppedHSCP.root')
0057                                           )
0058 
0059 process.this_is_the_end = cms.EndPath(
0060 process.outputStoppedHSCP
0061 )