Go to the documentation of this file.
83 std::unordered_map<uint32_t, vector<l1t::HGCalTriggerCellBxCollection::const_iterator> > panelids_tcs;
84 for (
auto tc_itr = trigger_cells.
begin(0); tc_itr != trigger_cells.
end(0); tc_itr++) {
88 panelids_tcs[panelid].push_back(tc_itr);
91 for (
const auto& panelid_tcs : panelids_tcs) {
96 const auto& tcs = panelid_tcs.second;
110 for (
const auto& tc : tcs) {
115 unsigned module_id = tc_detid.
wafer();
std::vector< std::vector< uint32_t > > panel_tc_id_
static const unsigned kPanel_mask_
std::vector< std::vector< uint32_t > > panel_tc_mod_
static const unsigned kPanel_offset_
static const unsigned kCell_mask_
int zside() const
get the z-side of the cell (1/-1)
static const unsigned kSector_mask_
edm::EDGetToken trigger_cells_token_
void initialize(TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final
std::vector< std::vector< float > > panel_tc_mipPt_
virtual unsigned triggerLayer(const unsigned id) const =0
HGCalTriggerNtupleHGCPanels(const edm::ParameterSet &conf)
const_iterator begin(int bx) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::vector< std::vector< uint32_t > > panel_tc_cell_
std::vector< std::vector< float > > panel_tc_pt_
const_iterator end(int bx) const
static const unsigned kThird_mask_
std::vector< int > panel_number_
std::vector< unsigned > panel_tc_n_
std::vector< uint32_t > panel_id_
T getParameter(std::string const &) const
int wafer() const
get the wafer #
virtual unsigned getModuleFromTriggerCell(const unsigned trigger_cell_det_id) const =0
void fill(const edm::Event &e, const edm::EventSetup &es) final
static const unsigned kSector_offset_
edm::ESHandle< HGCalTriggerGeometryBase > geometry_
~HGCalTriggerNtupleHGCPanels() override
static const unsigned kThird_offset_
std::vector< std::vector< uint32_t > > panel_tc_third_
std::vector< int > panel_layer_
std::vector< int > panel_zside_
std::vector< int > panel_sector_