ATLAS Offline Software
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MuonCombined::TagBase Class Referenceabstract

base-class for combined reconstruction output Provides access to MuonType and Author More...

#include <TagBase.h>

Inheritance diagram for MuonCombined::TagBase:
Collaboration diagram for MuonCombined::TagBase:

Public Types

using Type = xAOD::Muon::MuonType
 typedefs More...
 
using Author = xAOD::Muon::Author
 

Public Member Functions

Type type () const
 access to MuonType More...
 
Author author () const
 access to Muon Author More...
 
virtual ~TagBase ()=default
 destructor More...
 
virtual std::string name () const =0
 type string More...
 
virtual std::string toString () const =0
 print content to string More...
 
virtual const Trk::TrackprimaryTrack () const
 access to primary muon system track, zero if non available More...
 
virtual std::vector< const Muon::MuonSegment * > associatedSegments () const
 access to associated segments, empty vector if non available More...
 
virtual bool isCommissioning () const
 Returns whether the muon belongs to the commissioning chain. More...
 

Protected Member Functions

 TagBase (Author author, Type type)
 protected base class to be called by concrete implementations More...
 

Private Attributes

Author m_author
 author and type info More...
 
Type m_type
 author More...
 

Detailed Description

base-class for combined reconstruction output Provides access to MuonType and Author

Definition at line 48 of file TagBase.h.

Member Typedef Documentation

◆ Author

using MuonCombined::TagBase::Author = xAOD::Muon::Author

Definition at line 52 of file TagBase.h.

◆ Type

using MuonCombined::TagBase::Type = xAOD::Muon::MuonType

typedefs

Definition at line 51 of file TagBase.h.

Constructor & Destructor Documentation

◆ ~TagBase()

virtual MuonCombined::TagBase::~TagBase ( )
virtualdefault

destructor

◆ TagBase()

MuonCombined::TagBase::TagBase ( Author  author,
Type  type 
)
inlineprotected

protected base class to be called by concrete implementations

Definition at line 80 of file TagBase.h.

80 : m_author(author), m_type(type) {}

Member Function Documentation

◆ associatedSegments()

std::vector< const Muon::MuonSegment * > MuonCombined::TagBase::associatedSegments ( ) const
inlinevirtual

access to associated segments, empty vector if non available

Reimplemented in MuonCombined::CombinedFitTag, MuonCombined::StacoTag, MuonCombined::MuGirlLowBetaTag, MuonCombined::MuGirlTag, and MuonCombined::SegmentTag.

Definition at line 91 of file TagBase.h.

91 { return {}; }

◆ author()

Author MuonCombined::TagBase::author ( ) const
inline

access to Muon Author

Definition at line 58 of file TagBase.h.

58 { return m_author; }

◆ isCommissioning()

bool MuonCombined::TagBase::isCommissioning ( ) const
inlinevirtual

Returns whether the muon belongs to the commissioning chain.

Reimplemented in MuonCombined::CombinedFitTag, MuonCombined::MuGirlTag, and MuonCombined::StacoTag.

Definition at line 88 of file TagBase.h.

88 { return false; }

◆ name()

virtual std::string MuonCombined::TagBase::name ( ) const
pure virtual

◆ primaryTrack()

const Trk::Track * MuonCombined::TagBase::primaryTrack ( ) const
inlinevirtual

access to primary muon system track, zero if non available

Reimplemented in MuonCombined::CombinedFitTag, MuonCombined::MuGirlLowBetaTag, MuonCombined::MuGirlTag, and MuonCombined::StacoTag.

Definition at line 89 of file TagBase.h.

89 { return nullptr; }

◆ toString()

virtual std::string MuonCombined::TagBase::toString ( ) const
pure virtual

◆ type()

Type MuonCombined::TagBase::type ( ) const
inline

access to MuonType

Definition at line 55 of file TagBase.h.

55 { return m_type; }

Member Data Documentation

◆ m_author

Author MuonCombined::TagBase::m_author
private

author and type info

Definition at line 84 of file TagBase.h.

◆ m_type

Type MuonCombined::TagBase::m_type
private

author

Definition at line 85 of file TagBase.h.


The documentation for this class was generated from the following file:
MuonCombined::TagBase::type
Type type() const
access to MuonType
Definition: TagBase.h:55
MuonCombined::TagBase::m_author
Author m_author
author and type info
Definition: TagBase.h:84
MuonCombined::TagBase::m_type
Type m_type
author
Definition: TagBase.h:85
MuonCombined::TagBase::author
Author author() const
access to Muon Author
Definition: TagBase.h:58