EICd
EIC data model
eicd::ProtoCluster Class Reference

#include <ProtoCluster.h>

Public Member Functions

 ProtoCluster ()
 default constructor More...
 
 ProtoCluster (ProtoClusterObj *obj)
 constructor from existing ProtoClusterObj More...
 
 ProtoCluster (const ProtoCluster &other)
 copy constructor More...
 
ProtoClusteroperator= (ProtoCluster other)
 copy-assignment operator More...
 
MutableProtoCluster clone () const
 create a mutable deep-copy of the object with identical relations More...
 
 ~ProtoCluster ()
 destructor More...
 
unsigned int hits_size () const
 
eicd::CalorimeterHit getHits (unsigned int) const
 
std::vector< eicd::CalorimeterHit >::const_iterator hits_begin () const
 
std::vector< eicd::CalorimeterHit >::const_iterator hits_end () const
 
podio::RelationRange< eicd::CalorimeterHitgetHits () const
 
unsigned int weights_size () const
 
float getWeights (unsigned int) const
 
std::vector< float >::const_iterator weights_begin () const
 
std::vector< float >::const_iterator weights_end () const
 
podio::RelationRange< float > getWeights () const
 
bool isAvailable () const
 check whether the object is actually available More...
 
void unlink ()
 disconnect from ProtoClusterObj instance More...
 
bool operator== (const ProtoCluster &other) const
 
bool operator== (const MutableProtoCluster &other) const
 
bool operator< (const ProtoCluster &other) const
 
unsigned int id () const
 
const podio::ObjectID getObjectID () const
 

Friends

class MutableProtoCluster
 
class ProtoClusterCollection
 
class ProtoClusterCollectionIterator
 
void swap (ProtoCluster &a, ProtoCluster &b)
 

Detailed Description

Collection of hits identified by the clustering algorithm to belong together

Author
: S. Joosten

Constructor & Destructor Documentation

◆ ProtoCluster() [1/3]

eicd::ProtoCluster::ProtoCluster ( )

default constructor

◆ ProtoCluster() [2/3]

eicd::ProtoCluster::ProtoCluster ( ProtoClusterObj obj)

constructor from existing ProtoClusterObj

◆ ProtoCluster() [3/3]

eicd::ProtoCluster::ProtoCluster ( const ProtoCluster other)

copy constructor

◆ ~ProtoCluster()

eicd::ProtoCluster::~ProtoCluster ( )

destructor

Member Function Documentation

◆ clone()

MutableProtoCluster eicd::ProtoCluster::clone ( ) const

create a mutable deep-copy of the object with identical relations

◆ getHits() [1/2]

podio::RelationRange< eicd::CalorimeterHit > eicd::ProtoCluster::getHits ( ) const

◆ getHits() [2/2]

eicd::CalorimeterHit eicd::ProtoCluster::getHits ( unsigned int  index) const

◆ getObjectID()

const podio::ObjectID eicd::ProtoCluster::getObjectID ( ) const

◆ getWeights() [1/2]

podio::RelationRange< float > eicd::ProtoCluster::getWeights ( ) const

◆ getWeights() [2/2]

float eicd::ProtoCluster::getWeights ( unsigned int  index) const

◆ hits_begin()

std::vector< eicd::CalorimeterHit >::const_iterator eicd::ProtoCluster::hits_begin ( ) const

◆ hits_end()

std::vector< eicd::CalorimeterHit >::const_iterator eicd::ProtoCluster::hits_end ( ) const

◆ hits_size()

unsigned int eicd::ProtoCluster::hits_size ( ) const

◆ id()

unsigned int eicd::ProtoCluster::id ( ) const
inline

◆ isAvailable()

bool eicd::ProtoCluster::isAvailable ( ) const

check whether the object is actually available

◆ operator<()

bool eicd::ProtoCluster::operator< ( const ProtoCluster other) const
inline

◆ operator=()

ProtoCluster & eicd::ProtoCluster::operator= ( ProtoCluster  other)

copy-assignment operator

◆ operator==() [1/2]

bool eicd::ProtoCluster::operator== ( const MutableProtoCluster other) const

◆ operator==() [2/2]

bool eicd::ProtoCluster::operator== ( const ProtoCluster other) const
inline

◆ unlink()

void eicd::ProtoCluster::unlink ( )
inline

disconnect from ProtoClusterObj instance

◆ weights_begin()

std::vector< float >::const_iterator eicd::ProtoCluster::weights_begin ( ) const

◆ weights_end()

std::vector< float >::const_iterator eicd::ProtoCluster::weights_end ( ) const

◆ weights_size()

unsigned int eicd::ProtoCluster::weights_size ( ) const

Friends And Related Function Documentation

◆ MutableProtoCluster

friend class MutableProtoCluster
friend

◆ ProtoClusterCollection

friend class ProtoClusterCollection
friend

◆ ProtoClusterCollectionIterator

friend class ProtoClusterCollectionIterator
friend

◆ swap

void swap ( ProtoCluster a,
ProtoCluster b 
)
friend

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