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

#include <TBIdentifiedParticle.h>

Collaboration diagram for TBIdentifiedParticle:

Public Types

enum  ParticleName { UNKNOWN, ELECTRON, PION, MUON }
 

Public Member Functions

 TBIdentifiedParticle ()
 
 TBIdentifiedParticle (const ParticleName name)
 
void setParticle (const ParticleName name)
 
ParticleName getParticle () const
 

Private Attributes

ParticleName m_name
 

Detailed Description

Definition at line 12 of file TBIdentifiedParticle.h.

Member Enumeration Documentation

◆ ParticleName

Enumerator
UNKNOWN 
ELECTRON 
PION 
MUON 

Definition at line 15 of file TBIdentifiedParticle.h.

15  {
16  UNKNOWN,
17  ELECTRON,
18  PION,
19  MUON
20  };

Constructor & Destructor Documentation

◆ TBIdentifiedParticle() [1/2]

TBIdentifiedParticle::TBIdentifiedParticle ( )

Definition at line 7 of file TBIdentifiedParticle.cxx.

7 : m_name(UNKNOWN) {}

◆ TBIdentifiedParticle() [2/2]

TBIdentifiedParticle::TBIdentifiedParticle ( const ParticleName  name)
inline

Definition at line 24 of file TBIdentifiedParticle.h.

24 {m_name=name;}

Member Function Documentation

◆ getParticle()

ParticleName TBIdentifiedParticle::getParticle ( ) const
inline

Definition at line 26 of file TBIdentifiedParticle.h.

26 {return m_name;}

◆ setParticle()

void TBIdentifiedParticle::setParticle ( const ParticleName  name)
inline

Definition at line 25 of file TBIdentifiedParticle.h.

25 {m_name=name;}

Member Data Documentation

◆ m_name

ParticleName TBIdentifiedParticle::m_name
private

Definition at line 30 of file TBIdentifiedParticle.h.


The documentation for this class was generated from the following files:
TBIdentifiedParticle::PION
@ PION
Definition: TBIdentifiedParticle.h:18
TBIdentifiedParticle::m_name
ParticleName m_name
Definition: TBIdentifiedParticle.h:30
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
TBIdentifiedParticle::UNKNOWN
@ UNKNOWN
Definition: TBIdentifiedParticle.h:16
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TBIdentifiedParticle::ELECTRON
@ ELECTRON
Definition: TBIdentifiedParticle.h:17