Skip to content

Commit 9a7badd

Browse files
authored
Merge pull request #48570 from brusale/fix-clang-ib-issue
register `HGCalLayerClusterPluginFactory` only once
2 parents a4ef629 + 6c55dc4 commit 9a7badd

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

RecoLocalCalo/HGCalRecProducers/plugins/HGCalLayerClusterPluginFactory.cc renamed to RecoLocalCalo/HGCalRecProducers/plugins/SealModules.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
#include "RecoLocalCalo/HGCalRecProducers/interface/HGCalClusteringAlgoBase.h"
44
#include "RecoLocalCalo/HGCalRecProducers/interface/HGCalImagingAlgo.h"
55
#include "RecoLocalCalo/HGCalRecProducers/plugins/HGCalCLUEAlgo.h"
6-
#include "FWCore/ParameterSet/interface/ValidatedPluginFactoryMacros.h"
76
#include "FWCore/ParameterSet/interface/ValidatedPluginMacros.h"
87

9-
EDM_REGISTER_VALIDATED_PLUGINFACTORY(HGCalLayerClusterAlgoFactory, "HGCalLayerClusterAlgoFactory");
108
DEFINE_EDM_VALIDATED_PLUGIN(HGCalLayerClusterAlgoFactory, HGCalImagingAlgo, "Imaging");
119
DEFINE_EDM_VALIDATED_PLUGIN(HGCalLayerClusterAlgoFactory, HGCalSiCLUEAlgo, "SiCLUE");
1210
DEFINE_EDM_VALIDATED_PLUGIN(HGCalLayerClusterAlgoFactory, HGCalSciCLUEAlgo, "SciCLUE");
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#include "RecoLocalCalo/HGCalRecProducers/interface/HGCalLayerClusterAlgoFactory.h"
2+
#include "FWCore/ParameterSet/interface/ValidatedPluginFactoryMacros.h"
3+
4+
EDM_REGISTER_VALIDATED_PLUGINFACTORY(HGCalLayerClusterAlgoFactory, "HGCalLayerClusterAlgoFactory");

RecoParticleFlow/PFClusterProducer/BuildFile.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<use name="CalibCalorimetry/EcalTPGTools"/>
1616
<use name="DataFormats/HGCRecHit"/>
1717
<use name="RecoLocalCalo/HGCalRecAlgos"/>
18+
<use name="RecoLocalCalo/HGCalRecProducers"/>
1819
<use name="vdt_headers"/>
1920
<use name="rootmath"/>
2021
<use name="root"/>

RecoParticleFlow/PFClusterProducer/plugins/BarrelLayerClusterPluginFactory.cc renamed to RecoParticleFlow/PFClusterProducer/plugins/SealModules.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#include "RecoLocalCalo/HGCalRecProducers/interface/HGCalLayerClusterAlgoFactory.h"
22
#include "RecoLocalCalo/HGCalRecProducers/interface/HGCalClusteringAlgoBase.h"
33
#include "RecoParticleFlow/PFClusterProducer/plugins/BarrelCLUEAlgo.h"
4-
#include "FWCore/ParameterSet/interface/ValidatedPluginFactoryMacros.h"
54
#include "FWCore/ParameterSet/interface/ValidatedPluginMacros.h"
65

7-
EDM_REGISTER_VALIDATED_PLUGINFACTORY(HGCalLayerClusterAlgoFactory, "HGCalLayerClusterAlgoFactory");
86
DEFINE_EDM_VALIDATED_PLUGIN(HGCalLayerClusterAlgoFactory, EBCLUEAlgo, "EBCLUE");
97
DEFINE_EDM_VALIDATED_PLUGIN(HGCalLayerClusterAlgoFactory, HBCLUEAlgo, "HBCLUE");

0 commit comments

Comments
 (0)