File indexing completed on 2024-04-06 12:20:38
0001 #ifndef __L1Trigger_L1THGCal_HGCalAlgoWrapperBase_h__
0002 #define __L1Trigger_L1THGCal_HGCalAlgoWrapperBase_h__
0003
0004 #include "L1Trigger/L1THGCal/interface/HGCalAlgoWrapperBaseT.h"
0005 #include "L1Trigger/L1THGCal/interface/HGCalTriggerGeometryBase.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007
0008 #include "DataFormats/L1THGCal/interface/HGCalCluster.h"
0009 #include "DataFormats/L1THGCal/interface/HGCalMulticluster.h"
0010
0011 #include "DataFormats/L1THGCal/interface/HGCalTowerMap.h"
0012
0013 typedef HGCalAlgoWrapperBaseT<
0014 std::pair<const std::vector<edm::Ptr<l1t::HGCalCluster>>, const std::vector<std::pair<GlobalPoint, double>>>,
0015 std::pair<l1t::HGCalMulticlusterBxCollection&, l1t::HGCalClusterBxCollection&>,
0016 std::pair<const HGCalTriggerGeometryBase* const, const edm::ParameterSet&>>
0017 HGCalHistoClusteringWrapperBase;
0018
0019 typedef HGCalAlgoWrapperBaseT<std::vector<edm::Ptr<l1t::HGCalTowerMap>>,
0020 l1t::HGCalTowerBxCollection,
0021 std::pair<const HGCalTriggerGeometryBase* const, const edm::ParameterSet&>>
0022 HGCalTowerMapsWrapperBase;
0023
0024 typedef HGCalAlgoWrapperBaseT<l1t::HGCalMulticlusterBxCollection,
0025 l1t::HGCalMulticlusterBxCollection,
0026 std::pair<const HGCalTriggerGeometryBase* const, const edm::ParameterSet&>>
0027 HGCalStage2FilteringWrapperBase;
0028
0029 typedef HGCalAlgoWrapperBaseT<std::vector<edm::Ptr<l1t::HGCalTriggerCell>>,
0030 std::vector<edm::Ptr<l1t::HGCalTriggerCell>>,
0031 std::tuple<const HGCalTriggerGeometryBase* const, const unsigned&, const uint32_t&>>
0032 HGCalStage1TruncationWrapperBase;
0033
0034 #include "FWCore/PluginManager/interface/PluginFactory.h"
0035 typedef edmplugin::PluginFactory<HGCalHistoClusteringWrapperBase*(const edm::ParameterSet&)>
0036 HGCalHistoClusteringWrapperBaseFactory;
0037 typedef edmplugin::PluginFactory<HGCalTowerMapsWrapperBase*(const edm::ParameterSet&)> HGCalTowerMapsWrapperBaseFactory;
0038 typedef edmplugin::PluginFactory<HGCalStage2FilteringWrapperBase*(const edm::ParameterSet&)>
0039 HGCalStage2FilteringWrapperBaseFactory;
0040 typedef edmplugin::PluginFactory<HGCalStage1TruncationWrapperBase*(const edm::ParameterSet&)>
0041 HGCalStage1TruncationWrapperBaseFactory;
0042
0043 #endif