forked from cms-sw/cmssw
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cms-sw#234 from jbsauvan/integrate-pr24544-comments
Integration in devel of cms-sw#24544 PR comments
- Loading branch information
Showing
63 changed files
with
200 additions
and
2,870 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
L1Trigger/L1THGCal/interface/HGCalBackendLayer1ProcessorBase.h
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
L1Trigger/L1THGCal/interface/HGCalBackendLayer2ProcessorBase.h
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
L1Trigger/L1THGCal/interface/HGCalConcentratorProcessorBase.h
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#ifndef __L1Trigger_L1THGCal_HGCalProcessorBase_h__ | ||
#define __L1Trigger_L1THGCal_HGCalProcessorBase_h__ | ||
|
||
#include "L1Trigger/L1THGCal/interface/HGCalProcessorBaseT.h" | ||
|
||
#include "DataFormats/HGCDigi/interface/HGCDigiCollections.h" | ||
#include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h" | ||
#include "DataFormats/L1THGCal/interface/HGCalTriggerSums.h" | ||
#include "DataFormats/L1THGCal/interface/HGCalCluster.h" | ||
#include "DataFormats/L1THGCal/interface/HGCalMulticluster.h" | ||
#include "DataFormats/L1THGCal/interface/HGCalTowerMap.h" | ||
#include "DataFormats/L1THGCal/interface/HGCalTower.h" | ||
|
||
typedef HGCalProcessorBaseT<HGCalDigiCollection, l1t::HGCalTriggerCellBxCollection> HGCalVFEProcessorBase; | ||
typedef HGCalProcessorBaseT<edm::Handle<l1t::HGCalTriggerCellBxCollection>, l1t::HGCalTriggerCellBxCollection> HGCalConcentratorProcessorBase; | ||
typedef HGCalProcessorBaseT<edm::Handle<l1t::HGCalTriggerCellBxCollection>, l1t::HGCalClusterBxCollection> HGCalBackendLayer1ProcessorBase; | ||
typedef HGCalProcessorBaseT<edm::Handle<l1t::HGCalClusterBxCollection>, l1t::HGCalMulticlusterBxCollection> HGCalBackendLayer2ProcessorBase; | ||
typedef HGCalProcessorBaseT<edm::Handle<l1t::HGCalTriggerCellBxCollection>, l1t::HGCalTowerMapBxCollection> HGCalTowerMapProcessorBase; | ||
typedef HGCalProcessorBaseT<edm::Handle<l1t::HGCalTowerMapBxCollection>, l1t::HGCalTowerBxCollection> HGCalTowerProcessorBase; | ||
|
||
#include "FWCore/PluginManager/interface/PluginFactory.h" | ||
typedef edmplugin::PluginFactory< HGCalVFEProcessorBase* (const edm::ParameterSet&) > HGCalVFEProcessorBaseFactory; | ||
typedef edmplugin::PluginFactory< HGCalConcentratorProcessorBase* (const edm::ParameterSet&) > HGCalConcentratorFactory; | ||
typedef edmplugin::PluginFactory< HGCalBackendLayer1ProcessorBase* (const edm::ParameterSet&) > HGCalBackendLayer1Factory; | ||
typedef edmplugin::PluginFactory< HGCalBackendLayer2ProcessorBase* (const edm::ParameterSet&) > HGCalBackendLayer2Factory; | ||
typedef edmplugin::PluginFactory< HGCalTowerMapProcessorBase* (const edm::ParameterSet&) > HGCalTowerMapFactory; | ||
typedef edmplugin::PluginFactory< HGCalTowerProcessorBase* (const edm::ParameterSet&) > HGCalTowerFactory; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#ifndef __L1Trigger_L1THGCal_HGCalProcessorBaseT_h__ | ||
#define __L1Trigger_L1THGCal_HGCalProcessorBaseT_h__ | ||
|
||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
#include "DataFormats/Common/interface/Handle.h" | ||
|
||
#include "L1Trigger/L1THGCal/interface/HGCalTriggerGeometryBase.h" | ||
|
||
|
||
template<typename InputCollection, typename OutputCollection> class HGCalProcessorBaseT { | ||
|
||
public: | ||
HGCalProcessorBaseT(const edm::ParameterSet& conf) : | ||
geometry_(nullptr), | ||
name_(conf.getParameter<std::string>("ProcessorName")) | ||
{} | ||
|
||
virtual ~HGCalProcessorBaseT() {} | ||
|
||
const std::string& name() const { return name_; } | ||
|
||
void setGeometry(const HGCalTriggerGeometryBase* const geom) { geometry_ = geom;} | ||
|
||
virtual void run(const InputCollection& inputColl, | ||
OutputCollection& outColl, | ||
const edm::EventSetup& es) = 0; | ||
|
||
protected: | ||
const HGCalTriggerGeometryBase* geometry_; | ||
|
||
private: | ||
const std::string name_; | ||
|
||
}; | ||
|
||
#endif |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorProcessorSelection.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.