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

# User Rev Content
1 loizides 1.7 # $Id: GenExample.cfg,v 1.6 2008/07/30 16:39:58 loizides 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 loizides 1.6 # define the object service
36     service = ObjectService {}
37    
38 paus 1.2 # define the tree service
39     service = TreeService {
40     untracked vstring fileNames = { "mit-gen" }
41     }
42 loizides 1.1
43 paus 1.2 # customize the MIT filler
44 bendavid 1.4 module MitTreeFiller = FillMitTree {
45 loizides 1.5 untracked bool defactive = false
46 loizides 1.7 untracked PSet MCParts = {
47     untracked bool active = true
48     untracked bool simActive = false
49 bendavid 1.4 }
50 paus 1.2 }
51 bendavid 1.4
52 paus 1.2 # standard path of action of the module
53 bendavid 1.4 path p0 = { pgen, MitTreeFiller }
54 paus 1.2
55     # also make Edm output for the events we generate
56     include "Configuration/EventContent/data/EventContent.cff"
57     module FEVT = PoolOutputModule
58     {
59 loizides 1.1 using FEVTSIMEventContent
60 paus 1.2 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 loizides 1.1 }