Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:47

0001 # Test CSCValidation running on raw relval file - Tim Cox - 09.09.2013 
0002 # For raw relval in 700, with useDigis ON, and request only 100 events.
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process("TEST")
0007 
0008 process.load("Configuration/StandardSequences/Geometry_cff")
0009 process.load("Configuration/StandardSequences/MagneticField_cff")
0010 process.load("Configuration/StandardSequences/FrontierConditions_GlobalTag_cff")
0011 process.load("Configuration/StandardSequences/RawToDigi_Data_cff")
0012 process.load("Configuration.StandardSequences.Reconstruction_cff")
0013 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0014 
0015 # As of 09.09.2013 only a temp gloabl tag exists for 620/700
0016 process.GlobalTag.globaltag = 'PRE_62_V8::All'
0017 
0018 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0019 process.options = cms.untracked.PSet( SkipEvent = cms.untracked.vstring('ProductNotFound') )
0020 process.source = cms.Source("PoolSource",
0021     fileNames = cms.untracked.vstring(
0022                   '/store/relval/CMSSW_7_0_0_pre3/SingleMu/RAW/PRE_P62_V8_RelVal_mu2011B-v1/00000/127160CD-7215-E311-91F3-003048D15E14.root'
0023 )
0024 )
0025 
0026 process.cscValidation = cms.EDAnalyzer("CSCValidation",
0027     rootFileName = cms.untracked.string('cscv_RAW.root'),
0028     isSimulation = cms.untracked.bool(False),
0029     writeTreeToFile = cms.untracked.bool(True),
0030     useDigis = cms.untracked.bool(True),
0031     detailedAnalysis = cms.untracked.bool(False),
0032     useTriggerFilter = cms.untracked.bool(False),
0033     useQualityFilter = cms.untracked.bool(False),
0034     makeStandalonePlots = cms.untracked.bool(False),
0035     makeTimeMonitorPlots = cms.untracked.bool(True),
0036     rawDataTag = cms.InputTag("rawDataCollector"),
0037     alctDigiTag = cms.InputTag("muonCSCDigis","MuonCSCALCTDigi"),
0038     clctDigiTag = cms.InputTag("muonCSCDigis","MuonCSCCLCTDigi"),
0039     corrlctDigiTag = cms.InputTag("muonCSCDigis","MuonCSCCorrelatedLCTDigi"),
0040     stripDigiTag = cms.InputTag("muonCSCDigis","MuonCSCStripDigi"),
0041     wireDigiTag = cms.InputTag("muonCSCDigis","MuonCSCWireDigi"),
0042     compDigiTag = cms.InputTag("muonCSCDigis","MuonCSCComparatorDigi"),
0043     cscRecHitTag = cms.InputTag("csc2DRecHits"),
0044     cscSegTag = cms.InputTag("cscSegments"),
0045     saMuonTag = cms.InputTag("standAloneMuons"),
0046     l1aTag = cms.InputTag("gtDigis"),
0047     hltTag = cms.InputTag("TriggerResults::HLT"),
0048     makeHLTPlots = cms.untracked.bool(True),
0049     simHitTag = cms.InputTag("g4SimHits", "MuonCSCHits")
0050 )
0051 
0052 # From RECO
0053 # process.p = cms.Path(process.cscValidation)
0054 # From RAW
0055 process.p = cms.Path(process.muonCSCDigis * process.csc2DRecHits * process.cscSegments * process.cscValidation)
0056 
0057 
0058 # Path and EndPath definitions
0059 ##process.raw2digi_step = cms.Path(process.RawToDigi)
0060 ##process.reconstruction_step = cms.Path(process.reconstruction)
0061 ##process.cscvalidation_step = cms.Path(process.cscValidation)
0062 process.endjob_step = cms.EndPath(process.endOfProcess)
0063 
0064 # Schedule definition
0065 ##process.schedule = cms.Schedule(process.raw2digi_step,process.reconstruction_step,process.cscvalidation_step,process.endjob_step)
0066 process.schedule = cms.Schedule(process.p,process.endjob_step)
0067