Revision: | 1.4 |
Committed: | Tue Nov 3 15:13:18 2009 UTC (15 years, 6 months ago) by bendavid |
Content type: | text/x-python |
Branch: | MAIN |
CVS Tags: | Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, HEAD |
Branch point for: | Mit_025c_branch |
Changes since 1.3: | +25 -22 lines |
Log Message: | Python fixes to track JetMet changes and other small 33x and bambu 12 updates |
# | User | Rev | Content |
---|---|---|---|
1 | bendavid | 1.4 | # $Id: vProducerNoRefit_cff.py,v 1.3 2009/07/20 05:04:20 loizides Exp $ |
2 | loizides | 1.1 | |
3 | import FWCore.ParameterSet.Config as cms | ||
4 | |||
5 | import MitEdm.Producers.stableParts_cfi | ||
6 | |||
7 | PisStable = MitEdm.Producers.stableParts_cfi.stableParts.clone() | ||
8 | |||
9 | ProtonsStable = MitEdm.Producers.stableParts_cfi.stableParts.clone() | ||
10 | ProtonsStable.oPid = cms.untracked.int32(2212) | ||
11 | |||
12 | import MitEdm.Producers.v2ss_cfi | ||
13 | Ksh2PiPi = MitEdm.Producers.v2ss_cfi.v2ss.clone() | ||
14 | Ksh2PiPi.useHitDropper = cms.untracked.bool(False) | ||
15 | |||
16 | Lambda2ProtPi = MitEdm.Producers.v2ss_cfi.v2ss.clone() | ||
17 | Lambda2ProtPi.iStables2 = cms.untracked.string('ProtonsStable') | ||
18 | Lambda2ProtPi.oPid = cms.untracked.int32(3122) | ||
19 | Lambda2ProtPi.minMass = cms.untracked.double(1.0) | ||
20 | Lambda2ProtPi.maxMass = cms.untracked.double(1.3) | ||
21 | Lambda2ProtPi.useHitDropper = cms.untracked.bool(False) | ||
22 | |||
23 | bendavid | 1.4 | vProducer = cms.Sequence(PisStable*ProtonsStable*Ksh2PiPi*Lambda2ProtPi) |
24 | |||
25 | def addKshFiller(filler): | ||
26 | |||
27 | filler.fillers.extend(('PisStable', | ||
28 | 'Ksh2PiPi')) | ||
29 | loizides | 1.1 | |
30 | bendavid | 1.4 | filler.PisStable = cms.untracked.PSet( |
31 | active = cms.untracked.bool(True), | ||
32 | mitName = cms.untracked.string('PisStable'), | ||
33 | edmName = cms.untracked.string('PisStable'), | ||
34 | bendavid | 1.2 | trackMapNames = cms.untracked.vstring('TracksMapName'), |
35 | bendavid | 1.4 | basePartMap = cms.untracked.string('PisStableMapName'), |
36 | fillerType = cms.untracked.string('FillerStableParts') | ||
37 | ) | ||
38 | loizides | 1.1 | |
39 | bendavid | 1.4 | filler.Ksh2PiPi = cms.untracked.PSet( |
40 | loizides | 1.1 | active = cms.untracked.bool(True), |
41 | mitName = cms.untracked.string('Ksh2PiPi'), | ||
42 | edmName = cms.untracked.string('Ksh2PiPi'), | ||
43 | basePartMaps = cms.untracked.vstring('PisStableMapName'), | ||
44 | fillerType = cms.untracked.string('FillerDecayParts') | ||
45 | ) | ||
46 | |||
47 | bendavid | 1.4 | def addLambdaFiller(filler): |
48 | |||
49 | filler.fillers.extend(('ProtonsStable', | ||
50 | 'Lambda2ProtPi')) | ||
51 | loizides | 1.1 | |
52 | bendavid | 1.4 | filler.ProtonsStable = cms.untracked.PSet( |
53 | loizides | 1.3 | active = cms.untracked.bool(True), |
54 | mitName = cms.untracked.string('ProtonsStable'), | ||
55 | edmName = cms.untracked.string('ProtonsStable'), | ||
56 | bendavid | 1.2 | trackMapNames = cms.untracked.vstring('TracksMapName'), |
57 | loizides | 1.3 | basePartMap = cms.untracked.string('ProtonsStableMapName'), |
58 | fillerType = cms.untracked.string('FillerStableParts') | ||
59 | bendavid | 1.4 | ) |
60 | loizides | 1.1 | |
61 | bendavid | 1.4 | filler.Lambda2ProtPi = cms.untracked.PSet( |
62 | loizides | 1.1 | active = cms.untracked.bool(True), |
63 | mitName = cms.untracked.string('Lambda2ProtPi'), | ||
64 | edmName = cms.untracked.string('Lambda2ProtPi'), | ||
65 | basePartMaps = cms.untracked.vstring('PisStableMapName','ProtonsStableMapName'), | ||
66 | fillerType = cms.untracked.string('FillerDecayParts') | ||
67 | ) | ||
68 | |||
69 | bendavid | 1.4 | def addVFiller(filler): |
70 | addKshFiller(filler) | ||
71 | addLambdaFiller(filler) |