ATLAS Offline Software
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
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. More...
 
virtual xAOD::Muoncreate (const EventContext &ctx, const MuonCandidate &candidate, OutputData &outputData) const =0
 create a muon from a muon candidate More...
 
virtual xAOD::Muoncreate (const EventContext &ctx, InDetCandidateTags &candidate, OutputData &outputData) const =0
 create a muon from an ID candidate More...
 
virtual ~IMuonCreatorTool ()=default
 default virtual destructor More...
 

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

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()

static 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: