1 | ##############################################################################
|
---|
2 | # Input collections (specify ROOT tree name and file listing input ROOT files)
|
---|
3 | ##############################################################################
|
---|
4 |
|
---|
5 | add InputCollection {STDHEP pythia_events.list}
|
---|
6 |
|
---|
7 | #######################
|
---|
8 | # Output ROOT file name
|
---|
9 | #######################
|
---|
10 |
|
---|
11 | set OutputFile MadSim.root
|
---|
12 |
|
---|
13 | #######################################
|
---|
14 | # Order of execution of various modules
|
---|
15 | #######################################
|
---|
16 |
|
---|
17 | set ExecutionPath {
|
---|
18 | leptonselection partonselection jetfinder merger analysis
|
---|
19 | }
|
---|
20 |
|
---|
21 | #################
|
---|
22 | # Lepton selector
|
---|
23 | #################
|
---|
24 |
|
---|
25 | module MadGraphShowerLeptonSelector leptonselection {
|
---|
26 | add ParticleStatus 1
|
---|
27 | add ClassParticles e {11 -11}
|
---|
28 | add ClassParticles #mu {13 -13}
|
---|
29 | }
|
---|
30 |
|
---|
31 | #################
|
---|
32 | # Parton selector
|
---|
33 | #################
|
---|
34 |
|
---|
35 | module MadGraphShowerPartonSelector partonselection {
|
---|
36 | set PartonIDs {1 2 3 4 5 21}
|
---|
37 | }
|
---|
38 |
|
---|
39 | ############
|
---|
40 | # Jet finder
|
---|
41 | ############
|
---|
42 |
|
---|
43 | module MadGraphKtJetFinder jetfinder {
|
---|
44 | set InputArray "partonselection/candidates"
|
---|
45 |
|
---|
46 | set CollisionType 4
|
---|
47 | set DistanceScheme 1
|
---|
48 | set RecombinationScheme 1
|
---|
49 | set ParameterR 1.0
|
---|
50 | }
|
---|
51 |
|
---|
52 | #################################
|
---|
53 | # Merge all input arrays into one
|
---|
54 | #################################
|
---|
55 |
|
---|
56 | module MadGraphJetLeptonMerger merger {
|
---|
57 | set InputLeptonsArray "leptonselection/candidates"
|
---|
58 | set InputJetsArray "jetfinder/candidates"
|
---|
59 | set JetNumberMax 4
|
---|
60 | }
|
---|
61 |
|
---|
62 | #################
|
---|
63 | # Analysis module
|
---|
64 | #################
|
---|
65 |
|
---|
66 | module MadGraphAnalysis analysis {
|
---|
67 | set InputArray "merger/candidates"
|
---|
68 | set IsUnWeighted false
|
---|
69 | set OutputFile "pythia_plots.root"
|
---|
70 | }
|
---|
71 |
|
---|