From 94872c84972d49cb3879a44ff7ece29647c90307 Mon Sep 17 00:00:00 2001 From: mmusich Date: Mon, 9 Dec 2024 19:08:57 +0100 Subject: [PATCH] fix clang linking issue --- .../MCTruth/plugins/Phase2SeedToTrackProducer.h | 17 ----------------- SimMuon/MCTruth/plugins/SealModule.cc | 4 ---- SimMuon/MCTruth/plugins/SeedToTrackProducer.h | 17 ----------------- .../MCTruth/plugins/SeedToTrackProducerBase.cc | 14 ++++++++++---- 4 files changed, 10 insertions(+), 42 deletions(-) delete mode 100644 SimMuon/MCTruth/plugins/Phase2SeedToTrackProducer.h delete mode 100644 SimMuon/MCTruth/plugins/SeedToTrackProducer.h diff --git a/SimMuon/MCTruth/plugins/Phase2SeedToTrackProducer.h b/SimMuon/MCTruth/plugins/Phase2SeedToTrackProducer.h deleted file mode 100644 index 12fe7141af582..0000000000000 --- a/SimMuon/MCTruth/plugins/Phase2SeedToTrackProducer.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef SimMuon_MCTruth_Phase2SeedToTrackProducer_h -#define SimMuon_MCTruth_Phase2SeedToTrackProducer_h - -/** \class SeedToTrackProducer - * - * SeedToTrackProducerBase class specialized for Phase 2 - * Muon seeds - * - * \author Luca Ferragina (INFN BO), 2024 - */ - -#include "SimMuon/MCTruth/plugins/SeedToTrackProducerBase.h" -#include "DataFormats/MuonSeed/interface/L2MuonTrajectorySeedCollection.h" - -typedef SeedToTrackProducerBase Phase2SeedToTrackProducer; - -#endif diff --git a/SimMuon/MCTruth/plugins/SealModule.cc b/SimMuon/MCTruth/plugins/SealModule.cc index b2988b656c8c3..cf557981fe9d6 100644 --- a/SimMuon/MCTruth/plugins/SealModule.cc +++ b/SimMuon/MCTruth/plugins/SealModule.cc @@ -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); diff --git a/SimMuon/MCTruth/plugins/SeedToTrackProducer.h b/SimMuon/MCTruth/plugins/SeedToTrackProducer.h deleted file mode 100644 index c70eb1f14e8f6..0000000000000 --- a/SimMuon/MCTruth/plugins/SeedToTrackProducer.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef SimMuon_MCTruth_SeedToTrackProducer_h -#define SimMuon_MCTruth_SeedToTrackProducer_h - -/** \class SeedToTrackProducer - * - * SeedToTrackProducerBase class specialized for Phase 1 - * Muon seeds - * - * \author Luca Ferragina (INFN BO), 2024 - */ - -#include "SimMuon/MCTruth/plugins/SeedToTrackProducerBase.h" -#include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h" - -typedef SeedToTrackProducerBase SeedToTrackProducer; - -#endif diff --git a/SimMuon/MCTruth/plugins/SeedToTrackProducerBase.cc b/SimMuon/MCTruth/plugins/SeedToTrackProducerBase.cc index fb824635d83b0..f0096a01b81a6 100644 --- a/SimMuon/MCTruth/plugins/SeedToTrackProducerBase.cc +++ b/SimMuon/MCTruth/plugins/SeedToTrackProducerBase.cc @@ -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>; -template class SeedToTrackProducerBase>; +#include "DataFormats/MuonSeed/interface/L2MuonTrajectorySeedCollection.h" // // constructors and destructor @@ -152,3 +149,12 @@ TrajectoryStateOnSurface SeedToTrackProducerBase::seedTransientS trajectoryStateTransform::transientState(tmpTSOD, &(tmpGeomDet->surface()), &mgField); return tmpTSOS; } + +#include "FWCore/Framework/interface/MakerMacros.h" +#include "FWCore/PluginManager/interface/ModuleDef.h" + +typedef SeedToTrackProducerBase SeedToTrackProducer; +typedef SeedToTrackProducerBase Phase2SeedToTrackProducer; + +DEFINE_FWK_MODULE(SeedToTrackProducer); +DEFINE_FWK_MODULE(Phase2SeedToTrackProducer);