Skip to content

Commit

Permalink
Merge pull request #46902 from mmusich/fix_46860
Browse files Browse the repository at this point in the history
fix clang linking issue in `SimMuon/MCTruth`
  • Loading branch information
cmsbuild authored Dec 10, 2024
2 parents 3343c21 + 94872c8 commit 113e79b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 42 deletions.
17 changes: 0 additions & 17 deletions SimMuon/MCTruth/plugins/Phase2SeedToTrackProducer.h

This file was deleted.

4 changes: 0 additions & 4 deletions SimMuon/MCTruth/plugins/SealModule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#include "FWCore/PluginManager/interface/ModuleDef.h"
#include "SimMuon/MCTruth/interface/CSCTruthTest.h"
#include "SimMuon/MCTruth/plugins/MuonAssociatorEDProducer.h"
#include "SimMuon/MCTruth/plugins/SeedToTrackProducer.h"
#include "SimMuon/MCTruth/plugins/Phase2SeedToTrackProducer.h"

DEFINE_FWK_MODULE(MuonAssociatorEDProducer);
DEFINE_FWK_MODULE(CSCTruthTest);
DEFINE_FWK_MODULE(SeedToTrackProducer);
DEFINE_FWK_MODULE(Phase2SeedToTrackProducer);
17 changes: 0 additions & 17 deletions SimMuon/MCTruth/plugins/SeedToTrackProducer.h

This file was deleted.

14 changes: 10 additions & 4 deletions SimMuon/MCTruth/plugins/SeedToTrackProducerBase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@
*/

#include "SimMuon/MCTruth/plugins/SeedToTrackProducerBase.h"

#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"

#include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h"
#include "DataFormats/MuonSeed/interface/L2MuonTrajectorySeed.h"

template class SeedToTrackProducerBase<std::vector<TrajectorySeed>>;
template class SeedToTrackProducerBase<std::vector<L2MuonTrajectorySeed>>;
#include "DataFormats/MuonSeed/interface/L2MuonTrajectorySeedCollection.h"

//
// constructors and destructor
Expand Down Expand Up @@ -154,3 +151,12 @@ TrajectoryStateOnSurface SeedToTrackProducerBase<SeedCollection>::seedTransientS
trajectoryStateTransform::transientState(tmpTSOD, &(tmpGeomDet->surface()), &mgField);
return tmpTSOS;
}

#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/PluginManager/interface/ModuleDef.h"

typedef SeedToTrackProducerBase<TrajectorySeedCollection> SeedToTrackProducer;
typedef SeedToTrackProducerBase<L2MuonTrajectorySeedCollection> Phase2SeedToTrackProducer;

DEFINE_FWK_MODULE(SeedToTrackProducer);
DEFINE_FWK_MODULE(Phase2SeedToTrackProducer);

0 comments on commit 113e79b

Please sign in to comment.