Skip to content

Commit 4612966

Browse files
committed
Rename pixelVertexCUDA|SoA to pixelVerticesCUDA|SoA for consistency with CPU modules
1 parent 7971fe9 commit 4612966

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

RecoPixelVertexing/Configuration/python/RecoPixelVertexing_cff.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
from Configuration.ProcessModifiers.pixelNtupletFit_cff import pixelNtupletFit
1414

1515
# build the pixel vertices in SoA format on the CPU
16-
from RecoPixelVertexing.PixelVertexFinding.pixelVertexCUDA_cfi import pixelVertexCUDA as _pixelVertexCUDA
16+
from RecoPixelVertexing.PixelVertexFinding.pixelVerticesCUDA_cfi import pixelVerticesCUDA as _pixelVerticesCUDA
1717
pixelVerticesSoA = SwitchProducerCUDA(
18-
cpu = _pixelVertexCUDA.clone(
18+
cpu = _pixelVerticesCUDA.clone(
1919
pixelTrackSrc = "pixelTracksSoA",
2020
onGPU = False
2121
)
@@ -39,15 +39,15 @@
3939
from Configuration.ProcessModifiers.gpu_cff import gpu
4040

4141
# build pixel vertices in SoA format on the GPU
42-
pixelVerticesCUDA = _pixelVertexCUDA.clone(
42+
pixelVerticesCUDA = _pixelVerticesCUDA.clone(
4343
pixelTrackSrc = "pixelTracksCUDA",
4444
onGPU = True
4545
)
4646

4747
# transfer the pixel vertices in SoA format to the CPU
48-
from RecoPixelVertexing.PixelVertexFinding.pixelVertexSoA_cfi import pixelVertexSoA as _pixelVertexSoA
48+
from RecoPixelVertexing.PixelVertexFinding.pixelVerticesSoA_cfi import pixelVerticesSoA as _pixelVerticesSoA
4949
gpu.toModify(pixelVerticesSoA,
50-
cuda = _pixelVertexSoA.clone(
50+
cuda = _pixelVerticesSoA.clone(
5151
src = cms.InputTag("pixelVerticesCUDA")
5252
)
5353
)

RecoPixelVertexing/PixelTrackFitting/plugins/PixelTrackDumpCUDA.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void PixelTrackDumpCUDA::fillDescriptions(edm::ConfigurationDescriptions& descri
5555

5656
desc.add<bool>("onGPU", true);
5757
desc.add<edm::InputTag>("pixelTrackSrc", edm::InputTag("pixelTracksCUDA"));
58-
desc.add<edm::InputTag>("pixelVertexSrc", edm::InputTag("pixelVertexCUDA"));
58+
desc.add<edm::InputTag>("pixelVertexSrc", edm::InputTag("pixelVerticesCUDA"));
5959
descriptions.add("pixelTrackDumpCUDA", desc);
6060
}
6161

RecoPixelVertexing/PixelVertexFinding/plugins/PixelVertexProducerCUDA.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void PixelVertexProducerCUDA::fillDescriptions(edm::ConfigurationDescriptions& d
8787
desc.add<double>("PtMin", 0.5);
8888
desc.add<edm::InputTag>("pixelTrackSrc", edm::InputTag("pixelTracksCUDA"));
8989

90-
auto label = "pixelVertexCUDA";
90+
auto label = "pixelVerticesCUDA";
9191
descriptions.add(label, desc);
9292
}
9393

RecoPixelVertexing/PixelVertexFinding/plugins/PixelVertexProducerFromSoA.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void PixelVertexProducerFromSoA::fillDescriptions(edm::ConfigurationDescriptions
5454

5555
desc.add<edm::InputTag>("TrackCollection", edm::InputTag("pixelTracks"));
5656
desc.add<edm::InputTag>("beamSpot", edm::InputTag("offlineBeamSpot"));
57-
desc.add<edm::InputTag>("src", edm::InputTag("pixelVertexSoA"));
57+
desc.add<edm::InputTag>("src", edm::InputTag("pixelVerticesSoA"));
5858

5959
descriptions.add("pixelVertexFromSoA", desc);
6060
}

RecoPixelVertexing/PixelVertexFinding/plugins/PixelVertexSoAFromCUDA.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ PixelVertexSoAFromCUDA::PixelVertexSoAFromCUDA(const edm::ParameterSet& iConfig)
4343
void PixelVertexSoAFromCUDA::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
4444
edm::ParameterSetDescription desc;
4545

46-
desc.add<edm::InputTag>("src", edm::InputTag("pixelVertexCUDA"));
47-
descriptions.add("pixelVertexSoA", desc);
46+
desc.add<edm::InputTag>("src", edm::InputTag("pixelVerticesCUDA"));
47+
descriptions.add("pixelVerticesSoA", desc);
4848
}
4949

5050
void PixelVertexSoAFromCUDA::acquire(edm::Event const& iEvent,

RecoTracker/Configuration/python/customizePixelOnlyForProfiling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
def customizePixelOnlyForProfilingGPUOnly(process):
77

88
process.consumer = cms.EDAnalyzer("GenericConsumer",
9-
eventProducts = cms.untracked.vstring('pixelTracksCUDA', 'pixelVertexCUDA')
9+
eventProducts = cms.untracked.vstring('pixelTracksCUDA', 'pixelVerticesCUDA')
1010
)
1111

1212
process.consume_step = cms.EndPath(process.consumer)
@@ -28,7 +28,7 @@ def customizePixelOnlyForProfilingGPUWithHostCopy(process):
2828
#? process.siPixelRecHitSoAFromLegacy.convertToLegacy = False
2929

3030
process.consumer = cms.EDAnalyzer("GenericConsumer",
31-
eventProducts = cms.untracked.vstring('pixelTracksSoA', 'pixelVertexSoA')
31+
eventProducts = cms.untracked.vstring('pixelTracksSoA', 'pixelVerticesSoA')
3232
)
3333

3434
process.consume_step = cms.EndPath(process.consumer)

0 commit comments

Comments
 (0)