19 virtual void clear()
override final;
36 "HGCalTriggerNtupleHGCClusters" );
50 tree.Branch(
"cl_n", &
cl_n_,
"cl_n/I");
51 tree.Branch(
"cl_pt", &
cl_pt_);
53 tree.Branch(
"cl_eta", &
cl_eta_);
54 tree.Branch(
"cl_phi", &
cl_phi_);
74 for(
auto cl_itr=clusters.
begin(0); cl_itr!=clusters.
end(0); cl_itr++)
78 cl_pt_.emplace_back(cl_itr->pt());
80 cl_eta_.emplace_back(cl_itr->eta());
81 cl_phi_.emplace_back(cl_itr->phi());
83 cl_ncells_.emplace_back(cl_itr->constituents().size());
std::vector< float > cl_phi_
const_iterator end(int bx) const
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void fill(const edm::Event &e, const edm::EventSetup &es) override final
~HGCalTriggerNtupleHGCClusters()
std::vector< float > cl_pt_
std::vector< int > cl_layer_
std::vector< int > cl_ncells_
virtual void clear() override final
ESHandle< TrackerGeometry > geometry
HGCalTriggerNtupleHGCClusters(const edm::ParameterSet &conf)
#define DEFINE_EDM_PLUGIN(factory, type, name)
edm::EDGetToken clusters_token_
virtual void initialize(TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) override final
std::vector< float > cl_eta_
const_iterator begin(int bx) const
std::vector< float > cl_energy_