ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitEdm/Producers/python/vProducer_cff.py
Revision: 1.9
Committed: Mon Mar 16 22:32:45 2009 UTC (16 years, 1 month ago) by bendavid
Content type: text/x-python
Branch: MAIN
Changes since 1.8: +16 -14 lines
Log Message:
merging in updated config differences

File Contents

# User Rev Content
1 bendavid 1.9 # $Id: vProducer_cff.py,v 1.8 2009/03/16 08:30:51 loizides 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     defactive = cms.untracked.bool(False),
38 loizides 1.8
39     fillerOrder = cms.untracked.vstring('StableParts',
40     'DecayParts'),
41    
42 mrudolph 1.3 StableParts = cms.untracked.PSet(
43     active = cms.untracked.bool(True),
44     mitName = cms.untracked.string('PisStable'),
45     edmName = cms.untracked.string('PisStable'),
46     trackMapName = cms.untracked.string('TracksMapName'),
47 loizides 1.8 basePartMap = cms.untracked.string('PisStableMapName'),
48     fillerType = cms.untracked.string('FillerStableParts')
49 mrudolph 1.3 ),
50    
51     DecayParts = cms.untracked.PSet(
52 loizides 1.8 active = cms.untracked.bool(True),
53     mitName = cms.untracked.string('Ksh2PiPi'),
54     edmName = cms.untracked.string('Ksh2PiPi'),
55     basePartMaps = cms.untracked.vstring('PisStableMapName'),
56     fillerType = cms.untracked.string('FillerDecayParts')
57 mrudolph 1.3 )
58     )
59    
60     FillLambda = cms.EDAnalyzer("FillMitTree",
61 bendavid 1.9 fillerOrder = cms.untracked.vstring('GeneralTracks',
62     'StableParts',
63     'DecayParts'),
64 mrudolph 1.3
65 loizides 1.8 fillerOrder = cms.untracked.vstring('GeneralTracks',
66     'StableParts',
67     'DecayParts'),
68    
69 mrudolph 1.3 GeneralTracks = cms.untracked.PSet(
70 bendavid 1.9 active = cms.untracked.bool(True),
71     mitName = cms.untracked.string('ProtonRefitTracks'),
72     edmName = cms.untracked.string('TrackRefitter'),
73     simMapName = cms.untracked.string('SimMap'),
74 loizides 1.8 trackMapName = cms.untracked.string('ProtTracksMapName'),
75 bendavid 1.9 fillerType = cms.untracked.string('FillerTracks')
76 mrudolph 1.3 ),
77 loizides 1.8
78 mrudolph 1.3 StableParts = cms.untracked.PSet(
79 bendavid 1.9 active = cms.untracked.bool(True),
80     mitName = cms.untracked.string('ProtonsStable'),
81     edmName = cms.untracked.string('ProtonsStable'),
82     trackMapName= cms.untracked.string('ProtTracksMapName'),
83     basePartMap = cms.untracked.string('ProtonsStableMapName'),
84     fillerType = cms.untracked.string('FillerStableParts')
85 mrudolph 1.3 ),
86    
87     DecayParts = cms.untracked.PSet(
88     active = cms.untracked.bool(True),
89     mitName = cms.untracked.string('Lambda2ProtPi'),
90     edmName = cms.untracked.string('Lambda2ProtPi'),
91 bendavid 1.9 basePartMaps = cms.untracked.vstring('PisStableMapName','ProtonsStableMapName'),
92 loizides 1.8 fillerType = cms.untracked.string('FillerDecayParts')
93 mrudolph 1.3 )
94     )
95    
96 mrudolph 1.2
97 mrudolph 1.3 #Sequence to PRODUCE the particles
98 mrudolph 1.2 vProducer = cms.Sequence(PisStable*TrackRefitter*ProtonsStable*Ksh2PiPi*Lambda2ProtPi)
99 mrudolph 1.3
100     #Sequence to fill objects - run after standard MitTreeFiller
101     vFiller = cms.Sequence(FillKsh*FillLambda)