119 for(
const auto& digi : coll ){
125 digi.decode(
codec_, data);
127 for(
const auto& triggercell : data.payload)
130 if( triggercell.hwPt() > 0 )
135 int cellThickness = 0;
137 if( subdet ==
HGCEE ){
140 else if( subdet ==
HGCHEF ){
143 else if( subdet ==
HGCHEB ){
144 edm::LogWarning(
"DataNotFound") <<
"ATTENTION: the BH trigger cells are not yet implemented";
167 for(
unsigned i = 0;
i < triggerCellsHandle->
size(); ++
i ) {
190 for(
unsigned i = 0;
i < clustersHandle->
size(); ++
i ) {
ClusterType clusteringAlgorithmType_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
HGCalTriggerCellCalibration calibration_
unsigned size(int bx) const
void push_back(Ptr< T > const &iPtr)
void clusterizeDR(const edm::PtrVector< l1t::HGCalTriggerCell > &triggerCellsPtrs, l1t::HGCalClusterBxCollection &clusters)
edm::ESHandle< HGCalTopology > hgchefTopoHandle_
std::string HGCalEESensitive_
void calibrateInGeV(l1t::HGCalTriggerCell &, int cellThickness)
void clusterizeNN(const edm::PtrVector< l1t::HGCalTriggerCell > &triggerCellsPtrs, l1t::HGCalClusterBxCollection &clusters, const HGCalTriggerGeometryBase &triggerGeometry)
std::unique_ptr< l1t::HGCalTriggerCellBxCollection > trgcell_product_
int waferTypeL(int wafer) const
HGCalMulticlusteringImpl multiclustering_
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
double clustering_threshold_
HGCalClusteringImpl clustering_
std::string HGCalHESiliconSensitive_
const HGCalDDDConstants & dddConstants() const
void clusterize(const edm::PtrVector< l1t::HGCalCluster > &clustersPtr, l1t::HGCalMulticlusterBxCollection &multiclusters)
std::unique_ptr< l1t::HGCalMulticlusterBxCollection > multicluster_product_
char data[epos_bytes_allocation]
std::unique_ptr< l1t::HGCalClusterBxCollection > cluster_product_
edm::ESHandle< HGCalTopology > hgceeTopoHandle_
edm::ESHandle< HGCalTriggerGeometryBase > triggerGeometry_