<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Andy and Chris,<div class=""><br class=""></div><div class="">Thank you very much for your detailed answers! I’ll dig into the Rivet details right away.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Karl</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 25 Jan 2017, at 19:43, Christian Gutschow <<a href="mailto:chris.g@cern.ch" class="">chris.g@cern.ch</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi,
<div class=""><br class="">
</div>
<div class="">just to add:</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">
<div class="">
<blockquote type="cite" class="">Do you know if pile-up jets are included in the xAOD truth jet<br class="">
collections, (AntiKt4TruthJets/TruthWZJets)?<br class="">
</blockquote>
<br class="">
I should know this, but my mind has gone fuzzy and I can't remember how much is retained. My suspicion is that they are not there, and that a dedicated collection for truth pile-up jets is used: pile-up is simulated in separate simulation jobs and combined
 at the digitization stage. Zach Marshall or John Chapman would know, I'm sure. Try asking on the PMG mailing list?<br class="">
<br class="">
Also, the truth pile-up jet info is heavily thinned before xAOD, so at most you'd get the truth-jet filters but no particle constituent info. Note that truth-jet clustering is done independently for the signal event and each pile-up event, so it's perfectly
 possible for signal and pile-up jets to completely overlap without "taking bites" out of each other.<br class="">
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">There is no pileup in the truth collections and no pileup jets in these truth jet collections either.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div class=""><br class="">
<blockquote type="cite" class="">I’ve also had a look at Rivet (a really impressive work!), and do you<br class="">
know what setup to use for the FastJet projection, to get jets<br class="">
similar to the “AntiKtTruthWZJets”?<br class="">
</blockquote>
<br class="">
Good question. I think the W/Z jets can't be exactly replicated in Rivet because they explicitly look for a W or Z parent: we avoid that. But I think you would get a very similar answer if you configured normal akT jets with the correct radius and pT threshold,
 and also configure the DressedLeptons projection to find prompt electrons and muons: then veto any jets where they overlap. Maybe with a narrower veto radius than the jet radius.<br class="">
<br class="">
Off the top of my head, something like this would work:<br class="">
<br class="">
// Init<br class="">
FinalState photons(Cuts::abspid == PID::PHOTON);<br class="">
PromptFinalState leptons(Cuts::abspid == PID::ELECTRON || Cuts::abspid == PID::MUON);<br class="">
declare(DressedLeptons(leptons, photons, Cuts::pT > 15*GeV), "Leptons");<br class="">
<br class="">
// Analyze<br class="">
const Particles leptons = apply<FinalState>(event, "Leptons").particles();<br class="">
Jets jets = apply<FinalState>(event, "Jets").jets(Cuts::pT > 20*GeV);<br class="">
for (const Particle& l : leptons)<br class="">
 ifilter_reject(jets, deltaRLess(l, 0.3));<br class="">
<br class="">
There are other ways that could also work, such as passing the FastJets projection a VetoedFinalState for clustering, where the veto is on anything selected by the DressedLeptons projection. Maybe that would be closer to the WZJets definition.<br class="">
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">I think you have to be a little bit careful what version you’re comparing because the xAOD TruthWZJet collection used to exclude neutrinos (until about six months ago if I remember correctly). </div>
<span class=""><br class="">
</span>I played around with this some time ago and remember the 2nd option with the VetoedFinalState being indeed closer to the TruthWZJets collection.</div>
<div class=""><span class=""><br class="">
</span></div>
<div class=""><span class="">Cheers,</span></div>
<div class=""><span class="">Chris<br class="">
</span></div>
<div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
<br class="">
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
<br class="">
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 —</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
<br class="">
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 Dr. Christian Gütschow</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
<br class="">
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 Department of Physics and Astronomy</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 University College London</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 Gower Street</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 London WC1E 6BT</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
<br class="">
</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 > D10 Physics Building</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 > +44 (0)20 7679 3775</div>
<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal;" class="">
 > <a href="mailto:chris.g@cern.ch" class="">chris.g@cern.ch</a></div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<br class="Apple-interchange-newline">
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</div>

</div></blockquote></div><br class=""></div></body></html>