# Configuration file for G4Test03 # # $Id: g4test_03.py,v 1.1 2009/09/30 22:57:47 kutschke Exp $ # $Author: kutschke $ # $Date: 2009/09/30 22:57:47 $ # # Original author Rob Kutschke # # Spacing is not signficant in this file. # Define the default configuratio for the framework. import FWCore.ParameterSet.python.Config as mu2e # Give this job a name. process = mu2e.Process("G4Test03") # Maximum number of events to do. process.maxEvents = mu2e.untracked.PSet( input = mu2e.untracked.int32(200) ) # Load the standard message logger configuration. # Threshold=Info. Limit of 5 per category; then exponential backoff. process.load("Config/MessageLogger_cfi") # Load the service that manages root files for histograms. process.TFileService = mu2e.Service("TFileService", fileName = mu2e.string("g4test_03.root"), closeFileFast = mu2e.untracked.bool(False) )
# Configuration file for Example/03 # # $Id: ex03.py,v 1.1 2009/09/30 22:57:47 kutschke Exp $ # $Author: kutschke $ # $Date: 2009/09/30 22:57:47 $ # # Original author Rob Kutschke # # Spacing is not signficant in this file. # Define the default configuratio for the framework. import FWCore.ParameterSet.python.Config as mu2e # Give this job a name. process = mu2e.Process("Ex03") # Maximum number of events to do. process.maxEvents = mu2e.untracked.PSet(input=mu2e.untracked.int32(1)) # Load the standard message logger configuration. # Threshold=Info. Limit of 5 per category; then exponential backoff. process.load("Config/MessageLogger_cfi") # Read events from a file (made by example 2) process.source = mu2e.Source( "PoolSource", fileNames=mu2e.untracked.vstring("ExampleData/ex01Input_1.root")) # Look at provenance information. process.provinspect = mu2e.EDAnalyzer("Ex03InspectProvenance")
MessageLogger = mu2e.Service( "MessageLogger", suppressInfo=mu2e.untracked.vstring(), debugs=mu2e.untracked.PSet(placeholder=mu2e.untracked.bool(True)), suppressDebug=mu2e.untracked.vstring(), cout=mu2e.untracked.PSet(placeholder=mu2e.untracked.bool(True)), warnings=mu2e.untracked.PSet( placeholder=mu2e.untracked.bool(True), threshold=mu2e.untracked.string('WARNING'), default=mu2e.untracked.PSet(limit=mu2e.untracked.int32(-1), ), ), default=mu2e.untracked.PSet(limit=mu2e.untracked.int32(-1)), errors=mu2e.untracked.PSet( placeholder=mu2e.untracked.bool(True), threshold=mu2e.untracked.string('ERROR'), default=mu2e.untracked.PSet(limit=mu2e.untracked.int32(-1), ), ), cerr=mu2e.untracked.PSet( # Default imit for info level messages INFO=mu2e.untracked.PSet(limit=mu2e.untracked.int32(5)), # Default imit for debug level messages DEBUG=mu2e.untracked.PSet(limit=mu2e.untracked.int32(5)), noTimeStamps=mu2e.untracked.bool(False), # Per event heartbeat from the InputSource. FwkReport=mu2e.untracked.PSet(reportEvery=mu2e.untracked.int32(1), limit=mu2e.untracked.int32(5)), # Defines default for all severities and categories, unless overridden. default=mu2e.untracked.PSet(limit=mu2e.untracked.int32(6)), Root_NoDictionary=mu2e.untracked.PSet(limit=mu2e.untracked.int32(0)), FwkJob=mu2e.untracked.PSet(limit=mu2e.untracked.int32(0)), FwkSummary=mu2e.untracked.PSet(reportEvery=mu2e.untracked.int32(1), limit=mu2e.untracked.int32(10000000)), # Open/close file messages. fileAction=mu2e.untracked.PSet(reportEvery=mu2e.untracked.int32(1), limit=mu2e.untracked.int32(-1)), threshold=mu2e.untracked.string('INFO')), FrameworkJobReport=mu2e.untracked.PSet( default=mu2e.untracked.PSet(limit=mu2e.untracked.int32(0)), FwkJob=mu2e.untracked.PSet(limit=mu2e.untracked.int32(10000000))), suppressWarning=mu2e.untracked.vstring(), statistics=mu2e.untracked.vstring('cerr_stats'), cerr_stats=mu2e.untracked.PSet(threshold=mu2e.untracked.string('WARNING'), output=mu2e.untracked.string('cerr')), infos=mu2e.untracked.PSet( Root_NoDictionary=mu2e.untracked.PSet(limit=mu2e.untracked.int32(0)), placeholder=mu2e.untracked.bool(True)), destinations=mu2e.untracked.vstring('warnings', 'errors', 'infos', 'debugs', 'cout', 'cerr'), debugModules=mu2e.untracked.vstring(), categories=mu2e.untracked.vstring('FwkJob', 'FwkReport', 'FwkSummary', 'fileAction', 'Root_NoDictionary'), fwkJobReports=mu2e.untracked.vstring('FrameworkJobReport'))
# Configuration file for G4Test01 # # $Id: g4test_01.py,v 1.1 2009/09/30 22:57:47 kutschke Exp $ # $Author: kutschke $ # $Date: 2009/09/30 22:57:47 $ # # Original author Rob Kutschke # # Spacing is not signficant in this file. # Define the default configuration for the framework. import FWCore.ParameterSet.python.Config as mu2e # Give this job a name. process = mu2e.Process("G4Test01") # Maximum number of events to do. process.maxEvents = mu2e.untracked.PSet(input=mu2e.untracked.int32(1)) # Load the standard message logger configuration. # Threshold=Info. Limit of 5 per category; then exponential backoff. process.load("Config/MessageLogger_cfi") # Load the service that manages root files for histograms. process.TFileService = mu2e.Service("TFileService", fileName=mu2e.string("g4test_01.root"), closeFileFast=mu2e.untracked.bool(False)) # Initialize the random number sequences. # This just changes the seed for the global CLHEP random engine. process.RandomNumberService = mu2e.Service(
# Configuration file for Example/01 # # $Id: ex01.py,v 1.1 2009/09/30 22:57:47 kutschke Exp $ # $Author: kutschke $ # $Date: 2009/09/30 22:57:47 $ # # Original author Rob Kutschke # # Spacing is not signficant in this file. # Define the default configuratio for the framework. import FWCore.ParameterSet.python.Config as mu2e # Give this job a name. process = mu2e.Process("Ex01") # Maximum number of events to do. process.maxEvents = mu2e.untracked.PSet(input=mu2e.untracked.int32(300)) # Load the standard message logger configuration. # Threshold=Info. Limit of 5 per category; then exponential backoff. process.load("Config/MessageLogger_cfi") # Load the service that manages root files for histograms. process.TFileService = mu2e.Service("TFileService", fileName=mu2e.string("ex01histo.root"), closeFileFast=mu2e.untracked.bool(False)) # Define and configure some modules to do work on each event. # Modules are just defined for now, the are scheduled later.
# Configuration file for Readback # # $Id: readback.py,v 1.1 2009/09/30 22:57:47 kutschke Exp $ # $Author: kutschke $ # $Date: 2009/09/30 22:57:47 $ # # Original author Rob Kutschke # # Spacing is not signficant in this file. # Define the default configuratio for the framework. import FWCore.ParameterSet.python.Config as mu2e # Give this job a name. process = mu2e.Process("ReadBack01") # Maximum number of events to do. process.maxEvents = mu2e.untracked.PSet( input = mu2e.untracked.int32(200) ) # Load the standard message logger configuration. # Threshold=Info. Limit of 5 per category; then exponential backoff. process.load("Config/MessageLogger_cfi") # Load the service that manages root files for histograms. process.TFileService = mu2e.Service("TFileService", fileName = mu2e.string("readback.root"), closeFileFast = mu2e.untracked.bool(False) )
# Configuration file for Example/02 # # $Id: ex02.py,v 1.1 2009/09/30 22:57:47 kutschke Exp $ # $Author: kutschke $ # $Date: 2009/09/30 22:57:47 $ # # Original author Rob Kutschke # # Spacing is not signficant in this file. # Define the default configuratio for the framework. import FWCore.ParameterSet.python.Config as mu2e # Give this job a name. process = mu2e.Process("Ex02") # Maximum number of events to do. process.maxEvents = mu2e.untracked.PSet( input = mu2e.untracked.int32(400) ) # Load the standard message logger configuration. # Threshold=Info. Limit of 5 per category; then exponential backoff. process.load("Config/MessageLogger_cfi") # Load the service that manages root files for histograms. process.TFileService = mu2e.Service("TFileService", fileName = mu2e.string("ex02histo.root"), closeFileFast = mu2e.untracked.bool(False) )