Page MenuHomeHEPForge

Frog_Analyzer_3TCosmics_cfg.py
No OneTemporary

Frog_Analyzer_3TCosmics_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("FROG")
process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.source = cms.Source("PoolSource",
skipEvents = cms.untracked.uint32(0),
fileNames = cms.untracked.vstring(
'/store/data/Commissioning08/Cosmics/RECO/EW35_3T_v1/000/060/302/2E653B32-1277-DD11-A8F2-0030487A3232.root', #Run60302
'/store/data/Commissioning08/Cosmics/RECO/EW35_3T_v1/000/060/302/749B859D-2C76-DD11-9837-001D09F24498.root', #Run60302
'/store/data/Commissioning08/Cosmics/RECO/EW35_3T_v1/000/060/302/8E5B9DA9-2E76-DD11-90BB-0019B9F70607.root' #Run60302
)
)
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(100000)
)
# Conditions (Global Tag is used here):
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
process.GlobalTag.globaltag = "CRUZET4_V4P::All"
process.prefer("GlobalTag")
# Magnetic field: force mag field to be 3.0 tesla
process.load("Configuration.StandardSequences.MagneticField_38T_cff")
process.load("TrackingTools.TrackRefitter.TracksToTrajectories_cff")
process.load("Visualisation.Frog.Frog_Analyzer_cff")
process.filterOnTracks = cms.EDFilter("TrackCountFilter",
# src = cms.InputTag('ctfWithMaterialTracksP5'),
src = cms.InputTag('globalCosmicMuons'),
minNumber = cms.uint32(1)
)
import RecoTracker.TrackProducer.RefitterWithMaterial_cff
process.CTFRefit = RecoTracker.TrackProducer.RefitterWithMaterial_cfi.TrackRefitter.clone()
process.CTFRefit.src = 'ctfWithMaterialTracksP5'
process.load("RecoTracker.TrackProducer.RefitterWithMaterial_cff")
process.TrackRefitter.src = 'ctfWithMaterialTracksP5'
process.TrackRefitter.TrajectoryInEvent = True
#process.load("RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilderWithoutRefit_cfi")
process.load("RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff")
process.globalMuons = cms.EDFilter("TracksToTrajectories",
Tracks = cms.InputTag("globalCosmicMuons"),
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.load("Visualisation.Frog.Frog_Analyzer_cff")
process.frog.OutputFile = 'Cosmic3T.vis'
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 = ['globalMuons' ] #Commented Lines means default value
process.frog.TrajectoryProducers = ['TrackRefitter', 'globalCosmicMuons'] #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
# OUT
process.OUT = cms.OutputModule("PoolOutputModule",
fileName = cms.untracked.string('out.root'),
outputCommands = cms.untracked.vstring(
'keep *'
# 'drop *',
# 'keep *_*_*_FROG'
)
)
process.p = cms.Path(process.filterOnTracks * process.TrackRefitter * process.frog)
#process.p = cms.Path(process.filterOnTracks * process.globalCosmicMuons * process.CTFRefit * process.TrackRefitter * process.frog)
#process.p = cms.Path(process.filterOnTracks * process.globalMuons * process.CTFRefit * process.TrackRefitter * process.frog)
#process.outpath = cms.EndPath(process.OUT)
#process.schedule = cms.Schedule(process.p, process.outpath)

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 12:35 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3893437
Default Alt Text
Frog_Analyzer_3TCosmics_cfg.py (5 KB)

Event Timeline