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

#include <MutableTrackClusterMatch.h>

Public Types

using object_type = TrackClusterMatch
 
using collection_type = TrackClusterMatchCollection
 

Public Member Functions

 MutableTrackClusterMatch ()
 default constructor
 
 MutableTrackClusterMatch (float weight)
 Constructor initializing all members.
 
 MutableTrackClusterMatch (const MutableTrackClusterMatch &other)=default
 copy constructor
 
MutableTrackClusterMatchoperator= (MutableTrackClusterMatch other)
 copy-assignment operator
 
MutableTrackClusterMatch clone (bool cloneRelations=true) const
 
 ~MutableTrackClusterMatch ()=default
 destructor
 
float getWeight () const
 Access the weight of this association.
 
const edm4eic::Cluster getCluster () const
 Access the reference to the cluster.
 
const edm4eic::Track getTrack () const
 Access the reference to the track.
 
void setWeight (float value)
 Set the weight of this association.
 
float & getWeight ()
 Get mutable reference to weight of this association.
 
float & weight ()
 Get reference to weight of this association.
 
void setCluster (const edm4eic::Cluster &value)
 Set the reference to the cluster.
 
void setTrack (const edm4eic::Track &value)
 Set the reference to the track.
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from TrackClusterMatchObj instance
 
bool operator== (const MutableTrackClusterMatch &other) const
 
bool operator== (const TrackClusterMatch &other) const
 
bool operator!= (const MutableTrackClusterMatch &other) const
 
bool operator!= (const TrackClusterMatch &other) const
 
bool operator< (const MutableTrackClusterMatch &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class TrackClusterMatchCollection
 
class TrackClusterMatchMutableCollectionIterator
 
class TrackClusterMatch
 
void swap (MutableTrackClusterMatch &a, MutableTrackClusterMatch &b)
 

Detailed Description

Match between a Cluster and a Track

Author
: D. Anderson, D. Brandenburg, D. Kalinkin, S. Joosten

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableTrackClusterMatch() [1/3]

edm4eic::MutableTrackClusterMatch::MutableTrackClusterMatch ( )

default constructor

◆ MutableTrackClusterMatch() [2/3]

edm4eic::MutableTrackClusterMatch::MutableTrackClusterMatch ( float weight)

Constructor initializing all members.

◆ MutableTrackClusterMatch() [3/3]

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

copy constructor

◆ ~MutableTrackClusterMatch()

edm4eic::MutableTrackClusterMatch::~MutableTrackClusterMatch ( )
default

destructor

Member Function Documentation

◆ clone()

MutableTrackClusterMatch edm4eic::MutableTrackClusterMatch::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

◆ getCluster()

const edm4eic::Cluster edm4eic::MutableTrackClusterMatch::getCluster ( ) const

Access the reference to the cluster.

◆ getObjectID()

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

◆ getTrack()

const edm4eic::Track edm4eic::MutableTrackClusterMatch::getTrack ( ) const

Access the reference to the track.

◆ getWeight() [1/2]

float & edm4eic::MutableTrackClusterMatch::getWeight ( )

Get mutable reference to weight of this association.

◆ getWeight() [2/2]

float edm4eic::MutableTrackClusterMatch::getWeight ( ) const

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableTrackClusterMatch::isAvailable ( ) const

check whether the object is actually available

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

bool edm4eic::MutableTrackClusterMatch::operator!= ( const TrackClusterMatch & other) const
inline

◆ operator<()

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

◆ operator=()

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

copy-assignment operator

◆ operator==() [1/2]

bool edm4eic::MutableTrackClusterMatch::operator== ( const MutableTrackClusterMatch & other) const
inline

◆ operator==() [2/2]

bool edm4eic::MutableTrackClusterMatch::operator== ( const TrackClusterMatch & other) const

◆ setCluster()

void edm4eic::MutableTrackClusterMatch::setCluster ( const edm4eic::Cluster & value)

Set the reference to the cluster.

◆ setTrack()

void edm4eic::MutableTrackClusterMatch::setTrack ( const edm4eic::Track & value)

Set the reference to the track.

◆ setWeight()

void edm4eic::MutableTrackClusterMatch::setWeight ( float value)

Set the weight of this association.

◆ unlink()

void edm4eic::MutableTrackClusterMatch::unlink ( )
inline

disconnect from TrackClusterMatchObj instance

◆ weight()

float & edm4eic::MutableTrackClusterMatch::weight ( )

Get reference to weight of this association.

Friends And Related Symbol Documentation

◆ swap

void swap ( MutableTrackClusterMatch & a,
MutableTrackClusterMatch & b )
friend

◆ TrackClusterMatch

friend class TrackClusterMatch
friend

◆ TrackClusterMatchCollection

friend class TrackClusterMatchCollection
friend

◆ TrackClusterMatchMutableCollectionIterator


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