ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
FPGATrackSimMultiTruth::TruthMapWeightLt Struct Reference
Collaboration diagram for FPGATrackSimMultiTruth::TruthMapWeightLt:

Public Member Functions

bool operator() (const TruthMap::value_type &a, const TruthMap::value_type &b) const
 Use value of -1 here. More...
 

Public Attributes

unsigned long int bad = -1
 

Detailed Description

Definition at line 102 of file FPGATrackSimMultiTruth.h.

Member Function Documentation

◆ operator()()

bool FPGATrackSimMultiTruth::TruthMapWeightLt::operator() ( const TruthMap::value_type &  a,
const TruthMap::value_type &  b 
) const
inline

Use value of -1 here.

Definition at line 104 of file FPGATrackSimMultiTruth.h.

104  {
105  const bool a_info = (a.first.first != bad) && (a.first.second != bad);
106  const bool b_info = (b.first.first != bad) && (b.first.second != bad);
107  return a_info && b_info ? a.second < b.second : b_info;
108  }

Member Data Documentation

◆ bad

unsigned long int FPGATrackSimMultiTruth::TruthMapWeightLt::bad = -1

Definition at line 103 of file FPGATrackSimMultiTruth.h.


The documentation for this struct was generated from the following file:
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
a
TList * a
Definition: liststreamerinfos.cxx:10
FPGATrackSimMultiTruth::TruthMapWeightLt::bad
unsigned long int bad
Definition: FPGATrackSimMultiTruth.h:103