2 process = cms.Process(
"EXAMPLE")
4 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) )
6 process.load(
"Configuration.Generator.PythiaUESettings_cfi")
9 process.load(
'Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
10 process.load(
"Configuration.StandardSequences.Geometry_cff")
11 process.load(
"Configuration.StandardSequences.MagneticField_cff")
12 process.load(
"Geometry.CaloEventSetup.CaloTopology_cfi")
13 process.load(
"Configuration.StandardSequences.Reconstruction_cff")
14 process.GlobalTag.globaltag =
'MC_31X_V5::All'
17 TauolaDefaultInputCards = cms.PSet(
18 InputCards = cms.vstring(
'TAUOLA = 0 0 102 ! TAUOLA ')
20 TauolaNoPolar = cms.PSet(
21 UseTauolaPolarization = cms.bool(
False)
23 TauolaPolar = cms.PSet(
24 UseTauolaPolarization = cms.bool(
True)
27 process.load(
"TauAnalysis.MCEmbeddingTools.MCParticleReplacer_cfi")
28 process.newSource.algorithm =
"Ztautau"
29 process.newSource.verbose =
True
31 process.selectMuons = cms.EDProducer(
'SelectParticles',
32 TrackAssociatorParameters = cms.PSet(
33 muonMaxDistanceSigmaX = cms.double(0.0),
34 muonMaxDistanceSigmaY = cms.double(0.0),
35 CSCSegmentCollectionLabel = cms.InputTag(
"cscSegments"),
36 dRHcal = cms.double(9999.0),
37 dREcal = cms.double(9999.0),
38 CaloTowerCollectionLabel = cms.InputTag(
"towerMaker"),
39 useEcal = cms.bool(
True),
40 dREcalPreselection = cms.double(0.05),
41 HORecHitCollectionLabel = cms.InputTag(
"horeco"),
42 dRMuon = cms.double(9999.0),
43 crossedEnergyType = cms.string(
'SinglePointAlongTrajectory'),
44 propagateAllDirections = cms.bool(
True),
45 muonMaxDistanceX = cms.double(5.0),
46 muonMaxDistanceY = cms.double(5.0),
47 useHO = cms.bool(
True),
48 accountForTrajectoryChangeCalo = cms.bool(
False),
49 DTRecSegment4DCollectionLabel = cms.InputTag(
"dt4DSegments"),
50 EERecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
51 dRHcalPreselection = cms.double(0.2),
52 useMuon = cms.bool(
True),
53 useCalo = cms.bool(
False),
54 EBRecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
55 dRMuonPreselection = cms.double(0.2),
56 truthMatch = cms.bool(
False),
57 HBHERecHitCollectionLabel = cms.InputTag(
"hbhereco"),
58 useHcal = cms.bool(
True)
60 muonInputTag = cms.InputTag(
"muons")
63 process.source = cms.Source(
"PoolSource",
64 skipBadFiles = cms.untracked.bool(
True),
65 skipEvents = cms.untracked.uint32(0),
66 fileNames = cms.untracked.vstring(
'file:/home/elpis/ekp/events/copy_Zmumu_Summer08_IDEAL_V9_v1_GEN-SIM-RECO_2008-12-29_0.root')
69 process.load(
"Configuration.EventContent.EventContent_cff")
70 process.load(
"FWCore.MessageService.MessageLogger_cfi")
71 process.MessageLogger.cerr.threshold =
'DEBUG'
73 process.OUTPUT = cms.OutputModule(
"PoolOutputModule",
74 outputCommands = cms.untracked.vstring(
"keep *_*_*_*"),
75 SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring(
'p1')),
76 fileName = cms.untracked.string(
'grid_job_output.root')
80 process.dump = cms.EDAnalyzer(
"EventContentAnalyzer")
85 process.p1 = cms.Path(process.selectMuons*process.newSource)