ATLAS Offline Software
Loading...
Searching...
No Matches
IDTPM::TrackMatchingLookup_truthTrk Class Reference

#include <TrackMatchingLookup.h>

Inheritance diagram for IDTPM::TrackMatchingLookup_truthTrk:
Collaboration diagram for IDTPM::TrackMatchingLookup_truthTrk:

Public Types

typedef std::unordered_map< const xAOD::TruthParticle *, const xAOD::TrackParticle * > mapTtoR_t
 useful typedefs
typedef std::unordered_map< const xAOD::TrackParticle *, std::vector< const xAOD::TruthParticle * > > mapRtoT_t
typedef std::unordered_map< const xAOD::TruthParticle *, float > mapTtoDist_t

Public Member Functions

 TrackMatchingLookup_truthTrk (const std::string &anaTag_s)
 Constructor.
 ~TrackMatchingLookup_truthTrk ()=default
 Destructor.
virtual unsigned getNmatches (bool getRefN) const override
 getNmatches
virtual const xAOD::TrackParticlegetMatchedRefTrack (const xAOD::TrackParticle &) const override
 getMatchedRefTrack
virtual const xAOD::TrackParticlegetMatchedRefTrack (const xAOD::TruthParticle &t) const override
 Truth -> Track.
virtual const xAOD::TruthParticlegetMatchedRefTruth (const xAOD::TrackParticle &) const override
 Track -> Truth.
virtual const std::vector< const xAOD::TrackParticle * > & getMatchedTestTracks (const xAOD::TrackParticle &) const override
 getMatchedTestTracks
virtual const std::vector< const xAOD::TrackParticle * > & getMatchedTestTracks (const xAOD::TruthParticle &) const override
 vec Track <- Truth
virtual const std::vector< const xAOD::TruthParticle * > & getMatchedTestTruths (const xAOD::TrackParticle &r) const override
 vec Truth <- Track
virtual bool isTestMatched (const xAOD::TrackParticle &) const override
 isTestMatched
virtual bool isTestMatched (const xAOD::TruthParticle &t) const override
virtual bool isRefMatched (const xAOD::TrackParticle &r) const override
 isRefMatched
virtual bool isRefMatched (const xAOD::TruthParticle &) const override
virtual StatusCode update (const xAOD::TrackParticle &, const xAOD::TrackParticle &, float) override
 update
virtual StatusCode update (const xAOD::TrackParticle &, const xAOD::TruthParticle &, float) override
 Track -> Truth.
virtual StatusCode update (const xAOD::TruthParticle &t, const xAOD::TrackParticle &r, float dist) override
 Truth -> Track.
virtual void clear () override
 clear
virtual std::string printInfo (const std::vector< const xAOD::TrackParticle * > &, const std::vector< const xAOD::TrackParticle * > &) const override
 printInfo
virtual std::string printInfo (const std::vector< const xAOD::TrackParticle * > &, const std::vector< const xAOD::TruthParticle * > &) const override
 Track -> Truth.
virtual std::string printInfo (const std::vector< const xAOD::TruthParticle * > &testVec, const std::vector< const xAOD::TrackParticle * > &refVec) const override
 Truth -> Track.
unsigned getMapsSize (bool getRefN=false) const
 get the overall number of matches
const xAOD::TrackParticlegetMatchedRef (const xAOD::TruthParticle &t) const
 get matched reference from map
const std::vector< const xAOD::TruthParticle * > & getMatchedTest (const xAOD::TrackParticle &r) const
 get matched test vector from map
float getDist (const xAOD::TruthParticle &t) const
 get distance parameter for matched test
bool isTestInMaps (const xAOD::TruthParticle &t) const
 return true if test is matched
bool isRefInMaps (const xAOD::TrackParticle &r) const
 return true if reference is matched
StatusCode updateMaps (const xAOD::TruthParticle &t, const xAOD::TrackParticle &r, float dist=0.)
 update maps with a new entry
void clearMaps ()
 clear lookup tables
std::string printMaps (const std::vector< const xAOD::TruthParticle * > &testVec, const std::vector< const xAOD::TrackParticle * > &refVec, std::string_view chainRoiName_s) const
 print info about matching and reverse matchings
bool msgLvl (const MSG::Level lvl) const
 Test the output level.
MsgStream & msg () const
 The standard message stream.
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream.
void setLevel (MSG::Level lvl)
 Change the current logging level.
const std::string & anaTag () const
 matching properties
void anaTag (std::string_view anaTag_s)
const std::string & chainRoiName () const
void chainRoiName (std::string_view chainRoiName_s)
const xAOD::TruthParticlegetMatchedRefTruth (const xAOD::TruthParticle &) const
 Truth -> Truth // to avoid compilation errors.
const std::vector< const xAOD::TruthParticle * > & getMatchedTestTruths (const xAOD::TruthParticle &) const
 vec Truth <- Truth // to avoid compilation errors
const xAOD::TrackParticlegetBestMatchedTestTrack (const xAOD::TrackParticle &r) const
 get best matched test, i.e.
const xAOD::TrackParticlegetBestMatchedTestTrack (const xAOD::TruthParticle &r) const
 best Track <- Truth
virtual const xAOD::TruthParticlegetBestMatchedTestTruth (const xAOD::TrackParticle &r) const
 best Truth <- Track
const xAOD::TruthParticlegetBestMatchedTestTruth (const xAOD::TruthParticle &) const
 best Truth <- Truth // to avoid compilation errors

Protected Attributes

std::vector< const xAOD::TrackParticle * > m_nullTrackVec {}
 null vectors
std::vector< const xAOD::TruthParticle * > m_nullTruthVec {}

Private Member Functions

void initMessaging () const
 Initialize our message level and MessageSvc.

Private Attributes

std::string m_anaTag
 analysis tag
mapTtoR_t m_mapTestToRef
 Mapping test to its uniquely associated reference.
mapRtoT_t m_mapRefToTest
 Mapping reference to its (possibly multiple) associated test(s)
mapTtoDist_t m_mapTestToDist
 Mapping test to its uniquely associated reference.
std::vector< const xAOD::TruthParticle * > m_nullTest
 null Vectors
std::string m_nm
 Message source name.
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels)
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer.
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level.
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging)
std::string m_chainRoiName

Detailed Description


-------— Truth -> Track Lookup -------—

Definition at line 355 of file TrackMatchingLookup.h.

Member Typedef Documentation

◆ mapRtoT_t

typedef std::unordered_map< const xAOD::TrackParticle*, std::vector<const xAOD::TruthParticle*> > IDTPM::TrackMatchingLookupBase< xAOD::TruthParticle, xAOD::TrackParticle >::mapRtoT_t
inherited

Definition at line 38 of file TrackMatchingLookup.h.

◆ mapTtoDist_t

typedef std::unordered_map< const xAOD::TruthParticle*, float > IDTPM::TrackMatchingLookupBase< xAOD::TruthParticle, xAOD::TrackParticle >::mapTtoDist_t
inherited

Definition at line 39 of file TrackMatchingLookup.h.

◆ mapTtoR_t

typedef std::unordered_map< const xAOD::TruthParticle*, const xAOD::TrackParticle* > IDTPM::TrackMatchingLookupBase< xAOD::TruthParticle, xAOD::TrackParticle >::mapTtoR_t
inherited

useful typedefs

Definition at line 37 of file TrackMatchingLookup.h.

Constructor & Destructor Documentation

◆ TrackMatchingLookup_truthTrk()

IDTPM::TrackMatchingLookup_truthTrk::TrackMatchingLookup_truthTrk ( const std::string & anaTag_s)
inline

Constructor.

Definition at line 362 of file TrackMatchingLookup.h.

362 :
364 anaTag( anaTag_s );
365 }
const std::string & anaTag() const
matching properties

◆ ~TrackMatchingLookup_truthTrk()

IDTPM::TrackMatchingLookup_truthTrk::~TrackMatchingLookup_truthTrk ( )
default

Destructor.

Member Function Documentation

◆ anaTag() [1/2]

const std::string & IDTPM::ITrackMatchingLookup::anaTag ( ) const
inlineinherited

matching properties

Definition at line 41 of file ITrackMatchingLookup.h.

41{ return m_anaTag; }
std::string m_anaTag
Lookup table properties.

◆ anaTag() [2/2]

void IDTPM::ITrackMatchingLookup::anaTag ( std::string_view anaTag_s)
inlineinherited

Definition at line 42 of file ITrackMatchingLookup.h.

42 {
43 m_anaTag = anaTag_s;
44 }

◆ chainRoiName() [1/2]

const std::string & IDTPM::ITrackMatchingLookup::chainRoiName ( ) const
inlineinherited

Definition at line 45 of file ITrackMatchingLookup.h.

◆ chainRoiName() [2/2]

void IDTPM::ITrackMatchingLookup::chainRoiName ( std::string_view chainRoiName_s)
inlineinherited

Definition at line 46 of file ITrackMatchingLookup.h.

46 {
47 m_chainRoiName = chainRoiName_s;
48 }

◆ clear()

virtual void IDTPM::TrackMatchingLookup_truthTrk::clear ( )
inlineoverridevirtual

clear

Implements IDTPM::ITrackMatchingLookup.

Definition at line 448 of file TrackMatchingLookup.h.

448 {
449 ATH_MSG_DEBUG( "Deleting whole cache..." );
450 chainRoiName("");
451 clearMaps();
452 }
#define ATH_MSG_DEBUG(x)
const std::string & chainRoiName() const

◆ clearMaps()

clear lookup tables

◆ getBestMatchedTestTrack() [1/2]

const xAOD::TrackParticle * IDTPM::ITrackMatchingLookup::getBestMatchedTestTrack ( const xAOD::TrackParticle & r) const
inlineinherited

get best matched test, i.e.

the one with the shortest dist parameter from the reference best Track <- Track

Definition at line 81 of file ITrackMatchingLookup.h.

83 {
84 const std::vector< const xAOD::TrackParticle* >& vec =
86 return vec.empty() ? nullptr : vec[0];
87 }
std::vector< size_t > vec
virtual const std::vector< const xAOD::TrackParticle * > & getMatchedTestTracks(const xAOD::TrackParticle &r) const =0
get matched test vector (1 to 1+) vec Track <- Track
int r
Definition globals.cxx:22

◆ getBestMatchedTestTrack() [2/2]

const xAOD::TrackParticle * IDTPM::ITrackMatchingLookup::getBestMatchedTestTrack ( const xAOD::TruthParticle & r) const
inlineinherited

best Track <- Truth

Definition at line 89 of file ITrackMatchingLookup.h.

91 {
92 const std::vector< const xAOD::TrackParticle* >& vec =
94 return vec.empty() ? nullptr : vec[0];
95 }

◆ getBestMatchedTestTruth() [1/2]

virtual const xAOD::TruthParticle * IDTPM::ITrackMatchingLookup::getBestMatchedTestTruth ( const xAOD::TrackParticle & r) const
inlinevirtualinherited

best Truth <- Track

Definition at line 97 of file ITrackMatchingLookup.h.

99 {
100 const std::vector< const xAOD::TruthParticle* >& vec =
102 return vec.empty() ? nullptr : vec[0];
103 }
virtual const std::vector< const xAOD::TruthParticle * > & getMatchedTestTruths(const xAOD::TrackParticle &r) const =0
vec Truth <- Track

◆ getBestMatchedTestTruth() [2/2]

const xAOD::TruthParticle * IDTPM::ITrackMatchingLookup::getBestMatchedTestTruth ( const xAOD::TruthParticle & ) const
inlineinherited

best Truth <- Truth // to avoid compilation errors

Definition at line 105 of file ITrackMatchingLookup.h.

106 { return nullptr; };

◆ getDist()

get distance parameter for matched test

◆ getMapsSize()

unsigned IDTPM::TrackMatchingLookupBase< xAOD::TruthParticle, xAOD::TrackParticle >::getMapsSize ( bool getRefN = false) const
inlineinherited

get the overall number of matches

Definition at line 51 of file TrackMatchingLookup.h.

◆ getMatchedRef()

get matched reference from map

◆ getMatchedRefTrack() [1/2]

virtual const xAOD::TrackParticle * IDTPM::TrackMatchingLookup_truthTrk::getMatchedRefTrack ( const xAOD::TrackParticle & ) const
inlineoverridevirtual

getMatchedRefTrack

Implements IDTPM::ITrackMatchingLookup.

Definition at line 374 of file TrackMatchingLookup.h.

375 {
376 ATH_MSG_WARNING( "getMatchedRefTrack: Track->Track disabled" );
377 return nullptr;
378 }
#define ATH_MSG_WARNING(x)

◆ getMatchedRefTrack() [2/2]

virtual const xAOD::TrackParticle * IDTPM::TrackMatchingLookup_truthTrk::getMatchedRefTrack ( const xAOD::TruthParticle & t) const
inlineoverridevirtual

Truth -> Track.

Implements IDTPM::ITrackMatchingLookup.

Definition at line 380 of file TrackMatchingLookup.h.

381 { return getMatchedRef(t); }
const xAOD::TrackParticle * getMatchedRef(const xAOD::TruthParticle &t) const

◆ getMatchedRefTruth() [1/2]

const xAOD::TruthParticle * IDTPM::ITrackMatchingLookup::getMatchedRefTruth ( const xAOD::TruthParticle & ) const
inlineinherited

Truth -> Truth // to avoid compilation errors.

Definition at line 61 of file ITrackMatchingLookup.h.

62 { return nullptr; };

◆ getMatchedRefTruth() [2/2]

virtual const xAOD::TruthParticle * IDTPM::TrackMatchingLookup_truthTrk::getMatchedRefTruth ( const xAOD::TrackParticle & t) const
inlineoverridevirtual

Track -> Truth.

Implements IDTPM::ITrackMatchingLookup.

Definition at line 383 of file TrackMatchingLookup.h.

384 {
385 ATH_MSG_WARNING( "getMatchedRefTruth: Track->Truth disabled" );
386 return nullptr;
387 }

◆ getMatchedTest()

const std::vector< const xAOD::TruthParticle * > & IDTPM::TrackMatchingLookupBase< xAOD::TruthParticle, xAOD::TrackParticle >::getMatchedTest ( const xAOD::TrackParticle & r) const
inherited

get matched test vector from map

◆ getMatchedTestTracks() [1/2]

virtual const std::vector< const xAOD::TrackParticle * > & IDTPM::TrackMatchingLookup_truthTrk::getMatchedTestTracks ( const xAOD::TrackParticle & ) const
inlineoverridevirtual

getMatchedTestTracks

Implements IDTPM::ITrackMatchingLookup.

Definition at line 390 of file TrackMatchingLookup.h.

391 {
392 ATH_MSG_WARNING( "getMatchedTestTruths: Track<-Track disabled" );
393 return m_nullTrackVec;
394 }
std::vector< const xAOD::TrackParticle * > m_nullTrackVec
null vectors

◆ getMatchedTestTracks() [2/2]

virtual const std::vector< const xAOD::TrackParticle * > & IDTPM::TrackMatchingLookup_truthTrk::getMatchedTestTracks ( const xAOD::TruthParticle & r) const
inlineoverridevirtual

vec Track <- Truth

Implements IDTPM::ITrackMatchingLookup.

Definition at line 396 of file TrackMatchingLookup.h.

397 {
398 ATH_MSG_WARNING( "getMatchedTestTracks: Tracks<-Truth disabled" );
399 return m_nullTrackVec;
400 }

◆ getMatchedTestTruths() [1/2]

const std::vector< const xAOD::TruthParticle * > & IDTPM::ITrackMatchingLookup::getMatchedTestTruths ( const xAOD::TruthParticle & ) const
inlineinherited

vec Truth <- Truth // to avoid compilation errors

Definition at line 75 of file ITrackMatchingLookup.h.

76 { return m_nullTruthVec; }
std::vector< const xAOD::TruthParticle * > m_nullTruthVec

◆ getMatchedTestTruths() [2/2]

virtual const std::vector< const xAOD::TruthParticle * > & IDTPM::TrackMatchingLookup_truthTrk::getMatchedTestTruths ( const xAOD::TrackParticle & r) const
inlineoverridevirtual

vec Truth <- Track

Implements IDTPM::ITrackMatchingLookup.

Definition at line 402 of file TrackMatchingLookup.h.

403 { return getMatchedTest(r); }
const std::vector< const xAOD::TruthParticle * > & getMatchedTest(const xAOD::TrackParticle &r) const

◆ getNmatches()

virtual unsigned IDTPM::TrackMatchingLookup_truthTrk::getNmatches ( bool getRefN) const
inlineoverridevirtual

getNmatches

Implements IDTPM::ITrackMatchingLookup.

Definition at line 371 of file TrackMatchingLookup.h.

371{ return getMapsSize( getRefN ); }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40{
42 // If user did not set an explicit level, set a default
43 if (m_lvl == MSG::NIL) {
44 m_lvl = m_imsg ?
45 static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
46 MSG::INFO;
47 }
48}
std::string m_nm
Message source name.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
std::atomic< MSG::Level > m_lvl
Current logging level.
IMessageSvc * getMessageSvc(bool quiet=false)

◆ isRefInMaps()

return true if reference is matched

◆ isRefMatched() [1/2]

virtual bool IDTPM::TrackMatchingLookup_truthTrk::isRefMatched ( const xAOD::TrackParticle & r) const
inlineoverridevirtual

isRefMatched

Implements IDTPM::ITrackMatchingLookup.

Definition at line 416 of file TrackMatchingLookup.h.

416 {
417 return isRefInMaps(r);
418 }

◆ isRefMatched() [2/2]

virtual bool IDTPM::TrackMatchingLookup_truthTrk::isRefMatched ( const xAOD::TruthParticle & ) const
inlineoverridevirtual

Implements IDTPM::ITrackMatchingLookup.

Definition at line 420 of file TrackMatchingLookup.h.

420 {
421 ATH_MSG_WARNING( "isRefMatched: X<-Truth disabled" );
422 return false;
423 }

◆ isTestInMaps()

return true if test is matched

◆ isTestMatched() [1/2]

virtual bool IDTPM::TrackMatchingLookup_truthTrk::isTestMatched ( const xAOD::TrackParticle & ) const
inlineoverridevirtual

isTestMatched

Implements IDTPM::ITrackMatchingLookup.

Definition at line 406 of file TrackMatchingLookup.h.

406 {
407 ATH_MSG_WARNING( "isTestMatched: Track->X disabled" );
408 return false;
409 }

◆ isTestMatched() [2/2]

virtual bool IDTPM::TrackMatchingLookup_truthTrk::isTestMatched ( const xAOD::TruthParticle & t) const
inlineoverridevirtual

Implements IDTPM::ITrackMatchingLookup.

Definition at line 411 of file TrackMatchingLookup.h.

411 {
412 return isTestInMaps(t);
413 }

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 163 of file AthMessaging.h.

164{
165 MsgStream* ms = m_msg_tls.get();
166 if (!ms) {
167 if (!m_initialized.test_and_set()) initMessaging();
168 ms = new MsgStream(m_imsg,m_nm);
169 m_msg_tls.reset( ms );
170 }
171
172 ms->setLevel (m_lvl);
173 return *ms;
174}
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
void initMessaging() const
Initialize our message level and MessageSvc.

◆ msg() [2/2]

MsgStream & AthMessaging::msg ( const MSG::Level lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 178 of file AthMessaging.h.

179{ return msg() << lvl; }
MsgStream & msg() const
The standard message stream.

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152{
153 if (m_lvl <= lvl) {
154 msg() << lvl;
155 return true;
156 } else {
157 return false;
158 }
159}

◆ printInfo() [1/3]

virtual std::string IDTPM::TrackMatchingLookup_truthTrk::printInfo ( const std::vector< const xAOD::TrackParticle * > & ,
const std::vector< const xAOD::TrackParticle * > &  ) const
inlineoverridevirtual

printInfo

Implements IDTPM::ITrackMatchingLookup.

Definition at line 455 of file TrackMatchingLookup.h.

457 {
458 ATH_MSG_WARNING( "printInfo: Track->Track matches disabled" );
459 return std::string("--> No matches found");
460 }

◆ printInfo() [2/3]

virtual std::string IDTPM::TrackMatchingLookup_truthTrk::printInfo ( const std::vector< const xAOD::TrackParticle * > & testVec,
const std::vector< const xAOD::TruthParticle * > & refVec ) const
inlineoverridevirtual

Track -> Truth.

Implements IDTPM::ITrackMatchingLookup.

Definition at line 462 of file TrackMatchingLookup.h.

464 {
465 ATH_MSG_WARNING( "printInfo: Track->Truth matches disabled" );
466 return std::string("--> No matches found");
467 }

◆ printInfo() [3/3]

virtual std::string IDTPM::TrackMatchingLookup_truthTrk::printInfo ( const std::vector< const xAOD::TruthParticle * > & testVec,
const std::vector< const xAOD::TrackParticle * > & refVec ) const
inlineoverridevirtual

Truth -> Track.

Implements IDTPM::ITrackMatchingLookup.

Definition at line 469 of file TrackMatchingLookup.h.

471 {
472 return printMaps( testVec, refVec, chainRoiName() );
473 }
std::string printMaps(const std::vector< const xAOD::TruthParticle * > &testVec, const std::vector< const xAOD::TrackParticle * > &refVec, std::string_view chainRoiName_s) const

◆ printMaps()

std::string IDTPM::TrackMatchingLookupBase< xAOD::TruthParticle, xAOD::TrackParticle >::printMaps ( const std::vector< const xAOD::TruthParticle * > & testVec,
const std::vector< const xAOD::TrackParticle * > & refVec,
std::string_view chainRoiName_s ) const
inherited

print info about matching and reverse matchings

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29{
30 m_lvl = lvl;
31}

◆ update() [1/3]

virtual StatusCode IDTPM::TrackMatchingLookup_truthTrk::update ( const xAOD::TrackParticle & ,
const xAOD::TrackParticle & ,
float  )
inlineoverridevirtual

update

Implements IDTPM::ITrackMatchingLookup.

Definition at line 426 of file TrackMatchingLookup.h.

428 {
429 return StatusCode::SUCCESS;
430 ATH_MSG_WARNING( "update: Track->Track disabled" );
431 }

◆ update() [2/3]

virtual StatusCode IDTPM::TrackMatchingLookup_truthTrk::update ( const xAOD::TrackParticle & t,
const xAOD::TruthParticle & r,
float dist )
inlineoverridevirtual

Track -> Truth.

Implements IDTPM::ITrackMatchingLookup.

Definition at line 433 of file TrackMatchingLookup.h.

435 {
436 ATH_MSG_WARNING( "update: Track->Truth disabled" );
437 return StatusCode::SUCCESS;
438 }

◆ update() [3/3]

virtual StatusCode IDTPM::TrackMatchingLookup_truthTrk::update ( const xAOD::TruthParticle & t,
const xAOD::TrackParticle & r,
float dist )
inlineoverridevirtual

Truth -> Track.

Implements IDTPM::ITrackMatchingLookup.

Definition at line 440 of file TrackMatchingLookup.h.

442 {
443 ATH_CHECK( updateMaps( t, r, dist ) );
444 return StatusCode::SUCCESS;
445 }
#define ATH_CHECK
Evaluate an expression and check for errors.
StatusCode updateMaps(const xAOD::TruthParticle &t, const xAOD::TrackParticle &r, float dist=0.)

◆ updateMaps()

StatusCode IDTPM::TrackMatchingLookupBase< xAOD::TruthParticle, xAOD::TrackParticle >::updateMaps ( const xAOD::TruthParticle & t,
const xAOD::TrackParticle & r,
float dist = 0. )
inherited

update maps with a new entry

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_anaTag

std::string IDTPM::TrackMatchingLookupBase< xAOD::TruthParticle, xAOD::TrackParticle >::m_anaTag
privateinherited

analysis tag

Definition at line 83 of file TrackMatchingLookup.h.

◆ m_chainRoiName

std::string IDTPM::ITrackMatchingLookup::m_chainRoiName
privateinherited

Definition at line 157 of file ITrackMatchingLookup.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

135{ nullptr };

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

138{ MSG::NIL };

◆ m_mapRefToTest

Mapping reference to its (possibly multiple) associated test(s)

Definition at line 89 of file TrackMatchingLookup.h.

◆ m_mapTestToDist

Mapping test to its uniquely associated reference.

Definition at line 92 of file TrackMatchingLookup.h.

◆ m_mapTestToRef

Mapping test to its uniquely associated reference.

Definition at line 86 of file TrackMatchingLookup.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_nullTest

std::vector<const xAOD::TruthParticle*> IDTPM::TrackMatchingLookupBase< xAOD::TruthParticle, xAOD::TrackParticle >::m_nullTest
privateinherited

null Vectors

Definition at line 95 of file TrackMatchingLookup.h.

95{};

◆ m_nullTrackVec

std::vector< const xAOD::TrackParticle* > IDTPM::ITrackMatchingLookup::m_nullTrackVec {}
protectedinherited

null vectors

Definition at line 150 of file ITrackMatchingLookup.h.

150{};

◆ m_nullTruthVec

std::vector< const xAOD::TruthParticle* > IDTPM::ITrackMatchingLookup::m_nullTruthVec {}
protectedinherited

Definition at line 151 of file ITrackMatchingLookup.h.

151{};

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