CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HGCalMulticlusteringImpl.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_L1THGCal_HGCalMulticlusteringImpl_h__
2 #define __L1Trigger_L1THGCal_HGCalMulticlusteringImpl_h__
3 
8 
13 
15 public:
17 
20  shape_.setGeometry(geom);
21  }
22 
23  bool isPertinent(const l1t::HGCalCluster& clu, const l1t::HGCalMulticluster& mclu, double dR) const;
24 
25  void clusterizeDR(const std::vector<edm::Ptr<l1t::HGCalCluster>>& clustersPtr,
27  const HGCalTriggerGeometryBase& triggerGeometry);
28 
31  const HGCalTriggerGeometryBase& triggerGeometry);
32 
33 private:
34  void findNeighbor(const std::vector<std::pair<unsigned int, double>>& rankedList,
35  unsigned int searchInd,
36  const std::vector<edm::Ptr<l1t::HGCalCluster>>& clustersPtr,
37  std::vector<unsigned int>& neigbors);
38  void finalizeClusters(std::vector<l1t::HGCalMulticluster>&,
41 
42  double dr_;
45  double distDbscan_ = 0.005;
46  unsigned minNDbscan_ = 3;
47 
50  std::unique_ptr<HGCalTriggerClusterIdentificationBase> id_;
51 };
52 
53 #endif
HGCalMulticlusteringImpl(const edm::ParameterSet &conf)
void setGeometry(const HGCalTriggerGeometryBase *const)
void setGeometry(const HGCalTriggerGeometryBase *const geom)
void setGeometry(const HGCalTriggerGeometryBase *const geom)
std::unique_ptr< HGCalTriggerClusterIdentificationBase > id_
void findNeighbor(const std::vector< std::pair< unsigned int, double >> &rankedList, unsigned int searchInd, const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, std::vector< unsigned int > &neigbors)
bool isPertinent(const l1t::HGCalCluster &clu, const l1t::HGCalMulticluster &mclu, double dR) const
void clusterizeDR(const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry)
void finalizeClusters(std::vector< l1t::HGCalMulticluster > &, l1t::HGCalMulticlusterBxCollection &, const HGCalTriggerGeometryBase &)
void clusterizeDBSCAN(const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry)