示例#1
0
# 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)
)
示例#2
0
# 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")
示例#3
0
# 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(
示例#4
0
# Configuration file for G4Test02
#
# $Id: g4test_02.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("G4Test02")

# Maximum number of events to do.
process.maxEvents = mu2e.untracked.PSet(input=mu2e.untracked.int32(10))

# 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_02.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(
示例#5
0
文件: ex01.py 项目: kutschke/Offline
# 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.
示例#6
0
# 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)
)
示例#7
0
# 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)
)