Skip to content

Usefulness of e.g. L1Phase2MuDTExtPhContainer? #50815

@makortel

Description

@makortel

While working on #50802 I noticed the following pattern

class L1Phase2MuDTExtPhContainer {
public:
typedef std::vector<L1Phase2MuDTExtPhDigi> Segment_Container;
typedef Segment_Container::const_iterator Segment_iterator;
// Constructor
L1Phase2MuDTExtPhContainer();
void setContainer(const Segment_Container& inputSegments);
Segment_Container const* getContainer() const;
private:
Segment_Container m_segments;
};

This pattern does not seem to add any functionality to just std::vector<L1Phase2MuDTExtPhDigi>, so I'd suggest to explore replacing L1Phase2MuDTExtPhContainer with std::vector<L1Phase2MuDTExtPhDigi> (also for other *Container types in the package).

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