Skip to content

Reading Stash::Lambdas #5

Description

@kosack

similar to #4 ,Stash::Lambda, which should be quite a simple class to decode (it has only one value, angle), seems to decode incorrectly:

rh["fRAOffset"].array()[0].angle
np.float64(-1.4883837392272933e+24)

However, values that are 0 area correct, so I think this is just somehow not decoding the float correctly:

rh["fDecOffset"].array()[0].angle
np.float64(0.0)

An issue is thatLambda and Beta area classes that seem to have custom streamers, which may be the answer:

inline void Stash::Lambda::Streamer(TBuffer &R__b)
{
  Stash::Angle::Streamer(R__b);
}

Where Stash::Angle doesn't have a custom streamer, but it looks like the only value inside that gets automatically streamed is double angle; (all other attributes are marked with //! which tells ROOT not to serialize.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions