49 "HGCalTriggerNtupleHGCMulticlusters" );
63 tree.Branch(
"cl3d_n", &
cl3d_n_,
"cl3d_n/I");
102 for(
auto cl3d_itr=multiclusters.
begin(0); cl3d_itr!=multiclusters.
end(0); cl3d_itr++)
105 cl3d_id_.emplace_back(cl3d_itr->detId());
107 cl3d_pt_.emplace_back(cl3d_itr->pt());
120 cl3d_szz_.emplace_back(cl3d_itr->sigmaZZ());
124 cl3d_emaxe_.emplace_back(cl3d_itr->eMax()/cl3d_itr->energy());
128 std::transform(cl3d_itr->constituents_begin(), cl3d_itr->constituents_end(),
129 cl3d_clusters_id_.back().begin(), [](
const std::pair<uint32_t,edm::Ptr<l1t::HGCalCluster>>& id_cl){
return id_cl.second->detId();}
std::vector< float > cl3d_srrtot_
const_iterator end(int bx) const
std::vector< int > cl3d_coreshowerlength_
T getParameter(std::string const &) const
std::vector< int > cl3d_maxlayer_
std::vector< int > cl3d_clusters_n_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< float > cl3d_sppmax_
~HGCalTriggerNtupleHGCMulticlusters() override
std::vector< int > cl3d_showerlength_
std::vector< float > cl3d_srrmean_
std::vector< uint32_t > cl3d_id_
HGCalTriggerNtupleHGCMulticlusters(const edm::ParameterSet &conf)
std::vector< float > cl3d_eta_
std::vector< float > cl3d_emaxe_
std::vector< std::vector< uint32_t > > cl3d_clusters_id_
std::vector< float > cl3d_szz_
std::vector< int > cl3d_firstlayer_
std::vector< float > cl3d_seetot_
std::vector< float > cl3d_pt_
edm::EDGetToken multiclusters_token_
ESHandle< TrackerGeometry > geometry
std::vector< float > cl3d_srrmax_
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
std::vector< float > cl3d_seemax_
std::vector< float > cl3d_spptot_