33 "HGCalTriggerNtupleGenJet" );
47 tree.Branch(
"genjet_n", &
genjet_n_,
"genjet_n/I");
69 for(
const auto&
jet : genjets)
T getParameter(std::string const &) const
edm::EDGetToken genjet_token_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
HGCalTriggerNtupleGenJet(const edm::ParameterSet &)
std::vector< GenJet > GenJetCollection
collection of GenJet objects
std::vector< float > genjet_phi_
std::vector< float > genjet_pt_
void fill(const edm::Event &, const edm::EventSetup &) final
std::vector< float > genjet_eta_
std::vector< float > genjet_energy_
#define DEFINE_EDM_PLUGIN(factory, type, name)
void initialize(TTree &, const edm::ParameterSet &, edm::ConsumesCollector &&) final