1 |
loizides |
1.3 |
# $Id: GenExample.cfg,v 1.2 2008/06/03 07:21:45 paus Exp $
|
2 |
loizides |
1.1 |
|
3 |
|
|
process Gen =
|
4 |
|
|
{
|
5 |
paus |
1.2 |
# request 100 events, which is very fast for testing
|
6 |
loizides |
1.3 |
untracked PSet maxEvents = { untracked int32 input = 5000 }
|
7 |
|
|
|
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 |
loizides |
1.1 |
untracked vstring treeNames = { "MitTree" }
|
38 |
paus |
1.2 |
untracked vstring fileNames = { "mit-gen" }
|
39 |
loizides |
1.1 |
untracked vstring pathNames = { "." }
|
40 |
|
|
untracked vuint32 maxSizes = { 1024 }
|
41 |
|
|
untracked vuint32 compLevels = { 9 }
|
42 |
|
|
untracked vuint32 splitLevels = { 99 }
|
43 |
loizides |
1.3 |
untracked vuint32 brSizes = { 1000 }
|
44 |
paus |
1.2 |
}
|
45 |
loizides |
1.1 |
|
46 |
paus |
1.2 |
# customize the MIT filler
|
47 |
|
|
module MitGenFiller = FillGenParts {
|
48 |
|
|
}
|
49 |
|
|
|
50 |
|
|
# standard path of action of the module
|
51 |
|
|
path p0 = { pgen, MitGenFiller }
|
52 |
|
|
|
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 |
}
|