Skip to content

Commit

Permalink
Merge pull request #30684 from fwyzard/Force_USEHYBRID_11_1_x
Browse files Browse the repository at this point in the history
Force the definition of the USEHYBRID preprocessor symbol
  • Loading branch information
cmsbuild authored Jul 14, 2020
2 parents abf2072 + 16b9bcf commit ac02ea9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions L1Trigger/TrackFindingTracklet/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<use name="TrackingTools/TrajectoryParametrization"/>
<use name="TrackingTools/TrajectoryState"/>
<use name="TrackingTools/TransientTrack"/>
<flags CXXFLAGS="-DUSEHYBRID"/>

<export>
<lib name="1"/>
Expand Down
4 changes: 3 additions & 1 deletion L1Trigger/TrackFindingTracklet/interface/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ namespace trklet {
Settings() {
//Comment out to run tracklet-only algorithm
#ifdef CMSSW_GIT_HASH
#define USEHYBRID
#ifndef USEHYBRID
#error USEHYBRID is not defined
#endif
#endif
}

Expand Down
1 change: 1 addition & 0 deletions L1Trigger/TrackFindingTracklet/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
<use name="SimDataFormats/GeneratorProducts"/>
<use name="SimGeneral/HepPDTRecord"/>
<flags EDM_PLUGIN="1"/>
<flags CXXFLAGS="-DUSEHYBRID"/>
</library>
1 change: 1 addition & 0 deletions L1Trigger/TrackFindingTracklet/test/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<library file="*.cc" name="TrackFindingTrackletTests">
<flags EDM_PLUGIN="1"/>
<flags SKIP_FILES="fpga.cc"/>
<flags CXXFLAGS="-DUSEHYBRID"/>
<use name="clhep"/>
<use name="root"/>
<use name="heppdt"/>
Expand Down

0 comments on commit ac02ea9

Please sign in to comment.