ATLAS Offline Software
|
#include <FPGATrackSimMultiTruth.h>
Classes | |
struct | AddAccumulator |
struct | MaxAccumulator |
struct | TruthMapWeightAcc |
struct | TruthMapWeightLt |
Public Types | |
typedef std::pair< unsigned long, unsigned long > | Barcode |
typedef float | Weight |
typedef std::map< Barcode, Weight > | TruthMap |
Public Member Functions | |
FPGATrackSimMultiTruth ()=default | |
FPGATrackSimMultiTruth (const FPGATrackSimMultiTruth::Barcode &code, const FPGATrackSimMultiTruth::Weight weight=1.) | |
virtual | ~FPGATrackSimMultiTruth ()=default |
auto | begin () |
auto | end () |
auto | begin () const |
auto | end () const |
bool | isEmpty () const |
unsigned long | best_barcode () const |
void | add (const FPGATrackSimMultiTruth::Barcode &code, const FPGATrackSimMultiTruth::Weight &weight) |
void | add (const FPGATrackSimMultiTruth &rval) |
void | maximize (const FPGATrackSimMultiTruth::Barcode &code, const FPGATrackSimMultiTruth::Weight &weight) |
void | maximize (const FPGATrackSimMultiTruth &rval) |
void | assign_equal_normalization () |
unsigned | multiplicity () const |
bool | best (FPGATrackSimMultiTruth::Barcode &code, FPGATrackSimMultiTruth::Weight &weight) const |
Private Member Functions | |
const FPGATrackSimMultiTruth | add (const FPGATrackSimMultiTruth &rval) const |
const FPGATrackSimMultiTruth | maximize (const FPGATrackSimMultiTruth &rval) const |
FPGATrackSimMultiTruth::Weight | total_weight () const |
FPGATrackSimMultiTruth::Weight | weight (const FPGATrackSimMultiTruth::Barcode &code) const |
Private Attributes | |
TruthMap | m_truth |
Definition at line 46 of file FPGATrackSimMultiTruth.h.
typedef std::pair<unsigned long, unsigned long> FPGATrackSimMultiTruth::Barcode |
Definition at line 49 of file FPGATrackSimMultiTruth.h.
typedef std::map<Barcode, Weight> FPGATrackSimMultiTruth::TruthMap |
Definition at line 51 of file FPGATrackSimMultiTruth.h.
typedef float FPGATrackSimMultiTruth::Weight |
Definition at line 50 of file FPGATrackSimMultiTruth.h.
|
default |
|
inline |
Definition at line 54 of file FPGATrackSimMultiTruth.h.
|
virtualdefault |
void FPGATrackSimMultiTruth::add | ( | const FPGATrackSimMultiTruth & | rval | ) |
Definition at line 27 of file FPGATrackSimMultiTruth.cxx.
|
private |
Definition at line 95 of file FPGATrackSimMultiTruth.cxx.
void FPGATrackSimMultiTruth::add | ( | const FPGATrackSimMultiTruth::Barcode & | code, |
const FPGATrackSimMultiTruth::Weight & | weight | ||
) |
void FPGATrackSimMultiTruth::assign_equal_normalization | ( | ) |
Definition at line 69 of file FPGATrackSimMultiTruth.cxx.
|
inline |
Definition at line 65 of file FPGATrackSimMultiTruth.h.
|
inline |
Definition at line 67 of file FPGATrackSimMultiTruth.h.
|
inline |
Definition at line 86 of file FPGATrackSimMultiTruth.h.
unsigned long FPGATrackSimMultiTruth::best_barcode | ( | ) | const |
|
inline |
Definition at line 66 of file FPGATrackSimMultiTruth.h.
|
inline |
Definition at line 68 of file FPGATrackSimMultiTruth.h.
|
inline |
Definition at line 70 of file FPGATrackSimMultiTruth.h.
void FPGATrackSimMultiTruth::maximize | ( | const FPGATrackSimMultiTruth & | rval | ) |
Definition at line 50 of file FPGATrackSimMultiTruth.cxx.
|
private |
Definition at line 102 of file FPGATrackSimMultiTruth.cxx.
void FPGATrackSimMultiTruth::maximize | ( | const FPGATrackSimMultiTruth::Barcode & | code, |
const FPGATrackSimMultiTruth::Weight & | weight | ||
) |
|
inline |
Definition at line 82 of file FPGATrackSimMultiTruth.h.
|
inlineprivate |
Definition at line 116 of file FPGATrackSimMultiTruth.h.
|
inlineprivate |
Definition at line 118 of file FPGATrackSimMultiTruth.h.
|
private |
Definition at line 122 of file FPGATrackSimMultiTruth.h.