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

#include <TrackProtoClusterMatch.h>

Public Types

using mutable_type = MutableTrackProtoClusterMatch
 
using collection_type = TrackProtoClusterMatchCollection
 

Public Member Functions

 TrackProtoClusterMatch ()
 default constructor
 
 TrackProtoClusterMatch (const float weight)
 Constructor initializing all members.
 
 TrackProtoClusterMatch (const TrackProtoClusterMatch &other)=default
 copy constructor
 
TrackProtoClusterMatchoperator= (TrackProtoClusterMatch other) &
 copy-assignment operator
 
TrackProtoClusterMatchoperator= (TrackProtoClusterMatch other) &&=delete
 
MutableTrackProtoClusterMatch clone (bool cloneRelations=true) const
 
 ~TrackProtoClusterMatch ()=default
 destructor
 
 TrackProtoClusterMatch (const MutableTrackProtoClusterMatch &other)
 converting constructor from mutable object
 
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.
 
bool isAvailable () const
 check whether the object is actually available
 
void unlink ()
 disconnect from TrackProtoClusterMatchObj instance
 
bool operator== (const TrackProtoClusterMatch &other) const
 
bool operator== (const MutableTrackProtoClusterMatch &other) const
 
bool operator!= (const TrackProtoClusterMatch &other) const
 
bool operator!= (const MutableTrackProtoClusterMatch &other) const
 
bool operator< (const TrackProtoClusterMatch &other) const
 
podio::ObjectID id () const
 
const podio::ObjectID getObjectID () const
 

Static Public Member Functions

static TrackProtoClusterMatch makeEmpty ()
 

Static Public Attributes

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

Friends

class MutableTrackProtoClusterMatch
 
class TrackProtoClusterMatchCollection
 
class edm4eic::TrackProtoClusterMatchCollectionData
 
class TrackProtoClusterMatchCollectionIterator
 
podio::detail::OrderKey podio::detail::getOrderKey (const TrackProtoClusterMatch &obj)
 
void swap (TrackProtoClusterMatch &a, TrackProtoClusterMatch &b)
 

Detailed Description

Match between a ProtoCluster and a Track

Author
: D. Anderson, D. Kalinkin

Member Typedef Documentation

◆ collection_type

◆ mutable_type

Constructor & Destructor Documentation

◆ TrackProtoClusterMatch() [1/4]

edm4eic::TrackProtoClusterMatch::TrackProtoClusterMatch ( )

default constructor

◆ TrackProtoClusterMatch() [2/4]

edm4eic::TrackProtoClusterMatch::TrackProtoClusterMatch ( const float weight)

Constructor initializing all members.

◆ TrackProtoClusterMatch() [3/4]

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

copy constructor

◆ ~TrackProtoClusterMatch()

edm4eic::TrackProtoClusterMatch::~TrackProtoClusterMatch ( )
default

destructor

◆ TrackProtoClusterMatch() [4/4]

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

converting constructor from mutable object

Member Function Documentation

◆ clone()

MutableTrackProtoClusterMatch edm4eic::TrackProtoClusterMatch::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::TrackProtoClusterMatch::getFrom ( ) const

Access the reference to the track.

◆ getObjectID()

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

◆ getTo()

const edm4eic::ProtoCluster edm4eic::TrackProtoClusterMatch::getTo ( ) const

Access the reference to the protocluster.

◆ getWeight()

float edm4eic::TrackProtoClusterMatch::getWeight ( ) const

Access the weight of this association.

◆ id()

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

◆ isAvailable()

bool edm4eic::TrackProtoClusterMatch::isAvailable ( ) const

check whether the object is actually available

◆ makeEmpty()

TrackProtoClusterMatch edm4eic::TrackProtoClusterMatch::makeEmpty ( )
static

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<()

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

◆ operator=() [1/2]

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

copy-assignment operator

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ unlink()

void edm4eic::TrackProtoClusterMatch::unlink ( )
inline

disconnect from TrackProtoClusterMatchObj instance

Friends And Related Symbol Documentation

◆ edm4eic::TrackProtoClusterMatchCollectionData

◆ MutableTrackProtoClusterMatch

friend class MutableTrackProtoClusterMatch
friend

◆ podio::detail::getOrderKey

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

◆ swap

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

◆ TrackProtoClusterMatchCollection

friend class TrackProtoClusterMatchCollection
friend

◆ TrackProtoClusterMatchCollectionIterator

Member Data Documentation

◆ typeName

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

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