CMS 3D CMS Logo

testFFW_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("DISPLAY")
4 
5 
6 #process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
7 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
8 from Configuration.AlCa.autoCond import autoCond
9 process.GlobalTag.globaltag = autoCond['mc']
10 process.load("Configuration.StandardSequences.Geometry_cff")
11 process.load("Configuration.StandardSequences.Reconstruction_cff")
12 
13 
14 ### Expects test.root in current directory.
15 # fileNames=cms.untracked.vstring('root://xrootd.t2.ucsd.edu//tas-5/cerati/TTbarEventsPU/step2_ttbar_45PU25ns.root')
16 process.source = cms.Source(
17  "PoolSource",
18  fileNames=cms.untracked.vstring('file:/home/alja/cms-dev/tracking.root')
19 )
20 
21 process.POurFilter = cms.EDFilter("RandomFilter",
22  acceptRate = cms.untracked.double(1.0))
23 
24 
25 
27 process.load("SimGeneral.TrackingAnalysis.simHitTPAssociation_cfi")
28 
29 # process.xxx = cms.Sequence(simHitTPAssocProducer)
30 # process.yyy = cms.Path(process.xxx)
31 # process.schedule = cms.Schedule(process.yyy)
32 
33 
34 process.xxx=cms.EDProducer('SimHitTPAssociationProducer',
35 simHitSrc = cms.VInputTag(cms.InputTag('g4SimHits','MuonDTHits'),
36 cms.InputTag('g4SimHits','MuonCSCHits'),
37 cms.InputTag('g4SimHits','MuonRPCHits'),
38 cms.InputTag('g4SimHits','TrackerHitsTIBLowTof'),
39 cms.InputTag('g4SimHits','TrackerHitsTIBHighTof'),
40 cms.InputTag('g4SimHits','TrackerHitsTIDLowTof'),
41 cms.InputTag('g4SimHits','TrackerHitsTIDHighTof'),
42 cms.InputTag('g4SimHits','TrackerHitsTOBLowTof'),
43 cms.InputTag('g4SimHits','TrackerHitsTOBHighTof'),
44 cms.InputTag('g4SimHits','TrackerHitsTECLowTof'),
45 cms.InputTag('g4SimHits','TrackerHitsTECHighTof'),
46 cms.InputTag( 'g4SimHits','TrackerHitsPixelBarrelLowTof'),
47 cms.InputTag('g4SimHits','TrackerHitsPixelBarrelHighTof'),
48 cms.InputTag('g4SimHits','TrackerHitsPixelEndcapLowTof'),
49 cms.InputTag('g4SimHits','TrackerHitsPixelEndcapHighTof') ),
50 trackingParticleSrc = cms.InputTag('mix', 'MergedTrackTruth'),
51 simHitTpMapTag = cms.InputTag("simHitTPAssocProducer")
52 )
53 
54 
55 process.mypath = cms.Path(process.xxx)
56 
57