diff --git a/CommonTools/Egamma/plugins/BuildFile.xml b/CommonTools/Egamma/plugins/BuildFile.xml new file mode 100644 index 0000000000000..d9ab959482eb9 --- /dev/null +++ b/CommonTools/Egamma/plugins/BuildFile.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/CommonTools/Egamma/plugins/ElectronCollectionMerger.cc b/CommonTools/Egamma/plugins/ElectronCollectionMerger.cc new file mode 100644 index 0000000000000..2a951029f4d8e --- /dev/null +++ b/CommonTools/Egamma/plugins/ElectronCollectionMerger.cc @@ -0,0 +1,19 @@ +/* \class ElectronCollectionMerger + * + * Producer of merged Electron collection + * + * \author: Michal Bluj, NCBJ, Poland + * + */ +#include "FWCore/Framework/interface/MakerMacros.h" +#include "CommonTools/UtilAlgos/interface/Merger.h" +#include "DataFormats/EgammaCandidates/interface/GsfElectron.h" +#include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h" +#include "DataFormats/PatCandidates/interface/Electron.h" + +typedef Merger GsfElectronCollMerger; +DEFINE_FWK_MODULE(GsfElectronCollMerger); + +typedef Merger PATElectronCollMerger; +DEFINE_FWK_MODULE(PATElectronCollMerger); +