ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MuonCombined::MuGirlTag Class Reference

TagBase implementation for a combined fit. More...

#include <MuGirlTag.h>

Inheritance diagram for MuonCombined::MuGirlTag:
Collaboration diagram for MuonCombined::MuGirlTag:

Public Types

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

Public Member Functions

 MuGirlTag (const ElementLink< TrackCollection > &comblink, const std::vector< const Muon::MuonSegment * > &segLinks)
 Constructor a link to a combined track and a list of segment ElementLinks as input. More...
 
 MuGirlTag (const std::vector< const Muon::MuonSegment * > &segLinks)
 Constructor taking a list of segments. More...
 
 ~MuGirlTag ()
 destructor More...
 
const Trk::TrackcombinedTrack () const
 access combined track More...
 
ElementLink< TrackCollectioncombinedTrackLink () const
 
const Trk::TrackupdatedExtrapolatedTrack () const
 access update extrapolated track, returns zero if none are available More...
 
ElementLink< TrackCollectionupdatedExtrapolatedTrackLink () const
 
void setUpdatedExtrapolatedTrack (const ElementLink< TrackCollection > &melink)
 set update extrapolated track More...
 
std::vector< const Muon::MuonSegment * > associatedSegments () const override
 access to associated segments, empty vector if non available More...
 
std::string name () const override
 name string More...
 
std::string toString () const override
 print content to string More...
 
const Trk::TrackprimaryTrack () const override
 access to primary muon system track, zero if non available More...
 
void setCommissioning (bool b)
 Sets ths comissioning flag. More...
 
bool isCommissioning () const override
 Returns whether the muon belongs to the comissioning chain. More...
 
Type type () const
 access to MuonType More...
 
Author author () const
 access to Muon Author More...
 

Private Member Functions

 MuGirlTag (const MuGirlTag &)=delete
 block copy and assignment More...
 
MuGirlTagoperator= (const MuGirlTag &)=delete
 

Private Attributes

ElementLink< TrackCollectionm_combLink {}
 data content More...
 
ElementLink< TrackCollectionm_meLink {}
 
std::vector< const Muon::MuonSegment * > m_segments {}
 
bool m_isCommissioning {false}
 list of segments More...
 
Author m_author
 author and type info More...
 
Type m_type
 author More...
 

Detailed Description

TagBase implementation for a combined fit.

Definition at line 23 of file MuGirlTag.h.

Member Typedef Documentation

◆ Author

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

Definition at line 52 of file TagBase.h.

◆ Type

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

typedefs

Definition at line 51 of file TagBase.h.

Constructor & Destructor Documentation

◆ MuGirlTag() [1/3]

MuonCombined::MuGirlTag::MuGirlTag ( const ElementLink< TrackCollection > &  comblink,
const std::vector< const Muon::MuonSegment * > &  segLinks 
)

Constructor a link to a combined track and a list of segment ElementLinks as input.

Definition at line 12 of file MuGirlTag.cxx.

◆ MuGirlTag() [2/3]

MuonCombined::MuGirlTag::MuGirlTag ( const std::vector< const Muon::MuonSegment * > &  segLinks)

Constructor taking a list of segments.

Definition at line 15 of file MuGirlTag.cxx.

15  :
16  TagBase(TagBase::Author::MuGirl, TagBase::Type::SegmentTagged), m_segments(segments) {}

◆ ~MuGirlTag()

MuonCombined::MuGirlTag::~MuGirlTag ( )
default

destructor

◆ MuGirlTag() [3/3]

MuonCombined::MuGirlTag::MuGirlTag ( const MuGirlTag )
privatedelete

block copy and assignment

Member Function Documentation

◆ associatedSegments()

std::vector< const Muon::MuonSegment * > MuonCombined::MuGirlTag::associatedSegments ( ) const
overridevirtual

access to associated segments, empty vector if non available

Reimplemented from MuonCombined::TagBase.

Definition at line 22 of file MuGirlTag.cxx.

22 { return m_segments; }

◆ author()

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

access to Muon Author

Definition at line 58 of file TagBase.h.

58 { return m_author; }

◆ combinedTrack()

const Trk::Track * MuonCombined::MuGirlTag::combinedTrack ( ) const

access combined track

Definition at line 20 of file MuGirlTag.cxx.

20 { return m_combLink.isValid() ? *m_combLink : nullptr; }

◆ combinedTrackLink()

ElementLink< TrackCollection > MuonCombined::MuGirlTag::combinedTrackLink ( ) const

Definition at line 24 of file MuGirlTag.cxx.

24 { return m_combLink; }

◆ isCommissioning()

bool MuonCombined::MuGirlTag::isCommissioning ( ) const
overridevirtual

Returns whether the muon belongs to the comissioning chain.

Reimplemented from MuonCombined::TagBase.

Definition at line 37 of file MuGirlTag.cxx.

37 { return m_isCommissioning; }

◆ name()

std::string MuonCombined::MuGirlTag::name ( ) const
overridevirtual

name string

Implements MuonCombined::TagBase.

Definition at line 28 of file MuGirlTag.cxx.

28 { return "MuGirlTag"; }

◆ operator=()

MuGirlTag& MuonCombined::MuGirlTag::operator= ( const MuGirlTag )
privatedelete

◆ primaryTrack()

const Trk::Track * MuonCombined::MuGirlTag::primaryTrack ( ) const
overridevirtual

access to primary muon system track, zero if non available

Reimplemented from MuonCombined::TagBase.

Definition at line 23 of file MuGirlTag.cxx.

23 { return combinedTrack(); }

◆ setCommissioning()

void MuonCombined::MuGirlTag::setCommissioning ( bool  b)

Sets ths comissioning flag.

Definition at line 36 of file MuGirlTag.cxx.

36 { m_isCommissioning = b; }

◆ setUpdatedExtrapolatedTrack()

void MuonCombined::MuGirlTag::setUpdatedExtrapolatedTrack ( const ElementLink< TrackCollection > &  melink)

set update extrapolated track

Definition at line 26 of file MuGirlTag.cxx.

26 { m_meLink = melink; }

◆ toString()

std::string MuonCombined::MuGirlTag::toString ( ) const
overridevirtual

print content to string

Implements MuonCombined::TagBase.

Definition at line 29 of file MuGirlTag.cxx.

29 { return name(); }

◆ type()

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

access to MuonType

Definition at line 55 of file TagBase.h.

55 { return m_type; }

◆ updatedExtrapolatedTrack()

const Trk::Track * MuonCombined::MuGirlTag::updatedExtrapolatedTrack ( ) const

access update extrapolated track, returns zero if none are available

Definition at line 21 of file MuGirlTag.cxx.

21 { return m_meLink.isValid() ? *m_meLink : nullptr; }

◆ updatedExtrapolatedTrackLink()

ElementLink< TrackCollection > MuonCombined::MuGirlTag::updatedExtrapolatedTrackLink ( ) const

Definition at line 25 of file MuGirlTag.cxx.

25 { return m_meLink; }

Member Data Documentation

◆ m_author

Author MuonCombined::TagBase::m_author
privateinherited

author and type info

Definition at line 84 of file TagBase.h.

◆ m_combLink

ElementLink<TrackCollection> MuonCombined::MuGirlTag::m_combLink {}
private

data content

Definition at line 73 of file MuGirlTag.h.

◆ m_isCommissioning

bool MuonCombined::MuGirlTag::m_isCommissioning {false}
private

list of segments

Definition at line 77 of file MuGirlTag.h.

◆ m_meLink

ElementLink<TrackCollection> MuonCombined::MuGirlTag::m_meLink {}
private

Definition at line 74 of file MuGirlTag.h.

◆ m_segments

std::vector<const Muon::MuonSegment*> MuonCombined::MuGirlTag::m_segments {}
private

Definition at line 75 of file MuGirlTag.h.

◆ m_type

Type MuonCombined::TagBase::m_type
privateinherited

author

Definition at line 85 of file TagBase.h.


The documentation for this class was generated from the following files:
MuonCombined::TagBase::TagBase
TagBase(Author author, Type type)
protected base class to be called by concrete implementations
Definition: TagBase.h:80
xAOD::MuGirl
@ MuGirl
MuGirl.
Definition: TrackingPrimitives.h:141
MuonCombined::TagBase::m_author
Author m_author
author and type info
Definition: TagBase.h:84
MuonCombined::MuGirlTag::combinedTrack
const Trk::Track * combinedTrack() const
access combined track
Definition: MuGirlTag.cxx:20
MuonCombined::MuGirlTag::m_meLink
ElementLink< TrackCollection > m_meLink
Definition: MuGirlTag.h:74
MuonCombined::MuGirlTag::name
std::string name() const override
name string
Definition: MuGirlTag.cxx:28
MuonCombined::TagBase::m_type
Type m_type
author
Definition: TagBase.h:85
MuonCombined::MuGirlTag::m_segments
std::vector< const Muon::MuonSegment * > m_segments
Definition: MuGirlTag.h:75
Trk::Combined
@ Combined
Definition: TrackSummaryTool.h:32
MuonCombined::MuGirlTag::m_isCommissioning
bool m_isCommissioning
list of segments
Definition: MuGirlTag.h:77
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
MuonCombined::MuGirlTag::m_combLink
ElementLink< TrackCollection > m_combLink
data content
Definition: MuGirlTag.h:73