Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-08 22:42:53

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