ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/test/FullChainExample.cfg
Revision: 1.7
Committed: Wed Jul 30 16:39:58 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 -1 lines
Log Message:
Example usage of ObjectService. Added ObjectService to all cfgs.

File Contents

# Content
1 # $Id: FullChainExample.cfg,v 1.6 2008/07/02 14:35:16 bendavid Exp $
2
3 process Rec =
4 {
5 untracked PSet maxEvents = { untracked int32 input = 1 }
6
7 include "Configuration/StandardSequences/data/Services.cff"
8 include "Configuration/StandardSequences/data/Geometry.cff"
9 include "Configuration/StandardSequences/data/MagneticField.cff"
10 include "Configuration/StandardSequences/data/FakeConditions.cff"
11 include "FWCore/MessageService/data/MessageLogger.cfi"
12
13 # Sample generator configuration
14 source = PythiaSource
15 {
16 untracked int32 pythiaPylistVerbosity = 1
17 untracked bool pythiaHepMCVerbosity = false
18 untracked int32 maxEventsToPrint = 3
19 # put here the cross section of your process (in pb)
20 untracked double crossSection = 0.00212
21 # put here the efficiency of your filter (1. if no filter)
22 untracked double filterEfficiency = 1.
23 PSet PythiaParameters = {
24 vstring parameterSets = {
25 "processParameters"
26 }
27
28 include "Configuration/Generator/data/PythiaUESettings.cfi"
29
30 vstring processParameters = {
31 "PMAS(25,1)=180.0 !mass of Higgs",
32 "MSEL=0 ! user selection for process",
33 # "MSTJ(41)=1 !Switch off Pythia QED bremsshtrahlung",
34 "MSUB(102)=1 !ggH",
35 "MSUB(123)=1 !ZZ fusion to H",
36 "MSUB(124)=1 !WW fusion to H",
37 "CKIN(45)=5. !high mass cut on m2 in 2 to 2 process",
38 "CKIN(46)=150. !high mass cut on secondary resonance m1 in 2->1->2 process",
39 "CKIN(47)=5. !low mass cut on secondary resonance m2 in 2->1->2 process",
40 "CKIN(48)=150. !high mass cut on secondary resonance m2 in 2->1->2 process",
41 # Z decays
42 "MDME(174,1)=0 !Z decay into d dbar",
43 "MDME(175,1)=0 !Z decay into u ubar",
44 "MDME(176,1)=0 !Z decay into s sbar",
45 "MDME(177,1)=0 !Z decay into c cbar",
46 "MDME(178,1)=0 !Z decay into b bbar",
47 "MDME(179,1)=0 !Z decay into t tbar",
48 "MDME(182,1)=1 !Z decay into e- e+",
49 "MDME(183,1)=0 !Z decay into nu_e nu_ebar",
50 "MDME(184,1)=1 !Z decay into mu- mu+",
51 "MDME(185,1)=0 !Z decay into nu_mu nu_mubar",
52 "MDME(186,1)=1 !Z decay into tau- tau+",
53 "MDME(187,1)=0 !Z decay into nu_tau nu_taubar",
54 # Higgs decays
55 "MDME(210,1)=0 !Higgs decay into dd",
56 "MDME(211,1)=0 !Higgs decay into uu",
57 "MDME(212,1)=0 !Higgs decay into ss",
58 "MDME(213,1)=0 !Higgs decay into cc",
59 "MDME(214,1)=0 !Higgs decay into bb",
60 "MDME(215,1)=0 !Higgs decay into tt",
61 "MDME(216,1)=0 !Higgs decay into",
62 "MDME(217,1)=0 !Higgs decay into Higgs decay",
63 "MDME(218,1)=0 !Higgs decay into e nu e",
64 "MDME(219,1)=0 !Higgs decay into mu nu mu",
65 "MDME(220,1)=0 !Higgs decay into tau nu tau",
66 "MDME(221,1)=0 !Higgs decay into Higgs decay",
67 "MDME(222,1)=0 !Higgs decay into g g",
68 "MDME(223,1)=0 !Higgs decay into gam gam",
69 "MDME(224,1)=0 !Higgs decay into gam Z",
70 "MDME(225,1)=1 !Higgs decay into Z Z",
71 "MDME(226,1)=0 !Higgs decay into W W"
72 }
73 }
74 }
75
76 # load generator sequence (VtxSmeared is needed inside, missing dependence)
77 include "Configuration/StandardSequences/data/VtxSmearedBetafuncEarlyCollision.cff"
78 include "Configuration/StandardSequences/data/Generator.cff"
79
80 include "Configuration/StandardSequences/data/Simulation.cff"
81 include "Configuration/StandardSequences/data/MixingNoPileUp.cff"
82 include "Configuration/StandardSequences/data/L1Emulator.cff"
83 include "Configuration/StandardSequences/data/DigiToRaw.cff"
84 include "Configuration/StandardSequences/data/VtxSmearedBetafuncEarlyCollision.cff"
85 include "Configuration/StandardSequences/data/Reconstruction.cff"
86 #include "Configuration/StandardSequences/data/UseZeroBField.cff"
87 include "Configuration/StandardSequences/data/PostRecoGenerator.cff"
88
89 # define the object service
90 service = ObjectService {}
91
92 # define the tree service
93 service = TreeService {
94 untracked vstring fileNames = { "mit-full" }
95 }
96
97 # include the MIT filler
98 include "MitProd/TreeFiller/data/MitTreeFiller.cfi"
99
100 # also make Edm output for the events we generate
101 include "Configuration/EventContent/data/EventContent.cff"
102 module FEVT = PoolOutputModule
103 {
104 using FEVTSIMEventContent
105 untracked string fileName = "edm-full.root"
106 }
107
108 # output path for the Edm file
109 endpath outpath = { FEVT }
110
111 path p0 = { pgen} # generator
112 path p1 = { psim} # simulation
113 path p2 = { pdigi} # digitization
114 path p3 = { L1Emulator } # trigger: level-1 emulation
115 path p4 = { DigiToRaw } # converting digitized to raw data
116 path p5 = { reconstruction } # reconstruction
117 path p6 = { postreco_generator } # reco-mctruth matching
118 path p7 = { MitTreeFiller } # MitTree filler
119
120 schedule = {p0,p1,p2,p3,p4,p5,p6,p7,outpath}
121 }