Skip to content

why not use tan(angle) ? #389

Open
Open
@danieljeans

Description

Hi,

<zplane z="-InnerTracker_half_length" rmin="ITEnvelopeClearanceConeHalfAngle * ConeBeamPipe_zmax" rmax="InnerTracker_outer_radius" />

wouldn't it be more geometrically-correct to use

rmin="tan ( ITEnvelopeClearanceConeHalfAngle ) * ConeBeamPipe_zmax"

rather than

rmin="ITEnvelopeClearanceConeHalfAngle * ConeBeamPipe_zmax"
? (the difference is <3 mm in this case, but for ease of understanding the code...)

Similar construction in few other places, too.

Activity

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

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