ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/test/ZmmExample.cfg
Revision: 1.4
Committed: Mon Jul 28 23:13:44 2008 UTC (16 years, 9 months ago) by paus
Branch: MAIN
Changes since 1.3: +85 -6 lines
Log Message:
Adding Stable/DecayParts.

File Contents

# User Rev Content
1 paus 1.4 # $Id: ZmmExample.cfg,v 1.3 2008/07/02 16:34:37 loizides Exp $
2 paus 1.1
3 paus 1.4 process ZmmTest =
4 paus 1.1 {
5     # request 100 events, which is very fast for testing
6 paus 1.4 untracked PSet maxEvents = { untracked int32 input = 10 }
7 paus 1.1
8     include "FWCore/MessageService/data/MessageLogger.cfi"
9    
10     source = PoolSource {
11     untracked vstring fileNames = {
12     "file:/server/01a/ceballos/CMSSW_2_0_7_ntuples/Zmm/10375028-DD24-DD11-8170-001617E30F4C.root",
13     "file:/server/01a/ceballos/CMSSW_2_0_7_ntuples/Zmm/12CA1A34-DB24-DD11-AA5F-001D09F2426D.root",
14 loizides 1.3 "file:/server/01a/ceballos/CMSSW_2_0_7_ntuples/Zmm/D6B9828D-DE24-DD11-AE72-001D09F2432B.root"
15     }
16 paus 1.1 }
17    
18 paus 1.4 # Geometry
19     include "MagneticField/Engine/data/volumeBasedMagneticField.cfi"
20     include "Geometry/CMSCommonData/data/cmsIdealGeometryXML.cfi"
21     include "Geometry/CommonDetUnit/data/globalTrackingGeometry.cfi"
22     include "Geometry/TrackerGeometryBuilder/data/trackerGeometry.cfi"
23     include "Geometry/TrackerNumberingBuilder/data/trackerNumberingGeometry.cfi"
24     include "RecoTracker/GeometryESProducer/data/TrackerRecoGeometryESProducer.cfi"
25     # Propagator
26     es_module MuonMaterialPropagator = PropagatorWithMaterialESProducer {
27     string ComponentName = "MuonMaterialPropagator"
28     string PropagationDirection = "alongMomentum"
29     double Mass = 0.105
30     double MaxDPhi = 1.6
31     bool useRungeKutta = false
32     }
33     # Crap
34     include "TrackingTools/KalmanUpdators/data/KFUpdatorESProducer.cfi"
35     include "TrackingTools/KalmanUpdators/data/Chi2MeasurementEstimatorESProducer.cfi"
36     include "RecoLocalTracker/SiStripRecHitConverter/data/StripCPEfromTrackAngle.cfi"
37     include "RecoTracker/TransientTrackingRecHit/data/TransientTrackingRecHitBuilder.cfi"
38     include "RecoTracker/TransientTrackingRecHit/data/TransientTrackingRecHitBuilderWithoutRefit.cfi"
39     # Fitters
40     es_module MuonFitterRK = KFTrajectoryFitter from "TrackingTools/TrackFitters/data/KFTrajectoryFitterESProducer.cfi"
41     replace MuonFitterRK.ComponentName = "MuonFitterRK"
42     replace MuonFitterRK.Propagator = "MuonMaterialPropagator"
43    
44     # Smoothers
45     es_module MuonSmootherRK = KFTrajectorySmoother from "TrackingTools/TrackFitters/data/KFTrajectorySmootherESProducer.cfi"
46     replace MuonSmootherRK.ComponentName = "MuonSmootherRK"
47     replace MuonSmootherRK.Propagator = "MuonMaterialPropagator"
48    
49     # FittingSmoothers
50     es_module MuonFittingSmootherRK = KFFittingSmoother from "TrackingTools/TrackFitters/data/KFFittingSmootherESProducer.cfi"
51     replace MuonFittingSmootherRK.ComponentName = "MuonFittingSmootherRK"
52     replace MuonFittingSmootherRK.Fitter = "MuonFitterRK"
53     replace MuonFittingSmootherRK.Smoother = "MuonSmootherRK"
54    
55     module MuonTrackRefitter = TrackRefitter {
56     string Fitter = "MuonFittingSmootherRK"
57     string Propagator = "MuonMaterialPropagator"
58    
59     InputTag src = generalTracks
60     InputTag beamSpot = offlineBeamSpot
61     string TTRHBuilder = "WithoutRefit"
62     bool TrajectoryInEvent = false
63     string constraint = ""
64     bool useHitsSplitting = false
65     string AlgorithmName = "undefAlgorithm"
66     }
67    
68     sequence Refit = { MuonTrackRefitter }
69    
70 paus 1.1 # define the tree service
71     service = TreeService {
72 loizides 1.2 untracked vstring fileNames = { "mit-zmm-example" }
73 paus 1.1 }
74 paus 1.4
75     # a simple pion maker
76     module Pions = Stable {
77     }
78    
79     # a simple muon maker
80     module Muons = Stable {
81     }
82    
83     # a simple kshort finder
84     module Jpsi2MuMu = VSs {
85     }
86    
87     # a simple kshort finder
88     module Ks2PiPi = VSs {
89     }
90 paus 1.1
91 loizides 1.2 # include the MIT filler
92     include "MitProd/TreeFiller/data/MitTreeFiller.cfi"
93 paus 1.4
94     # define an output file and drop everything that you don't want.
95     # Make sure to KEEP your producer output
96     module OutputModule = PoolOutputModule {
97     untracked string fileName = "edm-zmm-example.root"
98     untracked vstring outputCommands = {
99     "keep *"
100     }
101     }
102    
103 paus 1.1 # standard path of action of the module
104 paus 1.4 path p0 = { Refit, KsPiPiMod, MitTreeFiller }
105    
106     endpath end = { OutputModule }
107 paus 1.1
108     # schedule the various path
109 paus 1.4 schedule = { p0, end }
110 paus 1.1 }