ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/test/ZmmExample.cfg
Revision: 1.5
Committed: Tue Jul 29 22:54:37 2008 UTC (16 years, 9 months ago) by bendavid
Branch: MAIN
Changes since 1.4: +13 -15 lines
Log Message:
Added full TRef based linking to Decay and Stable Particle Fillers

File Contents

# User Rev Content
1 bendavid 1.5 # $Id: ZmmExample.cfg,v 1.4 2008/07/28 23:13:44 paus 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 muon maker
76 bendavid 1.5 module MuonsStable = Stable {
77     untracked string iTracks = "generalTracks"
78     untracked int32 oPid = 13
79     untracked double oMass = 0.105658
80     }
81     # a simple J/psi to Mu Mu finder
82     module Jpsi2MuMu = D2SS {
83     untracked string iStables1 = "MuonsStable"
84     untracked string iStables2 = "MuonsStable"
85     untracked int32 oPid = 443
86     untracked double oMass = 3.09687
87 paus 1.4 }
88 paus 1.1
89 loizides 1.2 # include the MIT filler
90     include "MitProd/TreeFiller/data/MitTreeFiller.cfi"
91 paus 1.4
92     # define an output file and drop everything that you don't want.
93     # Make sure to KEEP your producer output
94     module OutputModule = PoolOutputModule {
95     untracked string fileName = "edm-zmm-example.root"
96     untracked vstring outputCommands = {
97     "keep *"
98     }
99     }
100    
101 paus 1.1 # standard path of action of the module
102 bendavid 1.5 path p0 = { MuonsStable, Jpsi2MuMu, MitTreeFiller }
103 paus 1.4
104     endpath end = { OutputModule }
105 paus 1.1
106     # schedule the various path
107 paus 1.4 schedule = { p0, end }
108 paus 1.1 }