ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/FastOpenGlDisplayer/python/Frog_Analyzer_cfg.py
Revision: 1.1
Committed: Tue Jul 29 17:16:26 2008 UTC (16 years, 9 months ago) by querten
Content type: text/x-python
Branch: MAIN
CVS Tags: Version_1_07, Version_1_06
Log Message:
Readiness for 21X and tag for Version_1_06

File Contents

# User Rev Content
1 querten 1.1 # The following comments couldn't be translated into the new config version:
2    
3     #keep the logging output to a nice level
4    
5     import FWCore.ParameterSet.Config as cms
6    
7     process = cms.Process("Demo")
8     process.load("Configuration.StandardSequences.FakeConditions_cff")
9    
10     process.load("TrackingTools.TrackRefitter.TracksToTrajectories_cff")
11    
12     process.load("Visualisation.Frog.Frog_Analyzer_cff")
13    
14     process.source = cms.Source("PoolSource",
15     fileNames =
16     cms.untracked.vstring('/store/relval/CMSSW_2_1_0_pre10/RelValSingleMuPt100/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V5_v2/0000/2E7A703D-A05C-DD11-87C7-000423D985E4.root')
17     )
18    
19    
20     process.load("RecoTracker.TrackProducer.RefitterWithMaterial_cff")
21     process.load("RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilderWithoutRefit_cfi")
22     process.TrackRefitter.src = 'generalTracks'
23     process.TrackRefitter.TrajectoryInEvent = True
24    
25     process.maxEvents = cms.untracked.PSet(
26     input = cms.untracked.int32(100)
27     )
28    
29     process.load("FWCore.MessageLogger.MessageLogger_cfi")
30     ## report only every 100th record
31     #process.MessageLogger.cerr.FwkReport.reportEvery = 100
32    
33    
34     process.generalTracks = cms.EDFilter("TracksToTrajectories",
35     Tracks = cms.InputTag("generalTracks"),
36     TrackTransformer = cms.PSet(
37     Fitter = cms.string('KFFitterForRefitInsideOut'),
38     TrackerRecHitBuilder = cms.string('WithTrackAngle'),
39     Smoother = cms.string('KFSmootherForRefitInsideOut'),
40     MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
41     RefitDirection = cms.string('insideOut'),
42     RefitRPCHits = cms.bool(True),
43     Propagator = cms.string('SmartPropagatorAnyRK')
44     )
45     )
46    
47     process.standAloneMuons = cms.EDFilter("TracksToTrajectories",
48     Tracks = cms.InputTag("standAloneMuons"),
49     TrackTransformer = cms.PSet(
50     Fitter = cms.string('KFFitterForRefitInsideOut'),
51     TrackerRecHitBuilder = cms.string('WithTrackAngle'),
52     Smoother = cms.string('KFSmootherForRefitInsideOut'),
53     MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
54     RefitDirection = cms.string('insideOut'),
55     RefitRPCHits = cms.bool(True),
56     Propagator = cms.string('SmartPropagatorAnyRK')
57     )
58     )
59    
60     process.globalMuons = cms.EDFilter("TracksToTrajectories",
61     Tracks = cms.InputTag("globalMuons"),
62     TrackTransformer = cms.PSet(
63     Fitter = cms.string('KFFitterForRefitInsideOut'),
64     TrackerRecHitBuilder = cms.string('WithTrackAngle'),
65     Smoother = cms.string('KFSmootherForRefitInsideOut'),
66     MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
67     RefitDirection = cms.string('insideOut'),
68     RefitRPCHits = cms.bool(True),
69     Propagator = cms.string('SmartPropagatorAnyRK')
70     )
71     )
72    
73     process.p = cms.Path(process.TrackRefitter*process.frog)
74     process.frog.OutputFile = 'Zmumu.vis'
75     process.frog.SimHitProducers = []
76     process.frog.SimCaloHitProducers = []
77     process.frog.TrajectoryProducers = []
78     process.frog.TrackProducers = ['TrackRefitter']
79