Page MenuHomeHEPForge

Frog_Analyzer_22X_cfg.py
No OneTemporary

Frog_Analyzer_22X_cfg.py

import FWCore.ParameterSet.Config as cms
process = cms.Process("FROG")
process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
process.GlobalTag.globaltag = 'STARTUP_V11::All'
process.load('Configuration/StandardSequences/GeometryPilot2_cff')
process.load('Configuration/StandardSequences/MagneticField_38T_cff')
process.source = cms.Source("PoolSource",
# fileNames = cms.untracked.vstring('/store/relval/CMSSW_3_1_0_pre9/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/EA6C6D8A-5E4F-DE11-BD34-0030487C6062.root')
# fileNames = cms.untracked.vstring('/store/relval/CMSSW_3_1_0_pre9/RelValTTbar/GEN-SIM-RECO/STARTUP_31X_v1/0007/DCDC08E0-514F-DE11-90B8-001D09F28755.root')
fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_2_9/RelValTTbar/GEN-SIM-RECO/STARTUP_V11_v1/0001/E4EDEA99-2832-DE11-804F-001617E30D0A.root')
# fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_2_9/RelValSingleTauPt50Pythia/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_V12_v1/0001/E8FD6DAB-4D32-DE11-8D04-001617E30D38.root')
)
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(50)
)
process.load("RecoVertex.BeamSpotProducer.BeamSpot_cfi")
process.load("RecoTracker.TrackProducer.TrackRefitters_cff")
process.TrackRefitter.src = cms.InputTag("generalTracks")
#process.load("RecoTracker.TrackProducer.TrackRefitters_cff")
#process.load("RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilderWithoutRefit_cfi")
#process.load("RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff")
#process.load("TrackingTools.TrackRefitter.TracksToTrajectories_cff")
#process.generalTracks = cms.EDFilter("TracksToTrajectories",
# Type = cms.string("Default"),
# Tracks = cms.InputTag("generalTracks"),
# TrackTransformer = cms.PSet(DoPredictionsOnly = cms.bool(False),
# Fitter = cms.string('KFFitterForRefitInsideOut'),
# TrackerRecHitBuilder = cms.string('WithTrackAngle'),
# Smoother = cms.string('KFSmootherForRefitInsideOut'),
# MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
# RefitDirection = cms.string('alongMomentum'),
# RefitRPCHits = cms.bool(True),
# Propagator = cms.string('SmartPropagatorAnyRKOpposite')
# )
#)
process.load("Visualisation.Frog.Frog_Analyzer_cff")
# You can either use the module "frogDefault", that is configured for standard Gen-Sim-Digi-Reco files (open Visualisation.Frog.Frog_Analyzer_cff to see what are the default stored collections)
# or you can use the "frog" module that don't store any collection by default, use have to add the collection to store by yourself (as it is done below)
process.frog.ProduceGeom = cms.bool(True) #Do you want to produce CMS.geom file?
process.frog.OutputFile = 'RelVal_TTBar.vis' #Path of your output .vis file
process.frog.CompressFiles = cms.bool(False) #When True, your output .vis file will be gzipped into a .vis.gz
process.frog.NEventsInVisFile = -1 #Set the maximum number of events in a .vis file, when this number is reached, a new .vis is created
process.frog.AddRunInfoInName = cms.bool(True) #Switch this to False, if you don't want the Run Number in your .vis name file (used only if NEventsInVisFile>0)
process.frog.WarningOnMissingProduct = cms.bool(True) #Switch this to False, if you don't want warning on Missing Product
#tell Frog to store --> ### GEN INFO:
process.frog.GenParticlesProducers .extend(["genParticles"])
process.frog.GenJetsProducers .extend(["sisCone5GenJets"])
process.frog.GenMETProducers .extend(["genMetCalo"])
process.frog.GenMETProducers .extend(["genMetTrue"])
#tell Frog to store --> ### SIM INFO:
process.frog.SimVertexProducers .extend(["g4SimHits"])
process.frog.SimTrackProducers .extend(["g4SimHits"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsPixelBarrelLowTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsPixelBarrelHighTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsPixelEndcapLowTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsPixelEndcapHighTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsTIBLowTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsTIBHighTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsTIDLowTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsTIDHighTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsTOBLowTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsTOBHighTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsTECLowTof"])
process.frog.SimHitProducers .extend(["g4SimHits:TrackerHitsTECHighTof"])
process.frog.SimHitProducers .extend(["g4SimHits:MuonDTHits"])
process.frog.SimHitProducers .extend(["g4SimHits:MuonCSCHits"])
process.frog.SimCaloHitProducers .extend(["g4SimHits:CaloHitsTk"])
process.frog.SimCaloHitProducers .extend(["g4SimHits:EcalHitsEB"])
process.frog.SimCaloHitProducers .extend(["g4SimHits:EcalHitsEE"])
process.frog.SimCaloHitProducers .extend(["g4SimHits:EcalHitsES"])
process.frog.SimCaloHitProducers .extend(["g4SimHits:HcalHits"])
#tell Frog to store --> ### LOW LEVEL RECO INFO:
process.frog.SiStripClusterProducers.extend(["siStripClusters"])
process.frog.EcalRecHitProducers .extend(["ecalRecHit:EcalRecHitsEB"])
process.frog.EcalRecHitProducers .extend(["ecalRecHit:EcalRecHitsEE"])
process.frog.EcalRecHitProducers .extend(["ecalPreshowerRecHit:EcalRecHitsES"])
process.frog.HcalHBHERecHitProducers.extend(["hbhereco"])
process.frog.HcalHORecHitProducers .extend(["horeco"])
process.frog.HcalHFRecHitProducers .extend(["hfreco"])
process.frog.DTSegmentProducers .extend(["dt4DSegments"])
process.frog.CSCSegmentProducers .extend(["cscSegments"])
process.frog.RPCHitsProducers .extend(["rpcRecHits"])
process.frog.CaloTowersProducers .extend(["towerMaker"])
process.frog.NIProducers .extend([])
#tell Frog to store --> ### HIGH LEVEL RECO INFO:
process.frog.TrackProducers .extend([]) #Better to Refit the tracks and load the trajectories
process.frog.TrajectoryProducers .extend(["TrackRefitter"])
process.frog.BasicJetsProducers .extend([])
process.frog.CaloJetsProducers .extend(["sisCone5CaloJets"])
process.frog.RecoCandidateProducers .extend([])
process.frog.CaloMETProducers .extend(["met"])
#tell Frog to store --> ### HLT INFO:
process.frog.DTSegmentProducers .extend(["hltDt4DSegments"])
process.frog.CSCSegmentProducers .extend(["hltCscSegments"])
process.frog.RPCHitsProducers .extend(["hltRpcRecHits"])
process.frog.CaloTowersProducers .extend(["hltTowerMakerForAll"])
process.frog.CaloJetsProducers .extend(["hltIterativeCone5CaloJets"])
process.frog.CaloMETProducers .extend(["hltMet"])
#process.Timing = cms.Service("Timing")
#process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
# ignoreTotal = cms.untracked.int32(1) ## default is one
#)
#process.p = cms.Path(process.offlineBeamSpot)
#process.p = cms.Path(process.frog)
#process.p = cms.Path(process.offlineBeamSpot + process.TrackRefitter)
process.p = cms.Path(process.offlineBeamSpot * process.TrackRefitter * process.frog)

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 10:31 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4210609
Default Alt Text
Frog_Analyzer_22X_cfg.py (7 KB)

Event Timeline