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,
75 switch (
DetId(
hit.detId()).subdetId()) {
T getParameter(std::string const &) const
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)
void add(std::string const &label, ParameterSetDescription const &psetDescription)