CMS 3D CMS Logo

HGCalMulticlusteringImpl.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_L1THGCal_HGCalMulticlusteringImpl_h__
2 #define __L1Trigger_L1THGCal_HGCalMulticlusteringImpl_h__
3 
8 
12 
13 
15 
16 public:
17 
19 
20  void eventSetup(const edm::EventSetup& es)
21  {
23  shape_.eventSetup(es);
24  }
25 
26  bool isPertinent( const l1t::HGCalCluster & clu,
27  const l1t::HGCalMulticluster & mclu,
28  double dR ) const;
29 
30  void clusterizeDR( const std::vector<edm::Ptr<l1t::HGCalCluster>> & clustersPtr,
31  l1t::HGCalMulticlusterBxCollection & multiclusters,
32  const HGCalTriggerGeometryBase & triggerGeometry
33  );
34 
35  void clusterizeDBSCAN( const std::vector<edm::Ptr<l1t::HGCalCluster>> & clustersPtr,
36  l1t::HGCalMulticlusterBxCollection & multiclusters,
37  const HGCalTriggerGeometryBase & triggerGeometry
38  );
39 
40 private:
41 
42  void findNeighbor( const std::vector<std::pair<unsigned int,double>>& rankedList,
43  unsigned int searchInd,
44  const std::vector<edm::Ptr<l1t::HGCalCluster>> & clustersPtr,
45  std::vector<unsigned int>& neigbors);
46 
47  double dr_;
50  double distDbscan_ = 0.005;
51  unsigned minNDbscan_ = 3;
52 
55 
56 };
57 
58 #endif
void eventSetup(const edm::EventSetup &es)
void eventSetup(const edm::EventSetup &)
HGCalMulticlusteringImpl(const edm::ParameterSet &conf)
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 eventSetup(const edm::EventSetup &es)
void clusterizeDR(const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry)
void clusterizeDBSCAN(const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry)