10 m_clones =
new TClonesArray(
"Jetv2", 50);
15 os <<
"JetContainerv1: size = " <<
m_clones->GetEntriesFast() << std::endl
16 <<
" Contains jets with the following properties:" << std::endl;
25 , m_RhoMedian{
rhs.get_rho_median()}
27 m_clones =
rhs.clone_data();
29 for (
auto src =
rhs.begin_src(); src !=
rhs.end_src(); ++src)
34 m_jetpar_R =
rhs.get_jetpar_R();
53 jet->resize_properties(
m_psize);
80 os <<
" No. of jets: " <<
m_njets;
85 for (
auto jet : *
this)
87 os << Form(
" jet(%2i) : pT(%6.2f) eta(%6.2f) phi(%6.2f)",
88 ijet, jet->get_pt(), jet->get_eta(), jet->get_phi());
93 os << Form(
" %8s(%6.2f)",
str_Jet_PROPERTY(prop.first).c_str(), jet->get_property(prop.second));
103 os <<
" Jet properties in Jet vectors: " << std::endl;
105 for (
auto p : m_pindex)
115 auto [iter, is_new] = m_pindex.try_emplace(prop, static_cast<Jet::PROPERTY>(
m_psize));
127 for (
auto prop : props) {
128 auto [iter, is_new] = m_pindex.try_emplace(prop, static_cast<Jet::PROPERTY>(
m_psize));
144 return m_pindex[prop];
155 rval.index = rval.size;
161 for (
auto jet : *
this)
163 jet->resize_properties(
m_psize);
172 case Jet::PROPERTY::prop_JetCharge:
174 case Jet::PROPERTY::prop_BFrac:
176 case Jet::PROPERTY::prop_SeedD:
178 case Jet::PROPERTY::prop_SeedItr:
180 case Jet::PROPERTY::prop_zg:
182 case Jet::PROPERTY::prop_Rg:
184 case Jet::PROPERTY::prop_mu:
186 case Jet::PROPERTY::prop_gamma:
189 return "JetHadronFlavor";
191 return "JetHadronZT";
192 case Jet::PROPERTY::prop_area:
195 return "no_property";