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

#include <MutableTrackProtoClusterMatch.h>

Public Types

using object_type = TrackProtoClusterMatch
 
using collection_type = TrackProtoClusterMatchCollection
 

Public Member Functions

 MutableTrackProtoClusterMatch ()
 default constructor
 
 MutableTrackProtoClusterMatch (const float weight)
 Constructor initializing all members.
 
 MutableTrackProtoClusterMatch (const MutableTrackProtoClusterMatch &other)=default
 copy constructor
 
MutableTrackProtoClusterMatchoperator= (MutableTrackProtoClusterMatch other) &
 copy-assignment operator
 
MutableTrackProtoClusterMatchoperator= (MutableTrackProtoClusterMatch other) &&=delete
 
MutableTrackProtoClusterMatch clone (bool cloneRelations=true) const
 
 ~MutableTrackProtoClusterMatch ()=default
 destructor
 
float getWeight () const
 Access the weight of this association.
 
const edm4eic::Track getFrom () const
 Access the reference to the track.
 
const edm4eic::ProtoCluster getTo () const
 Access the reference to the protocluster.
 
void setWeight (const float weight)
 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 setFrom (const edm4eic::Track &value)
 Set the reference to the track.
 
void setTo (const edm4eic::ProtoCluster &value)
 Set the reference to the protocluster.
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from TrackProtoClusterMatchObj instance
 
bool operator== (const MutableTrackProtoClusterMatch &other) const
 
bool operator== (const TrackProtoClusterMatch &other) const
 
bool operator!= (const MutableTrackProtoClusterMatch &other) const
 
bool operator!= (const TrackProtoClusterMatch &other) const
 
bool operator< (const MutableTrackProtoClusterMatch &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class TrackProtoClusterMatchCollection
 
class TrackProtoClusterMatchMutableCollectionIterator
 
class TrackProtoClusterMatch
 
void swap (MutableTrackProtoClusterMatch &a, MutableTrackProtoClusterMatch &b)
 

Detailed Description

Match between a ProtoCluster and a Track

Author
: D. Anderson, D. Kalinkin

Member Typedef Documentation

◆ collection_type

◆ object_type

Constructor & Destructor Documentation

◆ MutableTrackProtoClusterMatch() [1/3]

edm4eic::MutableTrackProtoClusterMatch::MutableTrackProtoClusterMatch ( )

default constructor

◆ MutableTrackProtoClusterMatch() [2/3]

edm4eic::MutableTrackProtoClusterMatch::MutableTrackProtoClusterMatch ( const float weight)

Constructor initializing all members.

◆ MutableTrackProtoClusterMatch() [3/3]

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

copy constructor

◆ ~MutableTrackProtoClusterMatch()

edm4eic::MutableTrackProtoClusterMatch::~MutableTrackProtoClusterMatch ( )
default

destructor

Member Function Documentation

◆ clone()

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

◆ getFrom()

const edm4eic::Track edm4eic::MutableTrackProtoClusterMatch::getFrom ( ) const

Access the reference to the track.

◆ getObjectID()

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

◆ getTo()

const edm4eic::ProtoCluster edm4eic::MutableTrackProtoClusterMatch::getTo ( ) const

Access the reference to the protocluster.

◆ getWeight() [1/2]

float & edm4eic::MutableTrackProtoClusterMatch::getWeight ( )

Get mutable reference to weight of this association.

◆ getWeight() [2/2]

float edm4eic::MutableTrackProtoClusterMatch::getWeight ( ) const

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool edm4eic::MutableTrackProtoClusterMatch::isAvailable ( ) const

check whether the object is actually available

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

bool edm4eic::MutableTrackProtoClusterMatch::operator== ( const TrackProtoClusterMatch & other) const

◆ setFrom()

void edm4eic::MutableTrackProtoClusterMatch::setFrom ( const edm4eic::Track & value)

Set the reference to the track.

◆ setTo()

void edm4eic::MutableTrackProtoClusterMatch::setTo ( const edm4eic::ProtoCluster & value)

Set the reference to the protocluster.

◆ setWeight()

void edm4eic::MutableTrackProtoClusterMatch::setWeight ( const float weight)

Set the weight of this association.

◆ unlink()

void edm4eic::MutableTrackProtoClusterMatch::unlink ( )
inline

disconnect from TrackProtoClusterMatchObj instance

◆ weight()

float & edm4eic::MutableTrackProtoClusterMatch::weight ( )

Get reference to weight of this association.

Friends And Related Symbol Documentation

◆ swap

◆ TrackProtoClusterMatch

friend class TrackProtoClusterMatch
friend

◆ TrackProtoClusterMatchCollection

friend class TrackProtoClusterMatchCollection
friend

◆ TrackProtoClusterMatchMutableCollectionIterator


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