19 virtual void clear()
override final;
42 "HGCalTriggerNtupleHGCTriggerCells" );
56 tree.Branch(
"tc_n", &
tc_n_,
"tc_n/I");
57 tree.Branch(
"tc_id", &
tc_id_);
66 tree.Branch(
"tc_eta", &
tc_eta_);
67 tree.Branch(
"tc_phi", &
tc_phi_);
68 tree.Branch(
"tc_z", &
tc_z_);
87 for(
auto tc_itr=trigger_cells.
begin(0); tc_itr!=trigger_cells.
end(0); tc_itr++)
94 tc_id_.emplace_back(tc_itr->detId());
101 tc_data_.emplace_back(tc_itr->hwPt());
104 tc_eta_.emplace_back(tc_itr->eta());
105 tc_phi_.emplace_back(tc_itr->phi());
106 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