Warning, /SimG4Core/TrackingVerbose/README is written in an unsupported language. File is not indexed.
0001
0002 this is an example of turning on selective G4 verbosity
0003 this particular configuration will set G4 tracking verbosity
0004 for every 2nd event (EventStep=2), for events from 0 to 6;
0005 G4 tracking info printed for each 100th track (TrackStep=100),
0006 for track numbers from 0 to 10000; if you wish, for example,
0007 to print tracking info for every 10th track, set TrackStep=10,
0008 or for each track - TrackStep=1
0009 NOTE: don't forget to turn on VebosityLevel - otherwise only
0010 info on the particle ID and track ID will be printed but nothing
0011 on position, volume, etc.
0012
0013 For example usage, see also
0014 SimG4Core/Application/test/runP-WithPionAndQGSP.cfg
0015
0016 TO USE:
0017
0018 in _cfg.py file:
0019
0020 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0021 CheckForHighEtPhotons = cms.untracked.bool(False),
0022 G4Verbose = cms.untracked.bool(False),
0023 EventMin = cms.untracked.int32(0),
0024 EventMax = cms.untracked.int32(6),
0025 EventStep = cms.untracked.int32(2),
0026 TrackMin = cms.untracked.int32(0),
0027 TrackMax = cms.untracked.int32(10000),
0028 TrackStep = cms.untracked.int32(100),
0029 VerboseLevel = cms.untracked.int32(1),
0030 DEBUG = cms.untracked.bool(False),
0031 PDGids = cms.untracked.vint32(),
0032 type = cms.string('TrackingVerboseAction')
0033 ))
0034
0035
0036
0037