Skip to content

Commit

Permalink
Move all CUDA code to the plugins/ directory (#123)
Browse files Browse the repository at this point in the history
Keep RiemannFit.h in the interface, as it is include-only.
  • Loading branch information
fwyzard committed Oct 8, 2020
1 parent ce08ce5 commit d38a2ed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions RecoPixelVertexing/PixelTrackFitting/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<use name="RecoPixelVertexing/PixelTrackFitting"/>
<library file="*.cc" name="RecoPixelVertexingPixelTrackFittingPlugins">
<flags EDM_PLUGIN="1"/>
<use name="cuda"/>
<use name="RecoPixelVertexing/PixelTrackFitting"/>
<library file="*.cc *.cu" name="RecoPixelVertexingPixelTrackFittingPlugins">
<flags EDM_PLUGIN="1"/>
</library>
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#ifndef PixelTrackProducer_H
#define PixelTrackProducer_H
#ifndef PixelTrackProducer_h
#define PixelTrackProducer_h

#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "RecoPixelVertexing/PixelTrackFitting/interface/TracksWithHits.h"
#include "RecoPixelVertexing/PixelTrackFitting/interface/PixelTrackReconstruction.h"
#include "RecoPixelVertexing/PixelTrackFitting/interface/PixelTrackReconstructionGPU.h"

#include "PixelTrackReconstructionGPU.h"

namespace edm { class Event; class EventSetup; class ParameterSet; class ConfigurationDescriptions; }
class TrackerTopology;
Expand All @@ -26,4 +27,5 @@ class PixelTrackProducer : public edm::stream::EDProducer<> {
PixelTrackReconstruction theReconstruction;
PixelTrackReconstructionGPU theGPUReconstruction;
};
#endif

#endif // PixelTrackProducer_h

0 comments on commit d38a2ed

Please sign in to comment.