Page MenuHomeHEPForge

Frog_Analyzer_cfg.py
No OneTemporary

Frog_Analyzer_cfg.py

# The following comments couldn't be translated into the new config version:
#keep the logging output to a nice level
import FWCore.ParameterSet.Config as cms
process = cms.Process("Demo")
process.load("Configuration.StandardSequences.FakeConditions_cff")
process.load("TrackingTools.TrackRefitter.TracksToTrajectories_cff")
process.load("Visualisation.Frog.Frog_Analyzer_cff")
process.source = cms.Source("PoolSource",
fileNames =
#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')
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')
)
process.load("RecoTracker.TrackProducer.RefitterWithMaterial_cff")
process.load("RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilderWithoutRefit_cfi")
process.TrackRefitter.src = 'generalTracks'
process.TrackRefitter.TrajectoryInEvent = True
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(10)
)
process.load("FWCore.MessageLogger.MessageLogger_cfi")
## report only every 100th record
#process.MessageLogger.cerr.FwkReport.reportEvery = 100
process.generalTracks = cms.EDFilter("TracksToTrajectories",
Tracks = cms.InputTag("generalTracks"),
TrackTransformer = cms.PSet(
Fitter = cms.string('KFFitterForRefitInsideOut'),
TrackerRecHitBuilder = cms.string('WithTrackAngle'),
Smoother = cms.string('KFSmootherForRefitInsideOut'),
MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
RefitDirection = cms.string('insideOut'),
RefitRPCHits = cms.bool(True),
Propagator = cms.string('SmartPropagatorAnyRK')
)
)
process.standAloneMuons = cms.EDFilter("TracksToTrajectories",
Tracks = cms.InputTag("standAloneMuons"),
TrackTransformer = cms.PSet(
Fitter = cms.string('KFFitterForRefitInsideOut'),
TrackerRecHitBuilder = cms.string('WithTrackAngle'),
Smoother = cms.string('KFSmootherForRefitInsideOut'),
MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
RefitDirection = cms.string('insideOut'),
RefitRPCHits = cms.bool(True),
Propagator = cms.string('SmartPropagatorAnyRK')
)
)
process.globalMuons = cms.EDFilter("TracksToTrajectories",
Tracks = cms.InputTag("globalMuons"),
TrackTransformer = cms.PSet(
Fitter = cms.string('KFFitterForRefitInsideOut'),
TrackerRecHitBuilder = cms.string('WithTrackAngle'),
Smoother = cms.string('KFSmootherForRefitInsideOut'),
MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
RefitDirection = cms.string('insideOut'),
RefitRPCHits = cms.bool(True),
Propagator = cms.string('SmartPropagatorAnyRK')
)
)
# OUT
process.OUT = cms.OutputModule("PoolOutputModule",
fileName = cms.untracked.string('out.root'),
outputCommands = cms.untracked.vstring(
'keep *'
)
)
process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
from PhysicsTools.HepMCCandAlgos.genParticles_cfi import *
process.genParticles = cms.EDProducer("GenParticleProducer",
saveBarCodes = cms.untracked.bool(True),
src = cms.InputTag("source"),
abortOnUnknownPDGCode = cms.untracked.bool(True)
)
#process.p = cms.Path(process.genCandidates * process.TrackRefitter * process.frog)
process.p = cms.Path(process.genParticles * process.TrackRefitter * process.frog)
process.frog.OutputFile = 'QCD_3000to3500.vis'
process.frog.CompressFiles = cms.bool(False)
#process.frog.GenParticlesProducers = [] #Commented Lines means default value
#process.frog.SimVertexProducers = [] #Commented Lines means default value
#process.frog.SimTrackProducers = [] #Commented Lines means default value
#process.frog.SimHitProducers = [] #Commented Lines means default value
process.frog.SimCaloHitProducers = [] #Commented Lines means default value#
#process.frog.SiStripClusterProducers = [] #Commented Lines means default value
#process.frog.EcalRecHitProducers = [] #Commented Lines means default value
#process.frog.HcalHBHERecHitProducers = [] #Commented Lines means default value
#process.frog.HcalHORecHitProducers = [] #Commented Lines means default value
#process.frog.HcalHFRecHitProducers = [] #Commented Lines means default value
#process.frog.DTSegmentProducers = [] #Commented Lines means default value
#process.frog.CSCSegmentProducers = [] #Commented Lines means default value
#process.frog.RPCHitsProducers = [] #Commented Lines means default value
#process.frog.CaloTowersProducers = [] #Commented Lines means default value
#process.frog.NIProducers = [] #Commented Lines means default value
#process.frog.TrackProducers = [] #Commented Lines means default value
process.frog.TrajectoryProducers = ['TrackRefitter'] #Commented Lines means default value
#process.frog.BasicJetsProducers = [] #Commented Lines means default value
#process.frog.CaloJetsProducers = [] #Commented Lines means default value
#process.frog.RecoCandidateProducers = [] #Commented Lines means default value
#process.frog.CaloMETProducers = [] #Commented Lines means default value
#process.outpath = cms.EndPath(process.OUT)
#process.schedule = cms.Schedule(process.p, process.outpath)

File Metadata

Mime Type
text/x-python
Expires
Mon, Jan 20, 9:09 PM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4242382
Default Alt Text
Frog_Analyzer_cfg.py (5 KB)

Event Timeline