ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/test/GenExample.cfg
Revision: 1.2
Committed: Tue Jun 3 07:21:45 2008 UTC (16 years, 11 months ago) by paus
Branch: MAIN
Changes since 1.1: +43 -44 lines
Log Message:
Minor cleanup and adding examples (see MitSoft TWiki).

File Contents

# User Rev Content
1 paus 1.2 # $Id: GenExample.cfg,v 1.1 2008/05/27 20:30:15 loizides Exp $
2 loizides 1.1
3     process Gen =
4     {
5 paus 1.2 # request 100 events, which is very fast for testing
6     untracked PSet maxEvents = { untracked int32 input = 100 }
7 loizides 1.1
8 paus 1.2 include "FWCore/MessageService/data/MessageLogger.cfi"
9     include "Configuration/StandardSequences/data/SimulationRandomNumberGeneratorSeeds.cff"
10     include "SimGeneral/HepPDTESSource/data/pythiapdt.cfi"
11    
12     # make a minimal but valid parameter set for pythia
13     source = PythiaSource
14     {
15     untracked int32 pythiaPylistVerbosity = 0
16     untracked bool pythiaHepMCVerbosity = false
17     untracked int32 maxEventsToPrint = 0
18     untracked double filterEfficiency = 1.
19    
20 loizides 1.1 PSet PythiaParameters = {
21     vstring parameterSets = {
22     }
23     }
24     }
25 paus 1.2
26     # load generator sequence (VtxSmeared is needed inside, missing dependence)
27     include "Configuration/StandardSequences/data/VtxSmearedBetafuncEarlyCollision.cff"
28     include "Configuration/StandardSequences/data/Generator.cff"
29    
30     # define the tree service
31     service = TreeService {
32 loizides 1.1 untracked vstring treeNames = { "MitTree" }
33 paus 1.2 untracked vstring fileNames = { "mit-gen" }
34 loizides 1.1 untracked vstring pathNames = { "." }
35     untracked vuint32 maxSizes = { 1024 }
36     untracked vuint32 compLevels = { 9 }
37     untracked vuint32 splitLevels = { 99 }
38     untracked vuint32 brSizes = { 32000 }
39 paus 1.2 }
40 loizides 1.1
41 paus 1.2 # customize the MIT filler
42     module MitGenFiller = FillGenParts {
43     }
44    
45     # standard path of action of the module
46     path p0 = { pgen, MitGenFiller }
47    
48     # also make Edm output for the events we generate
49     include "Configuration/EventContent/data/EventContent.cff"
50     module FEVT = PoolOutputModule
51     {
52 loizides 1.1 using FEVTSIMEventContent
53 paus 1.2 untracked string fileName = "edm-gen.root"
54     }
55    
56     # output path for the Edm file
57     endpath outpath = { FEVT }
58    
59     # schedule the various path
60     schedule = { p0, outpath }
61 loizides 1.1 }