Skip to content

Commit

Permalink
fixes in HGCalClusteringImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
mastrolorenzo committed Apr 10, 2017
1 parent 1980482 commit 047ea1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef __L1Trigger_L1THGCal_HGCalClusteringImpl_h__
#define __L1Trigger_L1THGCal_HGCalClusteringImpl_h__

#include <array>
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "L1Trigger/L1THGCal/interface/HGCalTriggerGeometryBase.h"
#include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
Expand All @@ -26,7 +27,7 @@ class HGCalClusteringImpl{

/* NN-algorithms */
void mergeClusters( l1t::HGCalCluster & main_cluster,
l1t::HGCalCluster & secondary_cluster ) const;
const l1t::HGCalCluster & secondary_cluster ) const;

void NNKernel( const std::vector<edm::Ptr<l1t::HGCalTriggerCell>> &reshuffledTriggerCells,
l1t::HGCalClusterBxCollection & clusters,
Expand Down
3 changes: 1 addition & 2 deletions L1Trigger/L1THGCal/src/be_algorithms/HGCalClusteringImpl.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <array>
#include <unordered_set>
#include <unordered_map>
#include "L1Trigger/L1THGCal/interface/be_algorithms/HGCalClusteringImpl.h"
Expand Down Expand Up @@ -132,7 +131,7 @@ void HGCalClusteringImpl::triggerCellReshuffling( const edm::PtrVector<l1t::HGCa

/* merge clusters that have common neighbors */
void HGCalClusteringImpl::mergeClusters( l1t::HGCalCluster & main_cluster,
l1t::HGCalCluster & secondary_cluster ) const
const l1t::HGCalCluster & secondary_cluster ) const
{

const edm::PtrVector<l1t::HGCalTriggerCell>& pertinentTC = secondary_cluster.triggercells();
Expand Down

0 comments on commit 047ea1d

Please sign in to comment.