Print

Print


Maurik,

Quoting the docs:

"Track type encoder. The strategy (S) and GBL flag (G) are packed as
follows: Note that Z denotes zero ZZZZZZZZZZZZZZZZZZZZZZZZZZGSSSSS"

The strategy type can be found here:

http://www.lcsim.org/sites/hps/apidocs/org/hps/recon/tracking/StrategyType
.html

The sixth bit denotes whether the track is a GBL track or not.  You can use
the classes StrategyType and TrackType to decode the track type.  If all
you care about whether a track is seed or GBL, then just do the check you
mentioned in your previous email.



On Wed, Jun 29, 2016 at 9:53 PM, Maurik Holtrop <[log in to unmask]>
wrote:

> Hello Tim,
>
> Yes, indeed I meant the track type that you get in Java with the
> particle.getType() method.
> From examples I found already that bit 6 represent GBL track. Which part
> of our code sets the lower 5 bits?
> I still have difficulty finding the relevant bits of code, and searching
> for setType() didn't come up with anything useful in our code.
> The LCSim documentation was also very vague.
>
> Searching the link you send, I did find:
>
> http://www.lcsim.org/sites/hps/apidocs/org/hps/recon/tracking/TrackType.html
> Which explains bit 6 (i.e. >32) is GBL, but not the rest.
>
> Best,
>           Maurik
>
> -----------------------------------------------
>
> > On Jun 29, 2016, at 10:43 PM, Nelson, Timothy Knight <
> [log in to unmask]> wrote:
> >
> > I assume you mean Omar’s track type code, which is documented in our
> Javadoc:
> >
> > http://www.lcsim.org/sites/hps/apidocs/index.html
> >
> > or do you mean something else?
> >
> > -T
> >
> >> On Jun 29, 2016, at 6:58 PM, Maurik Holtrop <[log in to unmask]>
> wrote:
> >>
> >> Hello All,
> >>
> >> Expect a lot of stupid questions from me in the next while :-)
> >>
> >> Can anyone point me to what the detailed meaning is of the HPS
> particles type?
> >> In the code I can only find that it is set to track.getType(), but I
> don’t seem to find anywhere what the types actually mean. Is there a table
> somewhere?
> >>
> >> Thanks,
> >>    Maurik
> >>
> >> ########################################################################
> >> Use REPLY-ALL to reply to list
> >>
> >> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> >> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
> >
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1