ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCombined::IMuonCreatorTool Class Referenceabstract

interface for tools building combined muons from ID and Muon candidates More...

#include <IMuonCreatorTool.h>

Inheritance diagram for MuonCombined::IMuonCreatorTool:
Collaboration diagram for MuonCombined::IMuonCreatorTool:

Classes

struct  OutputData

Public Types

using InDetCandidateTags = std::pair<const InDetCandidate*, std::vector<const TagBase*> >

Public Member Functions

virtual void create (const EventContext &ctx, const MuonCandidateCollection *muonCandidates, const std::vector< const InDetCandidateToTagMap * > &tagMaps, OutputData &outputData) const =0
 IMuonCreatorTool interface: build muons from ID and MS candidates.
virtual xAOD::Muoncreate (const EventContext &ctx, const MuonCandidate &candidate, OutputData &outputData) const =0
 create a muon from a muon candidate
virtual xAOD::Muoncreate (const EventContext &ctx, InDetCandidateTags &candidate, OutputData &outputData) const =0
 create a muon from an ID candidate
virtual ~IMuonCreatorTool ()=default
 default virtual destructor

Static Public Member Functions

static const InterfaceID & interfaceID ()

Detailed Description

interface for tools building combined muons from ID and Muon candidates

The tool is capable of writing a large number of different output formats. Whether or not certain outputs are written is controled using the OutputData struct defined below. If the pointer to a certain type is non-zero, the container is filled. The MuonContainer is mandatory, all other output types are optional.

Definition at line 33 of file IMuonCreatorTool.h.

Member Typedef Documentation

◆ InDetCandidateTags

using MuonCombined::IMuonCreatorTool::InDetCandidateTags = std::pair<const InDetCandidate*, std::vector<const TagBase*> >

Definition at line 35 of file IMuonCreatorTool.h.

Constructor & Destructor Documentation

◆ ~IMuonCreatorTool()

virtual MuonCombined::IMuonCreatorTool::~IMuonCreatorTool ( )
virtualdefault

default virtual destructor

Member Function Documentation

◆ create() [1/3]

virtual xAOD::Muon * MuonCombined::IMuonCreatorTool::create ( const EventContext & ctx,
const MuonCandidate & candidate,
OutputData & outputData ) const
pure virtual

create a muon from a muon candidate

Implemented in MuonCombined::MuonCreatorTool.

◆ create() [2/3]

virtual void MuonCombined::IMuonCreatorTool::create ( const EventContext & ctx,
const MuonCandidateCollection * muonCandidates,
const std::vector< const InDetCandidateToTagMap * > & tagMaps,
OutputData & outputData ) const
pure virtual

IMuonCreatorTool interface: build muons from ID and MS candidates.

Implemented in MuonCombined::MuonCreatorTool.

◆ create() [3/3]

virtual xAOD::Muon * MuonCombined::IMuonCreatorTool::create ( const EventContext & ctx,
InDetCandidateTags & candidate,
OutputData & outputData ) const
pure virtual

create a muon from an ID candidate

Implemented in MuonCombined::MuonCreatorTool.

◆ interfaceID()

const InterfaceID & MuonCombined::IMuonCreatorTool::interfaceID ( )
inlinestatic

Definition at line 72 of file IMuonCreatorTool.h.

72 {
73 static const InterfaceID IID_IMuonCreatorTool("MuonCombined::IMuonCreatorTool", 1, 0);
74 return IID_IMuonCreatorTool;
75 }

The documentation for this class was generated from the following file: