CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PYTHIA6_MinBias_900GeV_cff_py_GEN_FASTSIM.py
Go to the documentation of this file.
1 # Auto generated configuration file
2 # using:
3 # Revision: 1.155
4 # Source: /cvs_server/repositories/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v
5 # with command line options: Configuration/GenProduction/python/PYTHIA6_MinBias_900GeV_cff.py -s GEN,FASTSIM --pileup=NoPileUp --conditions=STARTUP3X_V8K::All --eventcontent=RECODEBUG --beamspot=Early900GeVCollision --datatier GEN-SIM-DIGI-RECO -n 100 --no_exec
6 import FWCore.ParameterSet.Config as cms
7 
8 process = cms.Process('HLT')
9 
10 # import of standard configurations
11 process.load('Configuration.StandardSequences.Services_cff')
12 process.load('FWCore.MessageService.MessageLogger_cfi')
13 process.load("IOMC.RandomEngine.IOMC_cff")
14 process.load('FastSimulation.PileUpProducer.PileUpSimulator10TeV_cfi')
15 process.load('FastSimulation.Configuration.FamosSequences_cff')
16 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
17 process.load('Configuration.StandardSequences.Generator_cff')
18 process.load('FastSimulation.Configuration.FamosSequences_cff')
19 process.load('FastSimulation.Configuration.HLT_8E29_cff')
20 process.load('IOMC.EventVertexGenerators.VtxSmearedParameters_cfi')
21 process.load('FastSimulation.Configuration.CommonInputs_cff')
22 process.load('FastSimulation.Configuration.EventContent_cff')
23 
24 process.configurationMetadata = cms.untracked.PSet(
25  version = cms.untracked.string('$Revision: 1.3 $'),
26  annotation = cms.untracked.string('PYTHIA6-MinBias at 900GeV'),
27  name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/FastSimulation/Configuration/python/Attic/PYTHIA6_MinBias_900GeV_cff_py_GEN_FASTSIM.py,v $')
28 )
29 process.maxEvents = cms.untracked.PSet(
30  input = cms.untracked.int32(100)
31 )
32 process.options = cms.untracked.PSet(
33  Rethrow = cms.untracked.vstring('OtherCMS',
34  'StdException',
35  'Unknown',
36  'BadAlloc',
37  'BadExceptionType',
38  'ProductNotFound',
39  'DictionaryNotFound',
40  'InsertFailure',
41  'Configuration',
42  'LogicError',
43  'UnimplementedFeature',
44  'InvalidReference',
45  'NullPointerError',
46  'NoProductSpecified',
47  'EventTimeout',
48  'EventCorruption',
49  'ScheduleExecutionFailure',
50  'EventProcessorFailure',
51  'FileInPathError',
52  'FileOpenError',
53  'FileReadError',
54  'FatalRootError',
55  'MismatchedInputFiles',
56  'ProductDoesNotSupportViews',
57  'ProductDoesNotSupportPtr',
58  'NotFound')
59 )
60 # Input source
61 process.source = cms.Source("EmptySource")
62 
63 # Output definition
64 process.output = cms.OutputModule("PoolOutputModule",
65  splitLevel = cms.untracked.int32(0),
66  outputCommands = process.RECODEBUGEventContent.outputCommands,
67  fileName = cms.untracked.string('PYTHIA6_MinBias_900GeV_cff_py_GEN_FASTSIM.root'),
68  dataset = cms.untracked.PSet(
69  dataTier = cms.untracked.string('GEN-SIM-DIGI-RECO'),
70  filterName = cms.untracked.string('')
71  ),
72  SelectEvents = cms.untracked.PSet(
73  SelectEvents = cms.vstring('generation_step')
74  )
75 )
76 
77 # Additional output definition
78 
79 # Other statements
80 process.famosPileUp.PileUpSimulator = process.PileUpSimulatorBlock.PileUpSimulator
81 process.famosPileUp.PileUpSimulator.averageNumber = 0
82 process.famosSimHits.SimulateCalorimetry = True
83 process.famosSimHits.SimulateTracking = True
84 process.famosSimHits.ActivateDecays.comEnergy = 10000
85 process.simulation = cms.Sequence(process.simulationWithFamos)
86 process.HLTEndSequence = cms.Sequence(process.reconstructionWithFamos)
87 
88 # set correct vertex smearing
89 process.Early900GeVCollisionVtxSmearingParameters.type = cms.string("BetaFunc")
90 process.famosSimHits.VertexGenerator = process.Early900GeVCollisionVtxSmearingParameters
91 process.famosPileUp.VertexGenerator = process.Early900GeVCollisionVtxSmearingParameters
92 # Apply ECAL/HCAL miscalibration
93 process.ecalRecHit.doMiscalib = True
94 process.hbhereco.doMiscalib = True
95 process.horeco.doMiscalib = True
96 process.hfreco.doMiscalib = True
97 # Apply Tracker and Muon misalignment
98 process.famosSimHits.ApplyAlignment = True
99 process.misalignedTrackerGeometry.applyAlignment = True
100 
101 process.misalignedDTGeometry.applyAlignment = True
102 process.misalignedCSCGeometry.applyAlignment = True
103 
104 process.GlobalTag.globaltag = 'STARTUP3X_V8K::All'
105 process.generator = cms.EDFilter("Pythia6GeneratorFilter",
106  pythiaPylistVerbosity = cms.untracked.int32(1),
107  filterEfficiency = cms.untracked.double(1.0),
108  pythiaHepMCVerbosity = cms.untracked.bool(False),
109  comEnergy = cms.double(900.0),
110  crossSection = cms.untracked.double(52410000000.0),
111  maxEventsToPrint = cms.untracked.int32(0),
112  PythiaParameters = cms.PSet(
113  pythiaUESettings = cms.vstring('MSTJ(11)=3 ! Choice of the fragmentation function',
114  'MSTJ(22)=2 ! Decay those unstable particles',
115  'PARJ(71)=10 . ! for which ctau 10 mm',
116  'MSTP(2)=1 ! which order running alphaS',
117  'MSTP(33)=0 ! no K factors in hard cross sections',
118  'MSTP(51)=10042 ! CTEQ6L1 structure function chosen',
119  'MSTP(52)=2 ! work with LHAPDF',
120  'MSTP(81)=1 ! multiple parton interactions 1 is Pythia default',
121  'MSTP(82)=4 ! Defines the multi-parton model',
122  'MSTU(21)=1 ! Check on possible errors during program execution',
123  'PARP(82)=1.8387 ! pt cutoff for multiparton interactions',
124  'PARP(89)=1960. ! sqrts for which PARP82 is set',
125  'PARP(83)=0.5 ! Multiple interactions: matter distrbn parameter',
126  'PARP(84)=0.4 ! Multiple interactions: matter distribution parameter',
127  'PARP(90)=0.16 ! Multiple interactions: rescaling power',
128  'PARP(67)=2.5 ! amount of initial-state radiation',
129  'PARP(85)=1.0 ! gluon prod. mechanism in MI',
130  'PARP(86)=1.0 ! gluon prod. mechanism in MI',
131  'PARP(62)=1.25 ! ',
132  'PARP(64)=0.2 ! ',
133  'MSTP(91)=1 !',
134  'PARP(91)=2.1 ! kt distribution',
135  'PARP(93)=15.0 ! '),
136  processParameters = cms.vstring('MSEL=0 ! User defined processes',
137  'MSUB(11)=1 ! Min bias process',
138  'MSUB(12)=1 ! Min bias process',
139  'MSUB(13)=1 ! Min bias process',
140  'MSUB(28)=1 ! Min bias process',
141  'MSUB(53)=1 ! Min bias process',
142  'MSUB(68)=1 ! Min bias process',
143  'MSUB(92)=1 ! Min bias process, single diffractive',
144  'MSUB(93)=1 ! Min bias process, single diffractive',
145  'MSUB(94)=1 ! Min bias process, double diffractive',
146  'MSUB(95)=1 ! Min bias process'),
147  parameterSets = cms.vstring('pythiaUESettings',
148  'processParameters')
149  )
150 )
151 process.ProductionFilterSequence = cms.Sequence(process.generator)
152 
153 # Path and EndPath definitions
154 process.generation_step = cms.Path(cms.SequencePlaceholder("randomEngineStateProducer"))
155 process.reconstruction = cms.Path(process.reconstructionWithFamos)
156 process.out_step = cms.EndPath(process.output)
157 
158 # Schedule definition
159 process.schedule = cms.Schedule(process.generation_step)
160 process.schedule.extend(process.HLTSchedule)
161 process.schedule.extend([process.reconstruction,process.out_step])
162 # special treatment in case of production filter sequence
163 for path in process.paths:
164  getattr(process,path)._seq = process.ProductionFilterSequence*getattr(process,path)._seq