20 virtual void clear()
override final;
43 "HGCalTriggerNtupleHGCTriggerCells" );
57 tree.Branch(
"tc_n", &
tc_n_,
"tc_n/I");
58 tree.Branch(
"tc_id", &
tc_id_);
67 tree.Branch(
"tc_eta", &
tc_eta_);
68 tree.Branch(
"tc_phi", &
tc_phi_);
69 tree.Branch(
"tc_z", &
tc_z_);
88 for(
auto tc_itr=trigger_cells.
begin(0); tc_itr!=trigger_cells.
end(0); tc_itr++)
95 tc_id_.emplace_back(tc_itr->detId());
102 tc_data_.emplace_back(tc_itr->hwPt());
105 tc_eta_.emplace_back(tc_itr->eta());
106 tc_phi_.emplace_back(tc_itr->phi());
107 tc_z_.emplace_back(tc_itr->position().z());
std::vector< float > tc_energy_
std::vector< int > tc_cell_
const_iterator end(int bx) const
T getParameter(std::string const &) const
std::vector< uint32_t > tc_data_
std::vector< int > tc_wafer_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void initialize(TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) override final
HGCalTriggerNtupleHGCTriggerCells(const edm::ParameterSet &conf)
virtual void fill(const edm::Event &e, const edm::EventSetup &es) override final
std::vector< int > tc_side_
std::vector< uint32_t > tc_id_
std::vector< float > tc_eta_
~HGCalTriggerNtupleHGCTriggerCells()
edm::EDGetToken trigger_cells_token_
std::vector< int > tc_wafertype_
std::vector< float > tc_phi_
ESHandle< TrackerGeometry > geometry
std::vector< int > tc_subdet_
virtual void clear() override final
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::vector< float > tc_z_
std::vector< int > tc_layer_
const_iterator begin(int bx) const