1 #ifndef RecoParticleFlow_PFClusterProducer_HGCRecHitNavigator_h
2 #define RecoParticleFlow_PFClusterProducer_HGCRecHitNavigator_h
29 descee.add<
std::string>(
"topologySource",
"HGCalEESensitive");
34 deschef.add<
std::string>(
"topologySource",
"HGCalHESiliconSensitive");
39 descheb.add<
std::string>(
"topologySource",
"HGCalHEScintillatorSensitive");
42 descriptions.
add(
"navigator", desc);
46 if (iConfig.
exists(
"hgcee")) {
51 if (iConfig.
exists(
"hgchef")) {
56 if (iConfig.
exists(
"hgcheb")) {
73 std::unique_ptr<reco::PFRecHitCollection>& hits,
78 eeNav_->associateNeighbours(hit, hits, refProd);
82 hefNav_->associateNeighbours(hit, hits, refProd);
86 hebNav_->associateNeighbours(hit, hits, refProd);
unsigned detId() const
rechit detId
bool exists(std::string const ¶meterName) const
checks if a parameter exists
HGCRecHitNavigator()=default
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
void init(const edm::EventSetup &iSetup) override
HGCRecHitNavigator(const edm::ParameterSet &iConfig, edm::ConsumesCollector &cc)
void associateNeighbours(reco::PFRecHit &hit, std::unique_ptr< reco::PFRecHitCollection > &hits, edm::RefProd< reco::PFRecHitCollection > &refProd) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T getParameter(std::string const &) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)