Skip to content

Changes to TofD HitPar and Cal2Hit #1332

@mwhiteheadyork

Description

@mwhiteheadyork

Currently I perform analysis of s091 on an older version of R3BRoot. I am currently in the process of making it compatible with the latest version. I have had several issues with Tofd:

I can see in R3BTofdHitPar.h the change of paddles from 44->48

Image

This means in my tofdhitpar.root it now assumes 48 paddles instead of 44, so the parameters are assigned incorrectly after plane 1 paddle 44.

Image

I can change the definition back to 44 but is there some way this is meant to be backwards compatible?

The second issue is in TofdCal2Hit.cxx
Previously the calibration was done as a +bx +cx^2. In the cal2hit this has been changed to ax^b + c calling the same parameters. Obviously in the new version the calibration is now wrong. Again I can hard code the change back to the original but is there a way changes like this are/can be made backwards compatible, as these changes were not immediately obvious?

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