Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:13:52

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("alcarecoHITval")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0008 
0009 process.source = cms.Source("PoolSource",
0010     # replace 'myfile.root' with the source file you want to use
0011     fileNames = cms.untracked.vstring(
0012 'file:/tmp/sergeant/ALCARECOHcalCalIsoTrk_validation2.root'
0013 ))
0014 
0015 process.MonitorHcalIsoTrackAlCaReco = cms.EDAnalyzer("ValidationHcalIsoTrackAlCaReco",
0016 folderName=cms.string("Calibration/HcalCalibAlgos/plugins"),
0017 saveToFile=cms.bool(True),
0018 outputRootFileName=cms.string("HcalIsoTrackAlCaRecoMon.root"),
0019 hltTriggerEventLabel=cms.InputTag('hltTriggerSummaryAOD'),
0020 hltL3FilterLabel=cms.InputTag('hltIsolPixelTrackFilter::HLT'),
0021 alcarecoIsoTracksLabel=cms.InputTag('IsoProd:HcalIsolatedTrackCollection'),
0022 recoTracksLabel=cms.InputTag('IsoProd:IsoTrackTracksCollection'),
0023 simTracksTag = cms.InputTag('g4SimHits')
0024 )
0025 
0026 #process.load("Calibration.HcalCalibAlgos.MonitorHcalIsoTrackAlCaReco_cfi")
0027 #process.load("DQMOffline.CalibCalo.PostProcessorHcalIsoTrack_cfi")
0028 #process.MonitorHcalIsoTrackAlCaReco.hltL3FilterLabel=cms.InputTag('hltHITCorTracksFilter1::HLT1')
0029 process.MonitorHcalIsoTrackAlCaReco.outputRootFileName=cms.string("MonitorHcalIsoTrackAlCaReco.root")
0030 
0031 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0032 process.MEtoEDMConverter.verbose = cms.untracked.int32(1)
0033 
0034 process.dqmOut = cms.OutputModule("PoolOutputModule",
0035      fileName = cms.untracked.string('dqmAlCaRecoHITval_IDEAL.root'),
0036      outputCommands = cms.untracked.vstring("drop *", "keep *_MEtoEDMConverter_*_*")
0037  )
0038 
0039 process.p = cms.Path(process.MonitorHcalIsoTrackAlCaReco + process.MEtoEDMConverter)
0040 
0041 process.ep=cms.EndPath(process.dqmOut)
0042