[Eg6_analysis] eg6 meeting today

Frank C franktcao at gmail.com
Thu Apr 11 13:50:28 EDT 2019


Hey Dave,

Here's the code that gives you phi  (\in (0, 360) degrees) in the standard
convention
for given

   - beam (P_beam),
   - scattered electron (P_e),
   - recoiled target (P_rec)

4 momenta.

double getPhi( TLorentzVector P_beam, TLorentzVector P_e, TLorentzVector
P_rec ){

      TLorentzVector P_q  = P_beam - P_e;  // The virtual photon 4-momentum

      TVector3 LeptonicPlane  = (P_beam.Vect()).Cross(P_e.Vect());
      TVector3 HadronicPlane = (P_rec.Vect()    ).Cross(P_q.Vect());

      Double_t phi = LeptonicPlane.Angle(HadronicPlane)* TMath::RadToDeg();

      if(LeptonicPlane.Dot(P_targ.Vect())>0.)  phi = 360.0 - phi;
      return phi;
}


Thanks,
Frank

On Thu, Apr 11, 2019 at 6:18 AM Nathan Baltzell <baltzell at jlab.org> wrote:

> Hello All,
>
> Let's have our biweekly eg6 meeting today, at 1:30 in B101.  Here's the
> links:
>
>
> https://clasweb.jlab.org/rungroups/lowq/wiki/index.php/Meeting_on_April_11,_2019_@_1:30PM
>
> https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbluejeans.com%2F151158041&data=02%7C01%7Ceg6_analysis%40jlab.org%7Cc6781db7640f482d113d08d6bea6366d%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636906018421397159&sdata=JiVViuQ%2FqUvKVx5L%2B%2FelbuCDKfErdknYlafubuipZDs%3D&reserved=0
> <https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbluejeans.com%2F151158041&data=02%7C01%7Ceg6_analysis%40jlab.org%7Cc6781db7640f482d113d08d6bea6366d%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C0%7C636906018421397159&sdata=vI9E%2FD9EPivJPB6xcjy9qbdNuF7gNzjf9AVn1Gu24Hk%3D&reserved=0>
>
> -Nathan
> _______________________________________________
> Eg6_analysis mailing list
> Eg6_analysis at jlab.org
> https://mailman.jlab.org/mailman/listinfo/eg6_analysis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/eg6_analysis/attachments/20190411/2edfbf80/attachment.html>


More information about the Eg6_analysis mailing list