1 #ifndef RecoParticleFlow_PFClusterProducer_HGCRecHitNavigator_h 2 #define RecoParticleFlow_PFClusterProducer_HGCRecHitNavigator_h 27 descee.add<
std::string>(
"topologySource",
"HGCalEESensitive");
32 deschef.add<
std::string>(
"topologySource",
"HGCalHESiliconSensitive");
37 deschef.add<
std::string>(
"topologySource",
"HGCalHEScintillatorSensitive");
40 descriptions.
add(
"navigator", desc);
45 if( iConfig.
exists(
"hgcee") ) {
50 if( iConfig.
exists(
"hgchef") ) {
55 if( iConfig.
exists(
"hgcheb") ) {
71 if(
nullptr !=
eeNav_ )
eeNav_->associateNeighbours(hit,hits,refProd);
74 if(
nullptr !=
hefNav_ )
hefNav_->associateNeighbours(hit,hits,refProd);
77 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
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)