36 "HGCalTriggerNtupleHGCMulticlusters" );
50 tree.Branch(
"cl3d_n", &
cl3d_n_,
"cl3d_n/I");
75 for(
auto cl3d_itr=multiclusters.
begin(0); cl3d_itr!=multiclusters.
end(0); cl3d_itr++)
79 cl3d_pt_.emplace_back(cl3d_itr->pt());
83 cl3d_nclu_.emplace_back(cl3d_itr->constituents().size());
86 std::transform(cl3d_itr->constituents_begin(), cl3d_itr->constituents_end(),
const_iterator end(int bx) const
T getParameter(std::string const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
~HGCalTriggerNtupleHGCMulticlusters() override
HGCalTriggerNtupleHGCMulticlusters(const edm::ParameterSet &conf)
std::vector< float > cl3d_eta_
std::vector< int > cl3d_nclu_
std::vector< float > cl3d_pt_
edm::EDGetToken multiclusters_token_
ESHandle< TrackerGeometry > geometry
std::vector< std::vector< unsigned > > cl3d_clusters_
void initialize(TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final
void fill(const edm::Event &e, const edm::EventSetup &es) final
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::vector< float > cl3d_phi_
std::vector< float > cl3d_energy_
const_iterator begin(int bx) const