CbmRoot
Loading...
Searching...
No Matches
cbm::algo::ca::McLinkKey Struct Reference

#include <CaMcLinkKey.h>

Public Member Functions

 McLinkKey (int index, int event, int file)
 

Public Attributes

int fIndex = cbm::algo::ca::constants::Undef<int>
 Index of MC point/track in external data structures.
 
int fEvent = cbm::algo::ca::constants::Undef<int>
 Index of MC event.
 
int fFile = cbm::algo::ca::constants::Undef<int>
 Index of MC file.
 

Friends

bool operator== (const McLinkKey &lhs, const McLinkKey &rhs)
 Comparison operator.
 

Detailed Description

Definition at line 19 of file CaMcLinkKey.h.

Constructor & Destructor Documentation

◆ McLinkKey()

cbm::algo::ca::McLinkKey::McLinkKey ( int index,
int event,
int file )
inline

Constructor from index, event and file of a link

Parameters
indexIndex of MC track/point in external data structure
eventIndex of MC event
fileIndex of MC file

Definition at line 24 of file CaMcLinkKey.h.

References fEvent, fFile, and fIndex.

Referenced by operator==.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const McLinkKey & lhs,
const McLinkKey & rhs )
friend

Comparison operator.

Definition at line 27 of file CaMcLinkKey.h.

References fEvent, fFile, fIndex, and McLinkKey().

Member Data Documentation

◆ fEvent

int cbm::algo::ca::McLinkKey::fEvent = cbm::algo::ca::constants::Undef<int>

Index of MC event.

Definition at line 33 of file CaMcLinkKey.h.

Referenced by McLinkKey(), std::hash< cbm::algo::ca::McLinkKey >::operator()(), and operator==.

◆ fFile

int cbm::algo::ca::McLinkKey::fFile = cbm::algo::ca::constants::Undef<int>

Index of MC file.

Definition at line 34 of file CaMcLinkKey.h.

Referenced by McLinkKey(), std::hash< cbm::algo::ca::McLinkKey >::operator()(), and operator==.

◆ fIndex

int cbm::algo::ca::McLinkKey::fIndex = cbm::algo::ca::constants::Undef<int>

Index of MC point/track in external data structures.

Definition at line 32 of file CaMcLinkKey.h.

Referenced by McLinkKey(), std::hash< cbm::algo::ca::McLinkKey >::operator()(), and operator==.


The documentation for this struct was generated from the following file: