1 #ifndef RecoParticleFlow_PFClusterProducer_HGCRecHitNavigator_h 2 #define RecoParticleFlow_PFClusterProducer_HGCRecHitNavigator_h 28 descee.add<
std::string>(
"topologySource",
"HGCalEESensitive");
33 deschef.add<
std::string>(
"topologySource",
"HGCalHESiliconSensitive");
38 deschef.add<
std::string>(
"topologySource",
"HGCalHEScintillatorSensitive");
41 descriptions.
add(
"navigator", desc);
45 if (iConfig.
exists(
"hgcee")) {
50 if (iConfig.
exists(
"hgchef")) {
55 if (iConfig.
exists(
"hgcheb")) {
64 eeNav_->beginEvent(iSetup);
72 std::unique_ptr<reco::PFRecHitCollection>&
hits,
77 eeNav_->associateNeighbours(hit, hits, refProd);
81 hefNav_->associateNeighbours(hit, hits, refProd);
85 hebNav_->associateNeighbours(hit, hits, refProd);
T getParameter(std::string const &) const
unsigned detId() const
rechit detId
HGCRecHitNavigator(const edm::ParameterSet &iConfig)
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 beginEvent(const edm::EventSetup &iSetup) override
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)
void add(std::string const &label, ParameterSetDescription const &psetDescription)