Page MenuHomeHEPForge

Frog_Analyzer_CosmicsFrowReco_cfg.py
No OneTemporary

Frog_Analyzer_CosmicsFrowReco_cfg.py

import FWCore.ParameterSet.Config as cms
process = cms.Process("FROG")
process.load("Configuration.StandardSequences.Geometry_cff")
process.load("Configuration.StandardSequences.MagneticField_38T_cff")
process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
process.source = cms.Source("PoolSource",
firstEvent = cms.untracked.uint32(589917),
# firstRun = cms.untracked.uint32(1),
fileNames = cms.untracked.vstring(
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/006EB134-6DA0-DD11-B227-000423D99BF2.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/08F7A9C2-6EA0-DD11-858E-000423D6B42C.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/189A846A-70A0-DD11-AF60-000423D9517C.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/1A7495E6-6BA0-DD11-8BD1-000423D8F63C.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/1C5379A1-6EA0-DD11-9789-001617E30F58.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/22035D40-72A0-DD11-8765-001617E30D0A.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/2AB68FF9-7AA0-DD11-AE3D-001617DBD230.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/2E103EB2-6FA0-DD11-9255-0019DB2F3F9B.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/3C276D32-6EA0-DD11-BE8E-000423D98634.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/3EC0E867-72A0-DD11-B85D-000423D98E30.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/4A5668B0-71A0-DD11-AEB6-001617DBCF90.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/4A582B63-6DA0-DD11-A6A7-001617DBD288.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/4E941EE3-87A0-DD11-8426-00304879FA4C.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/5C0F1D1F-74A0-DD11-8438-001617C3B69C.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/62A2DC9D-79A0-DD11-803B-000423D98920.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/7066EB2E-6CA0-DD11-8B4E-001617E30D0A.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/72E59D2A-74A0-DD11-817E-001617DF785A.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/76694FAA-6FA0-DD11-8140-001617C3B6FE.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/7AF31F96-70A0-DD11-8460-001617E30F50.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/8E89337E-7AA0-DD11-8C5E-001617DBCF1E.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/9E6F2814-63A0-DD11-9566-001D09F24399.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/9ED47B87-6EA0-DD11-BE0A-000423D986C4.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/A445F88D-6FA0-DD11-A29A-000423D99F3E.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/B0EF63DB-6EA0-DD11-811A-000423D98E54.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/B2EE63C3-6CA0-DD11-99B0-000423D95030.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/B8ECEDFA-74A0-DD11-93C9-000423D98C20.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/BC4655D1-6FA0-DD11-8C82-000423D6C8E6.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/BC7DAE29-6EA0-DD11-8EA4-001617E30F4C.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/CAA9825B-74A0-DD11-9DA1-000423D98834.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/DC3597CB-6FA0-DD11-A8F1-000423D98B08.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/F46D9840-6DA0-DD11-90BF-000423D99F1E.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/FA91BF13-6CA0-DD11-B609-000423D6CA6E.root',
'/store/data/Commissioning08/Cosmics/RECO/v1/000/067/128/FE6D7368-74A0-DD11-A31F-001617DC1F70.root'
)
)
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100000) )
from FWCore.MessageLogger.MessageLogger_cfi import *
#process.load("Configuration.StandardSequences.FakeConditions_cff")
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
process.prefer("GlobalTag")
process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
process.GlobalTag.globaltag = "CRAFT_V2P::All"
# TRACK FILTER
process.filterOnTracks = cms.EDFilter("TrackCountFilter",
src = cms.InputTag('ctfWithMaterialTracksP5'),
# src = cms.InputTag('cosmictrackfinderP5'),
# src = cms.InputTag('globalCosmicMuons'),
minNumber = cms.uint32(1)
)
import RecoTracker.TrackProducer.TrackRefitters_cff
process.ctfWithMaterialTracksP5 = RecoTracker.TrackProducer.TrackRefitter_cfi.TrackRefitter.clone()
process.ctfWithMaterialTracksP5.src = 'ctfWithMaterialTracksP5'
process.ctfWithMaterialTracksP5.TrajectoryInEvent = True
process.ctfWithMaterialTracksBeamHaloMuon = RecoTracker.TrackProducer.TrackRefitter_cfi.TrackRefitter.clone()
process.ctfWithMaterialTracksBeamHaloMuon.src = 'ctfWithMaterialTracksBeamHaloMuon'
process.ctfWithMaterialTracksBeamHaloMuon.TrajectoryInEvent = True
process.rsWithMaterialTracksP5 = RecoTracker.TrackProducer.TrackRefitter_cfi.TrackRefitter.clone()
process.rsWithMaterialTracksP5.src = 'rsWithMaterialTracksP5'
process.rsWithMaterialTracksP5.TrajectoryInEvent = True
process.cosmictrackfinderP5 = RecoTracker.TrackProducer.TrackRefitter_cfi.TrackRefitter.clone()
process.cosmictrackfinderP5.src = 'cosmictrackfinderP5'
process.cosmictrackfinderP5.TrajectoryInEvent = True
from TrackingTools.TrackRefitter.TracksToTrajectories_cff import *
process.lhcStandAloneMuonsBarrelOnly = cms.EDProducer("TracksToTrajectories",
Tracks = cms.InputTag("lhcStandAloneMuonsBarrelOnly"),
TrackTransformer = cms.PSet(DoPredictionsOnly = cms.bool(True),
Fitter = cms.string('KFFitterForRefitInsideOut'),
TrackerRecHitBuilder = cms.string('WithTrackAngle'),
Smoother = cms.string('KFSmootherForRefitInsideOut'),
MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
RefitDirection = cms.string('insideOut'),
RefitRPCHits = cms.bool(False),
Propagator = cms.string('SmartPropagatorAnyRK')
)
)
process.lhcStandAloneMuonsEndCapsOnly = cms.EDProducer("TracksToTrajectories",
Tracks = cms.InputTag("lhcStandAloneMuonsEndCapsOnly"),
TrackTransformer = cms.PSet(DoPredictionsOnly = cms.bool(True),
Fitter = cms.string('KFFitterForRefitInsideOut'),
TrackerRecHitBuilder = cms.string('WithTrackAngle'),
Smoother = cms.string('KFSmootherForRefitInsideOut'),
MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
RefitDirection = cms.string('insideOut'),
RefitRPCHits = cms.bool(False),
Propagator = cms.string('SmartPropagatorAnyRK')
)
)
process.cosmicMuons = cms.EDProducer("TracksToTrajectories",
Tracks = cms.InputTag("cosmicMuons"),
TrackTransformer = cms.PSet(DoPredictionsOnly = cms.bool(True),
Fitter = cms.string('KFFitterForRefitInsideOut'),
TrackerRecHitBuilder = cms.string('WithTrackAngle'),
Smoother = cms.string('KFSmootherForRefitInsideOut'),
MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
RefitDirection = cms.string('insideOut'),
RefitRPCHits = cms.bool(False),
Propagator = cms.string('SmartPropagatorAnyRK')
)
)
process.globalCosmicMuons = cms.EDProducer("TracksToTrajectories",
Tracks = cms.InputTag("globalCosmicMuons"),
TrackTransformer = cms.PSet(DoPredictionsOnly = cms.bool(True),
Fitter = cms.string('KFFitterForRefitInsideOut'),
TrackerRecHitBuilder = cms.string('WithTrackAngle'),
Smoother = cms.string('KFSmootherForRefitInsideOut'),
MuonRecHitBuilder = cms.string('MuonRecHitBuilder'),
RefitDirection = cms.string('insideOut'),
RefitRPCHits = cms.bool(False),
Propagator = cms.string('SmartPropagatorAnyRK')
)
)
#FROG
process.load("Visualisation.Frog.Frog_Analyzer_cff")
#process.frog.OutputFile = 'Cosmics_noTracksFilter.vis'
#process.frog.OutputFile = 'Cosmics_cosmictrackfinderP5Filter.vis'
process.frog.OutputFile = 'Cosmics_ctfWithMaterialTracksP5.vis'
#process.frog.OutputFile = 'Cosmics_globalCosmicMuonsFilter.vis'
process.frog.NEventsInVisFile = 1000
process.frog.CompressFiles = cms.bool(True)
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 = ['ctfWithMaterialTracksP5', 'ctfWithMaterialTracksBeamHaloMuon', 'rsWithMaterialTracksP5', 'cosmictrackfinderP5', 'lhcStandAloneMuonsBarrelOnly', 'lhcStandAloneMuonsEndCapsOnly', 'cosmicMuons', 'globalCosmicMuons']
#process.frog.TrajectoryProducers = ['ctfWithMaterialTracksP5', 'ctfWithMaterialTracksBeamHaloMuon', 'rsWithMaterialTracksP5', 'cosmictrackfinderP5']
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.p = cms.Path(process.ctfWithMaterialTracksP5 * process.ctfWithMaterialTracksBeamHaloMuon * process.rsWithMaterialTracksP5 * process.cosmictrackfinderP5 * process.lhcStandAloneMuonsBarrelOnly * process.lhcStandAloneMuonsEndCapsOnly * process.cosmicMuons * process.globalCosmicMuons * process.frog)
process.p = cms.Path(process.filterOnTracks * process.ctfWithMaterialTracksP5 * process.ctfWithMaterialTracksBeamHaloMuon * process.rsWithMaterialTracksP5 * process.cosmictrackfinderP5 * process.lhcStandAloneMuonsBarrelOnly * process.lhcStandAloneMuonsEndCapsOnly * process.cosmicMuons * process.globalCosmicMuons * process.frog)
# OUT
process.OUT = cms.OutputModule("PoolOutputModule",
fileName = cms.untracked.string('out.root'),
outputCommands = cms.untracked.vstring(
'keep *'
)
)
#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, 11:04 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4209871
Default Alt Text
Frog_Analyzer_CosmicsFrowReco_cfg.py (13 KB)

Event Timeline