Skip to content

Commit

Permalink
Update include guards and include files in the pixel vertex reconstru…
Browse files Browse the repository at this point in the history
…ction code (#613)
  • Loading branch information
fwyzard committed Apr 6, 2021
1 parent a48c872 commit 0abda2e
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 33 deletions.
2 changes: 1 addition & 1 deletion CUDADataFormats/Vertex/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<use name="cuda"/>
<use name="eigen"/>
<use name="rootcore"/>
<use name="CUDADataFormats/Common"/>
<use name="DataFormats/Common"/>
<use name="HeterogeneousCore/CUDAUtilities"/>
<use name="eigen"/>
<export>
<lib name="1"/>
</export>
6 changes: 3 additions & 3 deletions CUDADataFormats/Vertex/src/classes.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef CUDADataFormats__src_classes_h
#define CUDADataFormats__src_classes_h
#ifndef CUDADataFormats_Vertex_src_classes_h
#define CUDADataFormats_Vertex_src_classes_h

#include "CUDADataFormats/Vertex/interface/ZVertexHeterogeneous.h"
#include "CUDADataFormats/Common/interface/Product.h"
#include "DataFormats/Common/interface/Wrapper.h"

#endif
#endif // CUDADataFormats_Vertex_src_classes_h
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
#include "CUDADataFormats/Vertex/interface/ZVertexHeterogeneous.h"
#include "DataFormats/BeamSpot/interface/BeamSpot.h"
#include "DataFormats/Common/interface/OrphanHandle.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/TrackReco/interface/TrackExtra.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/VertexReco/interface/VertexFwd.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/global/EDProducer.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/PluginManager/interface/ModuleDef.h"
#include "FWCore/Utilities/interface/EDGetToken.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
#include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"

#include "CUDADataFormats/Vertex/interface/ZVertexHeterogeneous.h"

#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/VertexReco/interface/VertexFwd.h"

#undef PIXVERTEX_DEBUG_PRODUCE

class PixelVertexProducerFromSoA : public edm::global::EDProducer<> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef RecoPixelVertexing_PixelVertexFinding_src_gpuClusterTracksByDensity_h
#define RecoPixelVertexing_PixelVertexFinding_src_gpuClusterTracksByDensity_h
#ifndef RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksByDensity_h
#define RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksByDensity_h

#include <algorithm>
#include <cmath>
Expand Down Expand Up @@ -231,4 +231,4 @@ namespace gpuVertexFinder {

} // namespace gpuVertexFinder

#endif // RecoPixelVertexing_PixelVertexFinding_src_gpuClusterTracksByDensity_h
#endif // RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksByDensity_h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef RecoPixelVertexing_PixelVertexFinding_src_gpuClusterTracksDBSCAN_h
#define RecoPixelVertexing_PixelVertexFinding_src_gpuClusterTracksDBSCAN_h
#ifndef RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksDBSCAN_h
#define RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksDBSCAN_h

#include <algorithm>
#include <cmath>
Expand Down Expand Up @@ -238,4 +238,4 @@ namespace gpuVertexFinder {

} // namespace gpuVertexFinder

#endif // RecoPixelVertexing_PixelVertexFinding_src_gpuClusterTracksDBSCAN_h
#endif // RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksDBSCAN_h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef RecoPixelVertexing_PixelVertexFinding_src_gpuClusterTracksIterative_h
#define RecoPixelVertexing_PixelVertexFinding_src_gpuClusterTracksIterative_h
#ifndef RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksIterative_h
#define RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksIterative_h

#include <algorithm>
#include <cmath>
Expand Down Expand Up @@ -209,4 +209,4 @@ namespace gpuVertexFinder {

} // namespace gpuVertexFinder

#endif // RecoPixelVertexing_PixelVertexFinding_src_gpuClusterTracksIterative_h
#endif // RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksIterative_h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef RecoPixelVertexing_PixelVertexFinding_src_gpuFitVertices_h
#define RecoPixelVertexing_PixelVertexFinding_src_gpuFitVertices_h
#ifndef RecoPixelVertexing_PixelVertexFinding_plugins_gpuFitVertices_h
#define RecoPixelVertexing_PixelVertexFinding_plugins_gpuFitVertices_h

#include <algorithm>
#include <cmath>
Expand Down Expand Up @@ -110,4 +110,4 @@ namespace gpuVertexFinder {

} // namespace gpuVertexFinder

#endif // RecoPixelVertexing_PixelVertexFinding_src_gpuFitVertices_h
#endif // RecoPixelVertexing_PixelVertexFinding_plugins_gpuFitVertices_h
6 changes: 3 additions & 3 deletions RecoPixelVertexing/PixelVertexFinding/plugins/gpuSortByPt2.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef RecoPixelVertexing_PixelVertexFinding_src_gpuSortByPt2_h
#define RecoPixelVertexing_PixelVertexFinding_src_gpuSortByPt2_h
#ifndef RecoPixelVertexing_PixelVertexFinding_plugins_gpuSortByPt2_h
#define RecoPixelVertexing_PixelVertexFinding_plugins_gpuSortByPt2_h

#include <algorithm>
#include <cmath>
Expand Down Expand Up @@ -70,4 +70,4 @@ namespace gpuVertexFinder {

} // namespace gpuVertexFinder

#endif // RecoPixelVertexing_PixelVertexFinding_src_gpuSortByPt2_h
#endif // RecoPixelVertexing_PixelVertexFinding_plugins_gpuSortByPt2_h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef RecoPixelVertexing_PixelVertexFinding_src_gpuSplitVertices_h
#define RecoPixelVertexing_PixelVertexFinding_src_gpuSplitVertices_h
#ifndef RecoPixelVertexing_PixelVertexFinding_plugins_gpuSplitVertices_h
#define RecoPixelVertexing_PixelVertexFinding_plugins_gpuSplitVertices_h

#include <algorithm>
#include <cmath>
Expand Down Expand Up @@ -136,4 +136,4 @@ namespace gpuVertexFinder {

} // namespace gpuVertexFinder

#endif // RecoPixelVertexing_PixelVertexFinding_src_gpuSplitVertices_h
#endif // RecoPixelVertexing_PixelVertexFinding_plugins_gpuSplitVertices_h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef RecoPixelVertexing_PixelVertexFinding_gpuVertexFinder_h
#define RecoPixelVertexing_PixelVertexFinding_gpuVertexFinder_h
#ifndef RecoPixelVertexing_PixelVertexFinding_plugins_gpuVertexFinder_h
#define RecoPixelVertexing_PixelVertexFinding_plugins_gpuVertexFinder_h

#include <cstddef>
#include <cstdint>
Expand Down Expand Up @@ -80,4 +80,4 @@ namespace gpuVertexFinder {

} // namespace gpuVertexFinder

#endif // RecoPixelVertexing_PixelVertexFinding_gpuVertexFinder_h
#endif // RecoPixelVertexing_PixelVertexFinding_plugins_gpuVertexFinder_h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef RecoPixelVertexing_PixelVertexFinding_plugins_gpuVertexFinderImpl_h
#define RecoPixelVertexing_PixelVertexFinding_plugins_gpuVertexFinderImpl_h

#include "HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h"

#include "gpuClusterTracksByDensity.h"
Expand Down Expand Up @@ -186,4 +189,4 @@ namespace gpuVertexFinder {

} // namespace gpuVertexFinder

#undef FROM
#endif // RecoPixelVertexing_PixelVertexFinding_plugins_gpuVertexFinderImpl_h

0 comments on commit 0abda2e

Please sign in to comment.