Skip to content

Additional possible cleanup in segmentations #518

@tmadlener

Description

@tmadlener

Two comments that are not urgent (so merge if you want):

  • Several member getters could return a const object (for example Phi() or phi() returning a double instead of a const double
  • There are two members that could by statically allocated in GridDRcalo_k4geo.cpp, then the destructor doesn't need to be defined:
    fParamBarrel = new DRparamBarrel_k4geo();
    fParamEndcap = new DRparamEndcap_k4geo();

Originally posted by @jmcarcell in #517 (review)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions