ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/FastOpenGlDisplayer/python/Frog_Analyzer_cfg.py
Revision: 1.11
Committed: Tue Nov 11 14:47:19 2008 UTC (16 years, 5 months ago) by querten
Content type: text/x-python
Branch: MAIN
CVS Tags: Version_1_107, Version_1_106, Version_1_105, HEAD
Changes since 1.10: +9 -5 lines
Log Message:
Change InLive.vis

File Contents

# Content
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 #cms.untracked.vstring('/store/relval/CMSSW_2_1_4/RelValQCD_Pt_3000_3500/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V6_v1/0004/08075ECA-6D6C-DD11-A1B6-001617C3B778.root')
18 cms.untracked.vstring('/store/relval/CMSSW_2_1_9/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v2/0000/1A0FD639-1B86-DD11-A3C0-000423D99614.root')
19 )
20
21
22 process.load("RecoVertex.BeamSpotProducer.BeamSpot_cfi")
23 process.load("RecoTracker.TrackProducer.RefitterWithMaterial_cff")
24 process.load("RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilderWithoutRefit_cfi")
25 process.TrackRefitter.src = 'generalTracks'
26 process.TrackRefitter.TrajectoryInEvent = True
27
28 process.maxEvents = cms.untracked.PSet(
29 input = cms.untracked.int32(25)
30 )
31
32 process.load("FWCore.MessageLogger.MessageLogger_cfi")
33 ## report only every 100th record
34 #process.MessageLogger.cerr.FwkReport.reportEvery = 100
35
36
37 process.generalTracks = cms.EDFilter("TracksToTrajectories",
38 Tracks = cms.InputTag("generalTracks"),
39 TrackTransformer = cms.PSet(
40 Fitter = cms.string('KFFitterForRefitInsideOut'),
41 TrackerRecHitBuilder = cms.string('WithTrackAngle'),
42 Smoother = cms.string('KFSmootherForRefitInsideOut'),
43 MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
44 RefitDirection = cms.string('insideOut'),
45 RefitRPCHits = cms.bool(True),
46 Propagator = cms.string('SmartPropagatorAnyRK')
47 )
48 )
49
50 process.standAloneMuons = cms.EDFilter("TracksToTrajectories",
51 Tracks = cms.InputTag("standAloneMuons"),
52 TrackTransformer = cms.PSet(
53 Fitter = cms.string('KFFitterForRefitInsideOut'),
54 TrackerRecHitBuilder = cms.string('WithTrackAngle'),
55 Smoother = cms.string('KFSmootherForRefitInsideOut'),
56 MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
57 RefitDirection = cms.string('insideOut'),
58 RefitRPCHits = cms.bool(True),
59 Propagator = cms.string('SmartPropagatorAnyRK')
60 )
61 )
62
63 process.globalMuons = cms.EDFilter("TracksToTrajectories",
64 Tracks = cms.InputTag("globalMuons"),
65 TrackTransformer = cms.PSet(
66 Fitter = cms.string('KFFitterForRefitInsideOut'),
67 TrackerRecHitBuilder = cms.string('WithTrackAngle'),
68 Smoother = cms.string('KFSmootherForRefitInsideOut'),
69 MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
70 RefitDirection = cms.string('insideOut'),
71 RefitRPCHits = cms.bool(True),
72 Propagator = cms.string('SmartPropagatorAnyRK')
73 )
74 )
75
76
77 # OUT
78 process.OUT = cms.OutputModule("PoolOutputModule",
79 fileName = cms.untracked.string('out.root'),
80 outputCommands = cms.untracked.vstring(
81 'keep *'
82 )
83 )
84
85
86 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
87
88
89 from PhysicsTools.HepMCCandAlgos.genParticles_cfi import *
90
91 process.genParticles = cms.EDProducer("GenParticleProducer",
92 saveBarCodes = cms.untracked.bool(True),
93 src = cms.InputTag("source"),
94 abortOnUnknownPDGCode = cms.untracked.bool(True)
95 )
96
97
98 #process.p = cms.Path(process.genCandidates * process.TrackRefitter * process.frog)
99 process.p = cms.Path(process.genParticles * process.offlineBeamSpot * process.TrackRefitter * process.frog)
100 process.frog.OutputFile = 'RelVal_TTBar.vis'
101 process.frog.CompressFiles = cms.bool(False)
102 process.frog.NEventsInVisFile = -1
103 process.frog.AddRunInfoInName = cms.bool(True)
104
105 #process.frog.GenParticlesProducers = [] #Commented Lines means default value
106 #process.frog.SimVertexProducers = [] #Commented Lines means default value
107 #process.frog.SimTrackProducers = [] #Commented Lines means default value
108 #process.frog.SimHitProducers = [] #Commented Lines means default value
109 process.frog.SimCaloHitProducers = [] #Commented Lines means default value#
110 #process.frog.SiStripClusterProducers = [] #Commented Lines means default value
111 #process.frog.EcalRecHitProducers = [] #Commented Lines means default value
112 #process.frog.HcalHBHERecHitProducers = [] #Commented Lines means default value
113 #process.frog.HcalHORecHitProducers = [] #Commented Lines means default value
114 #process.frog.HcalHFRecHitProducers = [] #Commented Lines means default value
115 #process.frog.DTSegmentProducers = [] #Commented Lines means default value
116 #process.frog.CSCSegmentProducers = [] #Commented Lines means default value
117 #process.frog.RPCHitsProducers = [] #Commented Lines means default value
118 #process.frog.CaloTowersProducers = [] #Commented Lines means default value
119 #process.frog.NIProducers = [] #Commented Lines means default value
120 #process.frog.TrackProducers = [] #Commented Lines means default value
121 process.frog.TrajectoryProducers = ['TrackRefitter'] #Commented Lines means default value
122 #process.frog.BasicJetsProducers = [] #Commented Lines means default value
123 #process.frog.CaloJetsProducers = [] #Commented Lines means default value
124 #process.frog.RecoCandidateProducers = [] #Commented Lines means default value
125 #process.frog.CaloMETProducers = [] #Commented Lines means default value
126
127
128
129 #process.outpath = cms.EndPath(process.OUT)
130 #process.schedule = cms.Schedule(process.p, process.outpath)
131