CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DPGAnalysis/Skims/python/MinBiasPDSkim_ONLYHSCP_cfg.py

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.2 $'),
00007     name = cms.untracked.string('$Source: /cvs_server/repositories/CMSSW/CMSSW/DPGAnalysis/Skims/python/MinBiasPDSkim_ONLYHSCP_cfg.py,v $'),
00008     annotation = cms.untracked.string('Combined MinBias skim')
00009 )
00010 # selection eff. on 1000 events
00011 #file:/tmp/azzi/Background.root
00012 #/tmp/azzi/Background.root ( 0 events, 664191 bytes )
00013 #file:/tmp/azzi/MinBiascscskimEvents.root
00014 #/tmp/azzi/MinBiascscskimEvents.root ( 0 events, 664212 bytes )
00015 #file:/tmp/azzi/MuonDPGSkim.root
00016 #/tmp/azzi/MuonDPGSkim.root ( 95 events, 40887080 bytes )
00017 #file:/tmp/azzi/StoppedHSCP_filter.root
00018 #/tmp/azzi/StoppedHSCP_filter.root ( 124 events, 28507733 bytes )
00019 #file:/tmp/azzi/ValSkim.root
00020 #/tmp/azzi/ValSkim.root ( 22 events, 9588726 bytes )
00021 #file:/tmp/azzi/ecalrechitfilter.root
00022 #/tmp/azzi/ecalrechitfilter.root ( 23 events, 14583758 bytes )
00023 #file:/tmp/azzi/logerror_filter.root
00024 #/tmp/azzi/logerror_filter.root ( 14 events, 9389296 bytes )
00025 #file:/tmp/azzi/TPGSkim.root
00026 #/tmp/azzi/TPGSkim.root ( 46 events, 20271643 bytes )
00027 
00028 #
00029 #
00030 # This is for testing purposes.
00031 #
00032 #
00033 process.source = cms.Source("PoolSource",
00034                             fileNames = cms.untracked.vstring(
00035 # run 136066 lumi~500
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 # Load standard sequences.
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 #drop collections created on the fly
00063 process.FEVTEventContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
00064 process.FEVTEventContent.outputCommands.append("drop *_*_*_SKIM")
00065 
00066 #
00067 #  Load common sequences
00068 #
00069 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskAlgoTrigConfig_cff')
00070 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
00071 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
00072 
00073 ##################################stoppedHSCP############################################
00074 
00075 
00076 # this is for filtering on HLT path
00077 process.hltstoppedhscp = cms.EDFilter("HLTHighLevel",
00078      TriggerResultsTag = cms.InputTag("TriggerResults","","HLT"),
00079      HLTPaths = cms.vstring("HLT_StoppedHSCP*"), # provide list of HLT paths (or patterns) you want
00080      eventSetupPathsKey = cms.string(''), # not empty => use read paths from AlCaRecoTriggerBitsRcd via this key
00081      andOr = cms.bool(True),             # how to deal with multiple triggers: True (OR) accept if ANY is true, False (AND) accept if ALL are true
00082      throw = cms.bool(False)    # throw exception on unknown path names
00083  )
00084 
00085 process.HSCP=cms.Path(process.hltstoppedhscp)
00086 
00087 process.outHSCP = cms.OutputModule("PoolOutputModule",
00088                                outputCommands =  process.FEVTEventContent.outputCommands,
00089                                fileName = cms.untracked.string('/tmp/malgeri/StoppedHSCP_filter.root'),
00090                                dataset = cms.untracked.PSet(
00091                                   dataTier = cms.untracked.string('RAW-RECO'),
00092                                   filterName = cms.untracked.string('Skim_StoppedHSCP')),
00093                                
00094                                SelectEvents = cms.untracked.PSet(
00095     SelectEvents = cms.vstring("HSCP")
00096     ))
00097 
00098 
00099 
00100 process.options = cms.untracked.PSet(
00101  wantSummary = cms.untracked.bool(True)
00102 )
00103 
00104 process.outpath = cms.EndPath(process.outHSCP)
00105 
00106 
00107 
00108