129 for(
const auto& digi : coll ){
135 digi.decode(
codec_, data);
137 for(
const auto& triggercell : data.payload)
140 if( triggercell.hwPt() > 0 )
145 if(calibratedtriggercell.mipPt()<triggercell_threshold)
continue;
162 std::vector<edm::Ptr<l1t::HGCalTriggerCell>> triggerCellsPtrs;
163 for(
unsigned i = 0;
i < triggerCellsHandle->
size(); ++
i ) {
165 triggerCellsPtrs.push_back(ptr);
188 std::vector<edm::Ptr<l1t::HGCalCluster>> clustersPtrs;
189 for(
unsigned i = 0;
i < clustersHandle->
size(); ++
i ) {
191 clustersPtrs.push_back(ptr);
ClusterType clusteringAlgorithmType_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
HGCalTriggerCellCalibration calibration_
unsigned size(int bx) const
void eventSetup(const edm::EventSetup &es)
std::unique_ptr< l1t::HGCalTriggerCellBxCollection > trgcell_product_
void clusterizeDRNN(const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> &triggerCellsPtrs, l1t::HGCalClusterBxCollection &clusters, const HGCalTriggerGeometryBase &triggerGeometry)
void clusterizeNN(const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> &triggerCellsPtrs, l1t::HGCalClusterBxCollection &clusters, const HGCalTriggerGeometryBase &triggerGeometry)
HGCalMulticlusteringImpl multiclustering_
void eventSetup(const edm::EventSetup &es)
void clusterizeDR(const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry)
HGCalClusteringImpl clustering_
MulticlusterType multiclusteringAlgoType_
double triggercell_threshold_scintillator_
std::unique_ptr< l1t::HGCalMulticlusterBxCollection > multicluster_product_
void clusterizeDR(const std::vector< edm::Ptr< l1t::HGCalTriggerCell >> &triggerCellsPtrs, l1t::HGCalClusterBxCollection &clusters)
char data[epos_bytes_allocation]
void eventSetup(const edm::EventSetup &es)
std::unique_ptr< l1t::HGCalClusterBxCollection > cluster_product_
void calibrateInGeV(l1t::HGCalTriggerCell &)
edm::ESHandle< HGCalTriggerGeometryBase > triggerGeometry_
double triggercell_threshold_silicon_
void clusterizeDBSCAN(const std::vector< edm::Ptr< l1t::HGCalCluster >> &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters, const HGCalTriggerGeometryBase &triggerGeometry)