Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
abbiendi committed Aug 3, 2017
1 parent 0ef2011 commit d8d8e23
Showing 1 changed file with 8 additions and 26 deletions.
Expand Up @@ -20,7 +20,7 @@
)
)

process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(5) )

process.load('Configuration.Geometry.GeometryExtended2023D17Reco_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
Expand All @@ -40,23 +40,19 @@
from MuonAnalysis.MuonAssociators.muonClassificationByHitsTP_cfi import addUserData as addClassByHits
addClassByHits(process.patMuonsWithoutTrigger, extraInfo=True)

# Output definition
process.MYoutput = cms.OutputModule("PoolOutputModule",
# test output
process.output = cms.OutputModule("PoolOutputModule",
eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
fileName = cms.untracked.string('ZMMpu25ns-UPG2023_test.root'),
fileName = cms.untracked.string('output_test.root'),
splitLevel = cms.untracked.int32(0)
)

process.MuonClassifier = cms.Path(
process.muonClassificationByHits
)
process.muonClassifier = cms.Path(process.muonClassificationByHits)

process.MYoutput_step = cms.EndPath(process.MYoutput)
process.output_step = cms.EndPath(process.output)

process.schedule = cms.Schedule(process.muonClassifier)

process.schedule = cms.Schedule(
process.MuonClassifier,
process.MYoutput_step
)

# customisation of the process.

Expand All @@ -66,20 +62,6 @@
#call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
process = setCrossingFrameOn(process)

# End of customisation functions
#do not add changes to your config after this point (unless you know what you are doing)
from FWCore.ParameterSet.Utilities import convertToUnscheduled
process=convertToUnscheduled(process)

# customisation of the process.

# Customisation from command line

# Add early deletion of temporary data products to reduce peak memory need
from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
process = customiseEarlyDelete(process)
# End adding early deletion

######
process.MessageLogger.categories = cms.untracked.vstring('MuonToTrackingParticleAssociatorEDProducer',
'MuonToTrackingParticleAssociatorByHits','MuonAssociatorByHitsHelper','MuonToTrackingParticleAssociatorByHitsImpl',
Expand Down

0 comments on commit d8d8e23

Please sign in to comment.