Go to the documentation of this file.
65 auto withPrefix([&
prefix, &bname](
char const* vname) ->
char const* {
66 bname =
prefix +
"_" + vname;
102 for (
auto ts_itr = trigger_sums.
begin(0); ts_itr != trigger_sums.
end(0); ts_itr++) {
103 if (ts_itr->pt() > 0) {
106 DetId panelId(ts_itr->detId());
107 int panel_sector = -999;
108 int panel_number = -999;
112 panel_number = panelIdHGCal.
wafer();
119 panel_sector = panelIdSci.
iphi();
120 panel_number = panelIdSci.
ietaAbs();
124 ts_id_.emplace_back(ts_itr->detId());
144 ts_data_.emplace_back(ts_itr->hwPt());
147 ts_pt_.emplace_back(ts_itr->pt());
149 ts_eta_.emplace_back(ts_itr->eta());
150 ts_phi_.emplace_back(ts_itr->phi());
151 ts_x_.emplace_back(ts_itr->position().x());
152 ts_y_.emplace_back(ts_itr->position().y());
153 ts_z_.emplace_back(ts_itr->position().z());
DetId::Detector subdet() const
get the subdetector
static constexpr unsigned kSectorMask_
int iphi() const
get the phi index
static constexpr unsigned kSectorOffset_
std::vector< float > ts_mipPt_
std::vector< float > ts_z_
std::vector< float > ts_energy_
T getUntrackedParameter(std::string const &, T const &) const
std::vector< int > ts_panel_sector_
void initialize(TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final
edm::ESHandle< HGCalTriggerGeometryBase > geometry_
void fill(const edm::Event &e, const edm::EventSetup &es) final
std::vector< float > ts_pt_
std::vector< float > ts_phi_
std::vector< float > ts_eta_
static constexpr unsigned kPanelOffset_
std::vector< int > ts_panel_number_
std::vector< uint32_t > ts_id_
const_iterator begin(int bx) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::vector< float > ts_x_
~HGCalTriggerNtupleHGCTriggerSums() override
int waferType() const
get the wafer type
const_iterator end(int bx) const
HGCalTriggerSubdetector subdet() const
get the subdetector
edm::EDGetToken trigger_sums_token_
int type() const
get the type
std::vector< int > ts_layer_
HGCalTriggerNtupleHGCTriggerSums(const edm::ParameterSet &conf)
T getParameter(std::string const &) const
int wafer() const
get the wafer #
static constexpr unsigned kPanelMask_
std::vector< int > ts_side_
std::vector< int > ts_wafertype_
std::vector< uint32_t > ts_data_
std::vector< float > ts_y_
HGCalTriggerTools triggerTools_
std::vector< int > ts_wafer_
int type() const
get the type
std::vector< int > ts_subdet_