53 "HGCalTriggerNtupleHGCPanels" );
67 tree.Branch(
"panel_n", &
panel_n_,
"panel_n/I");
99 std::unordered_map< uint32_t,vector<l1t::HGCalTriggerCellBxCollection::const_iterator> > panelids_tcs;
100 for(
auto tc_itr=trigger_cells.
begin(0); tc_itr!=trigger_cells.
end(0); tc_itr++)
106 panelids_tcs[panelid].push_back(tc_itr);
109 for (
const auto& panelid_tcs : panelids_tcs)
115 const auto& tcs = panelid_tcs.second;
129 for (
const auto& tc : tcs)
135 unsigned module_id = tc_detid.
wafer();
const_iterator end(int bx) const
T getParameter(std::string const &) const
std::vector< int > panel_number_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetToken trigger_cells_token_
std::vector< std::vector< uint32_t > > panel_tc_mod_
std::vector< std::vector< float > > panel_tc_pt_
void fill(const edm::Event &e, const edm::EventSetup &es) final
edm::ESHandle< HGCalTriggerGeometryBase > geometry_
std::vector< std::vector< uint32_t > > panel_tc_cell_
static const unsigned kPanel_offset_
int zside() const
get the z-side of the cell (1/-1)
static const unsigned kThird_mask_
std::vector< std::vector< float > > panel_tc_mipPt_
HGCalTriggerNtupleHGCPanels(const edm::ParameterSet &conf)
virtual unsigned triggerLayer(const unsigned id) const =0
static const unsigned kThird_offset_
int wafer() const
get the wafer #
static const unsigned kPanel_mask_
std::vector< int > panel_layer_
std::vector< unsigned > panel_tc_n_
std::vector< int > panel_zside_
std::vector< int > panel_sector_
static const unsigned kCell_mask_
virtual unsigned getModuleFromTriggerCell(const unsigned trigger_cell_det_id) const =0
static const unsigned kSector_mask_
~HGCalTriggerNtupleHGCPanels() override
void initialize(TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final
std::vector< uint32_t > panel_id_
#define DEFINE_EDM_PLUGIN(factory, type, name)
static const unsigned kSector_offset_
std::vector< std::vector< uint32_t > > panel_tc_id_
const_iterator begin(int bx) const
std::vector< std::vector< uint32_t > > panel_tc_third_