EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::MCRecoTrackParticleAssociation Class Reference

#include <MCRecoTrackParticleAssociation.h>

Public Types

using mutable_type = MutableMCRecoTrackParticleAssociation
using collection_type = MCRecoTrackParticleAssociationCollection

Public Member Functions

 MCRecoTrackParticleAssociation ()=default
 default constructor
 MCRecoTrackParticleAssociation (const float weight)
 Constructor initializing all members.
 MCRecoTrackParticleAssociation (const MCRecoTrackParticleAssociation &other)=default
 copy constructor
MCRecoTrackParticleAssociationoperator= (MCRecoTrackParticleAssociation other) &
 copy-assignment operator
MCRecoTrackParticleAssociationoperator= (MCRecoTrackParticleAssociation other) &&=delete
MutableMCRecoTrackParticleAssociation clone (bool cloneRelations=true) const
 ~MCRecoTrackParticleAssociation ()=default
 destructor
 MCRecoTrackParticleAssociation (const MutableMCRecoTrackParticleAssociation &other)
 converting constructor from mutable object
float getWeight () const
 Access the weight of this association.
const edm4eic::Track getRec () const
 Access the reference to the track.
const edm4hep::MCParticle getSim () const
 Access the reference to the Monte-Carlo particle.
int getSimID () const
int getRecID () const
bool isAvailable () const
 check whether the object is actually available
void unlink ()
 disconnect from MCRecoTrackParticleAssociationObj instance
constexpr bool operator== (const MCRecoTrackParticleAssociation &other) const
bool operator== (const MutableMCRecoTrackParticleAssociation &other) const
constexpr bool operator!= (const MCRecoTrackParticleAssociation &other) const
bool operator!= (const MutableMCRecoTrackParticleAssociation &other) const
bool operator< (const MCRecoTrackParticleAssociation &other) const
podio::ObjectID id () const
const podio::ObjectID getObjectID () const

Static Public Member Functions

static MCRecoTrackParticleAssociation makeEmpty ()

Static Public Attributes

static constexpr std::string_view typeName = "edm4eic::MCRecoTrackParticleAssociation"

Friends

class MutableMCRecoTrackParticleAssociation
class MCRecoTrackParticleAssociationCollection
class edm4eic::MCRecoTrackParticleAssociationCollectionData
class MCRecoTrackParticleAssociationCollectionIterator
podio::detail::OrderKey podio::detail::getOrderKey (const MCRecoTrackParticleAssociation &obj)
void swap (MCRecoTrackParticleAssociation &a, MCRecoTrackParticleAssociation &b)

Detailed Description

Association between a Track and a MCParticle

Author
: S. Joosten

Member Typedef Documentation

◆ collection_type

◆ mutable_type

Constructor & Destructor Documentation

◆ MCRecoTrackParticleAssociation() [1/4]

edm4eic::MCRecoTrackParticleAssociation::MCRecoTrackParticleAssociation ( )
default

default constructor

◆ MCRecoTrackParticleAssociation() [2/4]

edm4eic::MCRecoTrackParticleAssociation::MCRecoTrackParticleAssociation ( const float weight)

Constructor initializing all members.

◆ MCRecoTrackParticleAssociation() [3/4]

edm4eic::MCRecoTrackParticleAssociation::MCRecoTrackParticleAssociation ( const MCRecoTrackParticleAssociation & other)
default

copy constructor

◆ ~MCRecoTrackParticleAssociation()

edm4eic::MCRecoTrackParticleAssociation::~MCRecoTrackParticleAssociation ( )
default

destructor

◆ MCRecoTrackParticleAssociation() [4/4]

edm4eic::MCRecoTrackParticleAssociation::MCRecoTrackParticleAssociation ( const MutableMCRecoTrackParticleAssociation & other)

converting constructor from mutable object

Member Function Documentation

◆ clone()

MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociation::clone ( bool cloneRelations = true) const

create a mutable deep-copy of the object with identical relations if cloneRelations=false, the relations are not cloned and will be empty

◆ getObjectID()

const podio::ObjectID edm4eic::MCRecoTrackParticleAssociation::getObjectID ( ) const

◆ getRec()

const edm4eic::Track edm4eic::MCRecoTrackParticleAssociation::getRec ( ) const

Access the reference to the track.

◆ getRecID()

int edm4eic::MCRecoTrackParticleAssociation::getRecID ( ) const
inline

◆ getSim()

const edm4hep::MCParticle edm4eic::MCRecoTrackParticleAssociation::getSim ( ) const

Access the reference to the Monte-Carlo particle.

◆ getSimID()

int edm4eic::MCRecoTrackParticleAssociation::getSimID ( ) const
inline

◆ getWeight()

float edm4eic::MCRecoTrackParticleAssociation::getWeight ( ) const

Access the weight of this association.

◆ id()

podio::ObjectID edm4eic::MCRecoTrackParticleAssociation::id ( ) const
inline

◆ isAvailable()

bool edm4eic::MCRecoTrackParticleAssociation::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

MCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociation::makeEmpty ( )
static

◆ operator!=() [1/2]

bool edm4eic::MCRecoTrackParticleAssociation::operator!= ( const MCRecoTrackParticleAssociation & other) const
inlineconstexpr

◆ operator!=() [2/2]

bool edm4eic::MCRecoTrackParticleAssociation::operator!= ( const MutableMCRecoTrackParticleAssociation & other) const
inline

◆ operator<()

bool edm4eic::MCRecoTrackParticleAssociation::operator< ( const MCRecoTrackParticleAssociation & other) const
inline

◆ operator=() [1/2]

MCRecoTrackParticleAssociation & edm4eic::MCRecoTrackParticleAssociation::operator= ( MCRecoTrackParticleAssociation other) &

copy-assignment operator

◆ operator=() [2/2]

MCRecoTrackParticleAssociation & edm4eic::MCRecoTrackParticleAssociation::operator= ( MCRecoTrackParticleAssociation other) &&
delete

◆ operator==() [1/2]

bool edm4eic::MCRecoTrackParticleAssociation::operator== ( const MCRecoTrackParticleAssociation & other) const
inlineconstexpr

◆ operator==() [2/2]

bool edm4eic::MCRecoTrackParticleAssociation::operator== ( const MutableMCRecoTrackParticleAssociation & other) const

◆ unlink()

void edm4eic::MCRecoTrackParticleAssociation::unlink ( )
inline

disconnect from MCRecoTrackParticleAssociationObj instance

◆ edm4eic::MCRecoTrackParticleAssociationCollectionData

◆ MCRecoTrackParticleAssociationCollection

friend class MCRecoTrackParticleAssociationCollection
friend

◆ MCRecoTrackParticleAssociationCollectionIterator

friend class MCRecoTrackParticleAssociationCollectionIterator
friend

◆ MutableMCRecoTrackParticleAssociation

friend class MutableMCRecoTrackParticleAssociation
friend

◆ podio::detail::getOrderKey

podio::detail::OrderKey podio::detail::getOrderKey ( const MCRecoTrackParticleAssociation & obj)
friend

◆ swap

Member Data Documentation

◆ typeName

std::string_view edm4eic::MCRecoTrackParticleAssociation::typeName = "edm4eic::MCRecoTrackParticleAssociation"
staticconstexpr

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