11 "HGCalVFEProcessorSums");
16 vfeLinearizationImpl_(conf),
17 vfeSummationImpl_(conf),
29 std::vector<HGCalDataFrame> dataframes;
30 std::vector<std::pair<DetId, uint32_t >> linearized_dataframes;
31 std::map<HGCalDetId, uint32_t>
payload;
34 for(
const auto& digiData : digiColl)
39 dataframes.emplace_back(digiData.id());
40 for(
int i=0;
i<digiData.size();
i++)
42 dataframes.back().setSample(
i, digiData.sample(
i));
50 for(
const auto& id_value : payload)
52 if (id_value.second>0){
58 triggerCell.setP4(p4);
59 triggerCell.setPosition(point);
62 if( triggerCell.hwPt() > 0 )
66 triggerCellColl.
push_back(0, calibratedtriggercell);
HGCalVFESummationImpl vfeSummationImpl_
void run(const HGCalDigiCollection &digiColl, l1t::HGCalTriggerCellBxCollection &triggerCellColl, const edm::EventSetup &es) override
const HGCalTriggerGeometryBase * geometry_
ParameterSet const & getParameterSet(ParameterSetID const &id)
HGCalVFEProcessorSums(const edm::ParameterSet &conf)
void eventSetup(const edm::EventSetup &es)
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
HGCalVFELinearizationImpl vfeLinearizationImpl_
void linearize(const std::vector< HGCDataFrame< DetId, HGCSample >> &, std::vector< std::pair< DetId, uint32_t > > &)
virtual bool disconnectedModule(const unsigned module_id) const =0
virtual unsigned getModuleFromCell(const unsigned cell_det_id) const =0
HGCalTriggerCellCalibration calibration_
#define DEFINE_EDM_PLUGIN(factory, type, name)
void triggerCellSums(const HGCalTriggerGeometryBase &, const std::vector< std::pair< DetId, uint32_t > > &, std::map< HGCalDetId, uint32_t > &payload)
void calibrateInGeV(l1t::HGCalTriggerCell &)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
virtual GlobalPoint getTriggerCellPosition(const unsigned trigger_cell_det_id) const =0
void push_back(int bx, T object)