ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/test/GenExample.cfg
Revision: 1.7
Committed: Thu Jul 31 12:34:04 2008 UTC (16 years, 9 months ago) by loizides
Branch: MAIN
CVS Tags: Mit_008pre1, Mit_006b, Mit_006a, Mit_006, Mit_005, Mit_004, MITHEP_2_0_x
Changes since 1.6: +4 -5 lines
Log Message:
Consistently introduced ObjectService. Updated comments. Updated .cfg files. Switched off default handling of Stable and DecayParts (for now). ZmmFullReco.cfg shows how to use standard filler with extensions.

File Contents

# Content
1 # $Id: GenExample.cfg,v 1.6 2008/07/30 16:39:58 loizides Exp $
2
3 process Gen =
4 {
5 # request 100 events, which is very fast for testing
6 untracked PSet maxEvents = { untracked int32 input = 100 }
7
8 #include "FWCore/MessageService/data/MessageLogger.cfi"
9 service = MessageLogger
10 {
11 untracked vstring destinations = {}
12 }
13
14 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 PSet PythiaParameters = {
26 vstring parameterSets = {
27 }
28 }
29 }
30
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 object service
36 service = ObjectService {}
37
38 # define the tree service
39 service = TreeService {
40 untracked vstring fileNames = { "mit-gen" }
41 }
42
43 # customize the MIT filler
44 module MitTreeFiller = FillMitTree {
45 untracked bool defactive = false
46 untracked PSet MCParts = {
47 untracked bool active = true
48 untracked bool simActive = false
49 }
50 }
51
52 # standard path of action of the module
53 path p0 = { pgen, MitTreeFiller }
54
55 # also make Edm output for the events we generate
56 include "Configuration/EventContent/data/EventContent.cff"
57 module FEVT = PoolOutputModule
58 {
59 using FEVTSIMEventContent
60 untracked string fileName = "edm-gen.root"
61 }
62
63 # output path for the Edm file
64 endpath outpath = { FEVT }
65
66 # schedule the various path
67 schedule = { p0, outpath }
68 }