1 #ifndef RecoParticleFlow_PFClusterProducer_HGCRecHitNavigator_h 2 #define RecoParticleFlow_PFClusterProducer_HGCRecHitNavigator_h 26 descee.add<
std::string>(
"topologySource",
"HGCalEESensitive");
31 deschef.add<
std::string>(
"topologySource",
"HGCalHESiliconSensitive");
36 deschef.add<
std::string>(
"topologySource",
"HGCalHEScintillatorSensitive");
39 descriptions.
add(
"navigator", desc);
44 if( iConfig.
exists(
"hgcee") ) {
49 if( iConfig.
exists(
"hgchef") ) {
54 if( iConfig.
exists(
"hgcheb") ) {
70 if(
nullptr !=
eeNav_ )
eeNav_->associateNeighbours(hit,hits,refProd);
73 if(
nullptr !=
hefNav_ )
hefNav_->associateNeighbours(hit,hits,refProd);
76 if(
nullptr !=
hebNav_ )
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)