<div dir="ltr">Hiya,<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:13px">I think it should be possible to use<br></span><span style="font-size:13px">ZFinder::getProjection("</span><span style="font-size:13px">DressedLeptons") to get the DressedLeptons<br></span><span style="font-size:13px">projection which is used by the ZFinder.<br></span><span style="font-size:13px">But this is more of a workaround, since you would be relying on<br></span><span style="font-size:13px">internal details of the ZFinder implementation, namely the name under<br></span><span style="font-size:13px">which the DressedLeptons projection is registered in the ZFinder.</span></blockquote><div><span style="font-size:13px"><br></span></div><div>sounds filthy, let's not go down that route...</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:13px">It </span><span style="font-size:13px">would be better to introduce a function in the ZFinder interface which<br></span><span style="font-size:13px">returns the dressed leptons directly. Do you want to send a patch<br></span><span style="font-size:13px">after you have tested that it's doing what you need?</span></blockquote><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">I've attached a modified version of the ZFinder which I've tested locally to make sure it does what I had in mind.</span></div><div><br></div><div>Cheers,</div><div>Chris</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 August 2015 at 10:01, Frank Siegert <span dir="ltr"><<a href="mailto:frank.siegert@cern.ch" target="_blank">frank.siegert@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Chris,<br>
<br>
I think it should be possible to use<br>
ZFinder::getProjection("DressedLeptons") to get the DressedLeptons<br>
projection which is used by the ZFinder.<br>
<br>
But this is more of a workaround, since you would be relying on<br>
internal details of the ZFinder implementation, namely the name under<br>
which the DressedLeptons projection is registered in the ZFinder. It<br>
would be better to introduce a function in the ZFinder interface which<br>
returns the dressed leptons directly. Do you want to send a patch<br>
after you have tested that it's doing what you need?<br>
<br>
Cheers,<br>
Frank<br>
<div><div class="h5"><br>
<br>
On 18 August 2015 at 23:01, Christian Gütschow <<a href="mailto:chris.g@cern.ch">chris.g@cern.ch</a>> wrote:<br>
> Hi all,<br>
><br>
> just to double check I'm not missing anything here: It's currently not<br>
> possible to access the list of DressedLeptons used by the ZFinder, right?<br>
> What's the argument against providing this functionality?<br>
><br>
> Suppose I have an event with three muons that pass a given dressed-level<br>
> definition, but only two of them form a Z-boson candidate. If I was to<br>
> require *exactly* two muons forming a Z candidate, then I wouldn't be able<br>
> to do that using just the ZFinder.<br>
><br>
> That is, the ZFinder, as far as I can tell, only returns the DressedLeptons<br>
> associated with the dilepton candidates, but one couldn't tell whether or<br>
> not there was some additional spurious lepton in the event that doesn't<br>
> successfully pair up with the others. Unless, of course, the DressedLeptons<br>
> projection was added as well, but then why use the ZFinder in this case at<br>
> all?<br>
><br>
> Cheers,<br>
> Chris<br>
><br>
><br>
> --<br>
><br>
> Dr. Christian Gütschow<br>
><br>
> TU Dresden<br>
> Institut für Kern- und Teilchenphysik<br>
> Zellescher Weg 19<br>
> 01069 Dresden<br>
><br>
> > E17, Andreas-Schubert-Bau<br>
> > <a href="mailto:chris.g@cern.ch">chris.g@cern.ch</a><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Rivet mailing list<br>
> <a href="mailto:Rivet@projects.hepforge.org">Rivet@projects.hepforge.org</a><br>
> <a href="https://www.hepforge.org/lists/listinfo/rivet" rel="noreferrer" target="_blank">https://www.hepforge.org/lists/listinfo/rivet</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><br></div><div> Dr. Christian Gütschow</div><div><br></div><div> TU Dresden</div><div> Institut für Kern- und Teilchenphysik</div><div> Zellescher Weg 19</div><div> 01069 Dresden</div><div><br></div><div> > E17, Andreas-Schubert-Bau<span style="color:rgb(0,0,0);font-family:Verdana,Helvetica,Arial,sans-serif;font-size:11px"> </span></div><div> > <a href="mailto:chris.g@cern.ch" target="_blank">chris.g@cern.ch</a></div><div><br></div></div></div></div></div></div>
</div>