ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
Muon::IMuonTruthSummaryTool Class Referenceabstract

Interface for tools calculating hit count summaries for track. More...

#include <IMuonTruthSummaryTool.h>

Inheritance diagram for Muon::IMuonTruthSummaryTool:
Collaboration diagram for Muon::IMuonTruthSummaryTool:

Public Member Functions

virtual void clear ()=0
 clear tool More...
 
virtual void init () const =0
 init truth More...
 
virtual int getBarcode (const Identifier &id) const =0
 get the associated barcode for the identifier, return -1 if the channel was not hit by a muon More...
 
virtual int getPdgId (int barcode) const =0
 get the associated pdgId for a given barcode More...
 
virtual void add (const Identifier &id, int level) const =0
 add identifier More...
 
virtual void add (const MuonSegment &seg, int level) const =0
 add segment More...
 
virtual void add (const Trk::Track &track, int level) const =0
 add track More...
 
virtual std::string printSummary ()=0
 print summary More...
 
virtual ~IMuonTruthSummaryTool ()=default
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 IAlgTool interface. More...
 

Detailed Description

Interface for tools calculating hit count summaries for track.

Definition at line 18 of file IMuonTruthSummaryTool.h.

Constructor & Destructor Documentation

◆ ~IMuonTruthSummaryTool()

virtual Muon::IMuonTruthSummaryTool::~IMuonTruthSummaryTool ( )
virtualdefault

Member Function Documentation

◆ add() [1/3]

virtual void Muon::IMuonTruthSummaryTool::add ( const Identifier id,
int  level 
) const
pure virtual

add identifier

Implemented in Muon::MuonTruthSummaryTool.

◆ add() [2/3]

virtual void Muon::IMuonTruthSummaryTool::add ( const MuonSegment seg,
int  level 
) const
pure virtual

add segment

Implemented in Muon::MuonTruthSummaryTool.

◆ add() [3/3]

virtual void Muon::IMuonTruthSummaryTool::add ( const Trk::Track track,
int  level 
) const
pure virtual

add track

Implemented in Muon::MuonTruthSummaryTool.

◆ clear()

virtual void Muon::IMuonTruthSummaryTool::clear ( )
pure virtual

clear tool

Implemented in Muon::MuonTruthSummaryTool.

◆ getBarcode()

virtual int Muon::IMuonTruthSummaryTool::getBarcode ( const Identifier id) const
pure virtual

get the associated barcode for the identifier, return -1 if the channel was not hit by a muon

Implemented in Muon::MuonTruthSummaryTool.

◆ getPdgId()

virtual int Muon::IMuonTruthSummaryTool::getPdgId ( int  barcode) const
pure virtual

get the associated pdgId for a given barcode

Implemented in Muon::MuonTruthSummaryTool.

◆ init()

virtual void Muon::IMuonTruthSummaryTool::init ( ) const
pure virtual

init truth

Implemented in Muon::MuonTruthSummaryTool.

◆ interfaceID()

static const InterfaceID& Muon::IMuonTruthSummaryTool::interfaceID ( )
inlinestatic

IAlgTool interface.

Definition at line 22 of file IMuonTruthSummaryTool.h.

22  {
23  static const InterfaceID IID_IMuonTruthSummaryTool("Muon::IMuonTruthSummaryTool", 1, 0);
24  return IID_IMuonTruthSummaryTool;
25  }

◆ printSummary()

virtual std::string Muon::IMuonTruthSummaryTool::printSummary ( )
pure virtual

print summary

Implemented in Muon::MuonTruthSummaryTool.


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