Back to home page

Project CMSSW displayed by LXR

 
 

    


Last indexation completed on 2022-08-16 22:26:09 UTC

 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2022-08-16 22:19:25

To save SimTracks with particle code (PDG code) from a list, need to activate the watcher SaveSimTrack specifying the codes in .cfg file:
process.g4SimHits.Watchers = cms.VPSet(cms.PSet( SaveSimTrack = cms.PSet( PDGCodes = cms.untracked.vint32([2212]) ), type = cms.string('SaveSimTrack') ) )
will save all particles of code 2212.

SaveSimTrack.h 565 bytes 2019-05-08 12:12:01 2021-02-14 14:29:56

ifndef SimG4Core_