![]() |
ATLAS Offline Software
|
and a specific PDG ID helper, so we can select particles of a particular type NB: this is a class, since we will want to decode with pdg id this is and store it dureing the initialise in the class itself More...
#include <AncestorFinder.h>
Public Member Functions | |
| PdgIdHelper (int pdgid) | |
| bool | operator() (const T *t) const |
| this is quite clever - if we want to pass in an actual class the if we defined operator() then for an instance of object called, say "aclass" then we can call aclass() is if aclass was actually a function - totally wild ! | |
Private Attributes | |
| int | m_pdgid |
and a specific PDG ID helper, so we can select particles of a particular type NB: this is a class, since we will want to decode with pdg id this is and store it dureing the initialise in the class itself
Definition at line 97 of file AncestorFinder.h.
|
inline |
Definition at line 101 of file AncestorFinder.h.
|
inlinevirtual |
this is quite clever - if we want to pass in an actual class the if we defined operator() then for an instance of object called, say "aclass" then we can call aclass() is if aclass was actually a function - totally wild !
Implements IDTPM2::IPredicate< T >.
Definition at line 107 of file AncestorFinder.h.
|
private |
Definition at line 111 of file AncestorFinder.h.