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 
13 
15 public:
17 
18  void eventSetup(const edm::EventSetup& es) {
20  shape_.eventSetup(es);
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
HGCalTriggerTools.h
HGCalTriggerGeometryBase
Definition: HGCalTriggerGeometryBase.h:19
l1t::HGCalCluster
Definition: HGCalCluster.h:11
HGCalTriggerTools::eventSetup
void eventSetup(const edm::EventSetup &)
Definition: HGCalTriggerTools.cc:35
MessageLogger.h
HGCalMulticlusteringImpl::findNeighbor
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)
Definition: HGCalMulticlusteringImpl.cc:37
HGCalShowerShape
Definition: HGCalShowerShape.h:12
HGCalMulticlusteringImpl::clusterizeDBSCAN
void clusterizeDBSCAN(const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry)
Definition: HGCalMulticlusteringImpl.cc:103
HGCalMulticlusteringImpl::id_
std::unique_ptr< HGCalTriggerClusterIdentificationBase > id_
Definition: HGCalMulticlusteringImpl.h:50
HGCalTriggerClusterIdentificationBase.h
HGCalMulticlusteringImpl::shape_
HGCalShowerShape shape_
Definition: HGCalMulticlusteringImpl.h:48
HGCalShowerShape.h
HGCalMulticlusteringImpl::HGCalMulticlusteringImpl
HGCalMulticlusteringImpl(const edm::ParameterSet &conf)
Definition: HGCalMulticlusteringImpl.cc:5
BXVector
Definition: BXVector.h:15
l1t::HGCalMulticluster
Definition: HGCalMulticluster.h:13
HGCalMulticluster.h
HGCalTriggerGeometryBase.h
HGCalMulticlusteringImpl::eventSetup
void eventSetup(const edm::EventSetup &es)
Definition: HGCalMulticlusteringImpl.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HGCalMulticlusteringImpl::clusterizeDR
void clusterizeDR(const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry)
Definition: HGCalMulticlusteringImpl.cc:72
edm::ParameterSet
Definition: ParameterSet.h:47
HGCalMulticlusteringImpl::isPertinent
bool isPertinent(const l1t::HGCalCluster &clu, const l1t::HGCalMulticluster &mclu, double dR) const
Definition: HGCalMulticlusteringImpl.cc:22
HGCalMulticlusteringImpl::multiclusterAlgoType_
std::string multiclusterAlgoType_
Definition: HGCalMulticlusteringImpl.h:44
HGCalMulticlusteringImpl::dr_
double dr_
Definition: HGCalMulticlusteringImpl.h:42
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
HGCalShowerShape::eventSetup
void eventSetup(const edm::EventSetup &es)
Definition: HGCalShowerShape.h:21
edm::EventSetup
Definition: EventSetup.h:58
HGCalCluster.h
HGCalMulticlusteringImpl::triggerTools_
HGCalTriggerTools triggerTools_
Definition: HGCalMulticlusteringImpl.h:49
edm::Ptr
Definition: AssociationVector.h:31
HGCalMulticlusteringImpl::distDbscan_
double distDbscan_
Definition: HGCalMulticlusteringImpl.h:45
HGCalTriggerTools
Definition: HGCalTriggerTools.h:32
HGCalMulticlusteringImpl::ptC3dThreshold_
double ptC3dThreshold_
Definition: HGCalMulticlusteringImpl.h:43
HGC3DClusterGenMatchSelector_cfi.dR
dR
Definition: HGC3DClusterGenMatchSelector_cfi.py:7
ParameterSet.h
HGCalMulticlusteringImpl::minNDbscan_
unsigned minNDbscan_
Definition: HGCalMulticlusteringImpl.h:46
HGCalMulticlusteringImpl::finalizeClusters
void finalizeClusters(std::vector< l1t::HGCalMulticluster > &, l1t::HGCalMulticlusterBxCollection &, const HGCalTriggerGeometryBase &)
Definition: HGCalMulticlusteringImpl.cc:166
HGCalMulticlusteringImpl
Definition: HGCalMulticlusteringImpl.h:14