ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/Producers/python/vProducer_cff.py
Revision: 1.11
Committed: Tue Mar 17 14:26:24 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_008pre2
Changes since 1.10: +6 -6 lines
Log Message:
Rename fillerOrder to fillers.

File Contents

# User Rev Content
1 loizides 1.11 # $Id: vProducer_cff.py,v 1.10 2009/03/17 11:58:18 bendavid Exp $
2 loizides 1.4
3 mrudolph 1.1 import FWCore.ParameterSet.Config as cms
4    
5 mrudolph 1.2 import MitEdm.Producers.stableParts_cfi
6    
7 mrudolph 1.3 from Configuration.StandardSequences.Services_cff import *
8     from Configuration.StandardSequences.Geometry_cff import *
9     from Configuration.StandardSequences.MagneticField_cff import *
10     from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
11 bendavid 1.6 GlobalTag.globaltag = "IDEAL_V11::All"
12 mrudolph 1.3
13 mrudolph 1.2 PisStable = MitEdm.Producers.stableParts_cfi.stableParts.clone()
14    
15 loizides 1.7 from RecoTracker.TrackProducer.TrackRefitters_cff import *
16 mrudolph 1.2
17     ProtonPropagator = TrackingTools.MaterialEffects.RungeKuttaTrackerPropagator_cfi.RungeKuttaTrackerPropagator.clone()
18     ProtonPropagator.ComponentName = cms.string('ProtonPropagator')
19 loizides 1.8 ProtonPropagator.Mass = cms.double(0.93827)
20 mrudolph 1.2
21     TrackRefitter.Propagator = cms.string('ProtonPropagator')
22    
23     ProtonsStable = MitEdm.Producers.stableParts_cfi.stableParts.clone()
24     ProtonsStable.iTracks = cms.untracked.string('TrackRefitter')
25 loizides 1.8 ProtonsStable.oPid = cms.untracked.int32(2212)
26 mrudolph 1.2
27     import MitEdm.Producers.v2ss_cfi
28     Ksh2PiPi = MitEdm.Producers.v2ss_cfi.v2ss.clone()
29    
30     Lambda2ProtPi = MitEdm.Producers.v2ss_cfi.v2ss.clone()
31     Lambda2ProtPi.iStables2 = cms.untracked.string('ProtonsStable')
32 loizides 1.8 Lambda2ProtPi.oPid = cms.untracked.int32(3122)
33     Lambda2ProtPi.minMass = cms.untracked.double(1.05)
34     Lambda2ProtPi.maxMass = cms.untracked.double(1.18)
35 mrudolph 1.2
36 mrudolph 1.3 FillKsh = cms.EDAnalyzer("FillMitTree",
37 loizides 1.11 fillers = cms.untracked.vstring('StableParts',
38     'DecayParts'),
39 loizides 1.8
40 mrudolph 1.3 StableParts = cms.untracked.PSet(
41     active = cms.untracked.bool(True),
42     mitName = cms.untracked.string('PisStable'),
43     edmName = cms.untracked.string('PisStable'),
44     trackMapName = cms.untracked.string('TracksMapName'),
45 loizides 1.8 basePartMap = cms.untracked.string('PisStableMapName'),
46     fillerType = cms.untracked.string('FillerStableParts')
47 mrudolph 1.3 ),
48    
49     DecayParts = cms.untracked.PSet(
50 loizides 1.8 active = cms.untracked.bool(True),
51     mitName = cms.untracked.string('Ksh2PiPi'),
52     edmName = cms.untracked.string('Ksh2PiPi'),
53     basePartMaps = cms.untracked.vstring('PisStableMapName'),
54     fillerType = cms.untracked.string('FillerDecayParts')
55 mrudolph 1.3 )
56     )
57    
58     FillLambda = cms.EDAnalyzer("FillMitTree",
59 loizides 1.11 fillers = cms.untracked.vstring('GeneralTracks',
60     'StableParts',
61     'DecayParts'),
62 mrudolph 1.3
63     GeneralTracks = cms.untracked.PSet(
64 bendavid 1.9 active = cms.untracked.bool(True),
65     mitName = cms.untracked.string('ProtonRefitTracks'),
66     edmName = cms.untracked.string('TrackRefitter'),
67     simMapName = cms.untracked.string('SimMap'),
68 loizides 1.8 trackMapName = cms.untracked.string('ProtTracksMapName'),
69 bendavid 1.9 fillerType = cms.untracked.string('FillerTracks')
70 mrudolph 1.3 ),
71 loizides 1.8
72 mrudolph 1.3 StableParts = cms.untracked.PSet(
73 bendavid 1.9 active = cms.untracked.bool(True),
74     mitName = cms.untracked.string('ProtonsStable'),
75     edmName = cms.untracked.string('ProtonsStable'),
76     trackMapName= cms.untracked.string('ProtTracksMapName'),
77     basePartMap = cms.untracked.string('ProtonsStableMapName'),
78     fillerType = cms.untracked.string('FillerStableParts')
79 mrudolph 1.3 ),
80    
81     DecayParts = cms.untracked.PSet(
82     active = cms.untracked.bool(True),
83     mitName = cms.untracked.string('Lambda2ProtPi'),
84     edmName = cms.untracked.string('Lambda2ProtPi'),
85 bendavid 1.9 basePartMaps = cms.untracked.vstring('PisStableMapName','ProtonsStableMapName'),
86 loizides 1.8 fillerType = cms.untracked.string('FillerDecayParts')
87 mrudolph 1.3 )
88     )
89    
90 mrudolph 1.2
91 mrudolph 1.3 #Sequence to PRODUCE the particles
92 mrudolph 1.2 vProducer = cms.Sequence(PisStable*TrackRefitter*ProtonsStable*Ksh2PiPi*Lambda2ProtPi)
93 mrudolph 1.3
94     #Sequence to fill objects - run after standard MitTreeFiller
95     vFiller = cms.Sequence(FillKsh*FillLambda)