CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IgProfInfo.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 def customise(process):
3 
4  #Add the configuration for the Igprof running to dump profile snapshots:
5  process.IgProfService = cms.Service("IgProfService",
6  reportFirstEvent = cms.untracked.int32(1), #Dump first event for baseline studies
7  reportEventInterval = cms.untracked.int32( ((process.maxEvents.input.value()-1)//2) ), # dump in the middle of the run
8  reportToFileAtPostEvent = cms.untracked.string("| gzip -c > IgProf.%I.gz")
9  )
10 
11  return(process)
def customise
Definition: IgProfInfo.py:2