Skip to content

GetDeltaMomentum() and GetDeltaEnergy() are obsolete #15

Description

@mvicenzi

The calls to GetDeltaMomentum() and GetDeltaEnergy() in FASER2TrackerSD are issuing warnings:

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Warning
      issued by : G4Step::GetDeltaMomentum()
This method is obsolete and will be removed soon
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------


-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Warning
      issued by : G4Step::GetDeltaEnergy()
This method is obsolete and will be removed soon
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

It's not urgent, but we should find an alternative implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions