-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the HCALGPUAnalyzer to RecoLocalCalo/HcalRecProducers/ (#572)
Update the configuration to - read the input data from root files, that are available also offline - automatically pick up the global tag for the current release
- Loading branch information
1 parent
4b0cb83
commit aef101f
Showing
7 changed files
with
64 additions
and
117 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
ComparisonPlots/HCALGPUAnalyzer/python/sourceFromRaw_cff.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
<use name="boost"/> | ||
<use name="cuda"/> | ||
<use name="CUDADataFormats/Common" /> | ||
<use name="CUDADataFormats/CaloCommon"/> | ||
<use name="CUDADataFormats/Common"/> | ||
<use name="CUDADataFormats/HcalDigi"/> | ||
<use name="CUDADataFormats/HcalRecHitSoA"/> | ||
<use name="CalibCalorimetry/HcalAlgos"/> | ||
<use name="CalibFormats/HcalObjects"/> | ||
<use name="CommonTools/UtilAlgos"/> | ||
<use name="DataFormats/Common"/> | ||
<use name="DataFormats/HcalDetId"/> | ||
<use name="DataFormats/HcalRecHit"/> | ||
<use name="FWCore/Framework"/> | ||
<use name="FWCore/ParameterSet"/> | ||
<use name="FWCore/PluginManager"/> | ||
<use name="FWCore/ServiceRegistry"/> | ||
<use name="Geometry/CaloGeometry"/> | ||
<use name="Geometry/HcalCommonData"/> | ||
<use name="Geometry/Records"/> | ||
<use name="HeterogeneousCore/CUDACore"/> | ||
<use name="HeterogeneousCore/CUDAUtilities"/> | ||
<use name="RecoLocalCalo/HcalRecAlgos"/> | ||
<use name="SimCalorimetry/CaloSimAlgos"/> | ||
<use name="SimCalorimetry/HcalSimAlgos"/> | ||
<flags EDM_PLUGIN="1"/> |
File renamed without changes.
28 changes: 28 additions & 0 deletions
28
RecoLocalCalo/HcalRecProducers/test/make_GPUvsCPU_HCAL_plots.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("PLOT") | ||
|
||
process.load("FWCore.MessageService.MessageLogger_cfi") | ||
process.options = cms.untracked.PSet( | ||
wantSummary = cms.untracked.bool(False) | ||
) | ||
|
||
process.load('Configuration.StandardSequences.GeometryRecoDB_cff') | ||
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") | ||
from Configuration.AlCa.GlobalTag import GlobalTag | ||
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_hlt_relval', '') | ||
|
||
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) | ||
process.MessageLogger.cerr.FwkReport.reportEvery = 500 | ||
|
||
process.source = cms.Source("PoolSource", | ||
fileNames = cms.untracked.vstring('file:GPUvsCPU_HCAL_rechits.root') | ||
) | ||
|
||
process.comparisonPlots = cms.EDAnalyzer('HCALGPUAnalyzer') | ||
|
||
process.TFileService = cms.Service('TFileService', | ||
fileName = cms.string('GPUvsCPU_HCAL_plots.root') | ||
) | ||
|
||
process.path = cms.Path(process.comparisonPlots) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters