39 "HGCalTriggerNtupleHGCConcentratorData");
41 HGCalTriggerNtupleHGCConcentratorData::HGCalTriggerNtupleHGCConcentratorData(
const edm::
ParameterSet& conf)
55 auto withPrefix([&prefix, &bname](
char const* vname) ->
char const* {
56 bname = prefix +
"_" + vname;
60 tree.Branch(withPrefix(
"n"), &
econ_n_, (prefix +
"_n/I").c_str());
61 tree.Branch(withPrefix(
"id"), &
econ_id_);
81 for (
auto econ_itr = concentrator_data.
begin(0); econ_itr != concentrator_data.
end(0); econ_itr++) {
85 econ_id_.emplace_back(econ_itr->detId());
const_iterator end(int bx) const
T getUntrackedParameter(std::string const &, T const &) const
HGCalTriggerSubdetector subdet() const
get the subdetector
uint16_t *__restrict__ id
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< int > econ_layer_
edm::ESHandle< HGCalTriggerGeometryBase > geometry
int type() const
get the type
~HGCalTriggerNtupleHGCConcentratorData() override
std::vector< uint32_t > econ_index_
edm::EDGetToken concentrator_data_token_
void initialize(TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final
std::vector< int > econ_subdet_
std::vector< uint32_t > econ_id_
std::vector< int > econ_waferu_
std::vector< int > econ_waferv_
std::vector< int > econ_side_
std::vector< uint32_t > econ_data_
T const * product() const
T getParameter(std::string const &) const
std::vector< int > econ_wafertype_
#define DEFINE_EDM_PLUGIN(factory, type, name)
void fill(const edm::Event &e, const HGCalTriggerNtupleEventSetup &es) final
HGCalTriggerTools triggerTools_
const_iterator begin(int bx) const
HGCalTriggerNtupleHGCConcentratorData(const edm::ParameterSet &conf)