예제 #1
0
import FWCore.ParameterSet.Config as cms

from DPGAnalysis.Skims.Skims_DPG_cff import skimContent

from Configuration.EventContent.EventContent_cff import RECOEventContent
skimRecoContent = RECOEventContent.clone()
skimRecoContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
skimRecoContent.outputCommands.append("drop *_*_*_SKIM")

from Configuration.EventContent.EventContent_cff import RAWEventContent
skimRawContent = RAWEventContent.clone()
skimRawContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
skimRawContent.outputCommands.append("drop *_*_*_SKIM")

from Configuration.EventContent.EventContent_cff import RAWAODEventContent
skimRawAODContent = RAWAODEventContent.clone()
skimRawAODContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
skimRawAODContent.outputCommands.append("drop *_*_*_SKIM")

#####################
# event splitting special skims

# select events 1, 5, 9, ...
evtSplit_Prescaler_P1 = cms.EDFilter("Prescaler",
                                     prescaleFactor=cms.int32(4),
                                     prescaleOffset=cms.int32(1))
# select events 2, 6, 10, ...
evtSplit_Prescaler_P2 = cms.EDFilter("Prescaler",
                                     prescaleFactor=cms.int32(4),
                                     prescaleOffset=cms.int32(2))
# select events 3, 7, 11, ...
예제 #2
0
import FWCore.ParameterSet.Config as cms

from DPGAnalysis.Skims.Skims_DPG_cff import skimContent

from Configuration.EventContent.EventContent_cff import RECOEventContent
skimRecoContent = RECOEventContent.clone()
skimRecoContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
skimRecoContent.outputCommands.append("drop *_*_*_SKIM")

from Configuration.EventContent.EventContent_cff import RAWEventContent
skimRawContent = RAWEventContent.clone()
skimRawContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
skimRawContent.outputCommands.append("drop *_*_*_SKIM")

from Configuration.EventContent.EventContent_cff import RAWAODEventContent
skimRawAODContent = RAWAODEventContent.clone()
skimRawAODContent.outputCommands.append("drop *_MEtoEDMConverter_*_*")
skimRawAODContent.outputCommands.append("drop *_*_*_SKIM")

#####################
# event splitting special skims

# select events 1, 5, 9, ...
evtSplit_Prescaler_P1 = cms.EDFilter("Prescaler",
    prescaleFactor = cms.int32(4),
    prescaleOffset = cms.int32(1)
)
# select events 2, 6, 10, ...
evtSplit_Prescaler_P2 = cms.EDFilter("Prescaler",
    prescaleFactor = cms.int32(4),
    prescaleOffset = cms.int32(2)