ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/test/GenExample.cfg
Revision: 1.5
Committed: Tue Jul 1 21:11:48 2008 UTC (16 years, 10 months ago) by loizides
Branch: MAIN
Changes since 1.4: +2 -68 lines
Log Message:
Updated configs.

File Contents

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