29 return *(
acc( part ) );
43 const std::string& linkName ) {
58 const std::string& linkName ) {
61 return btagAcc( part );
72 const std::string& linkName ) {
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
ElementLink implementation for ROOT usage.
Base class for elements of a container that can have aux data.
SG::Decorator< T, ALLOC > Decorator
SG::Accessor< T, ALLOC > Accessor
const ElementLink< xAOD::BTaggingContainer > & getBTaggingLink(const SG::AuxElement &part)
Access the default xAOD::BTagging link for an object.
static const Decorator_t DEFAULT_DEC(DEFAULT_BTAG_LINK_NAME)
Decorator for the default xAOD::BTagging link.
const BTagging * getBTagging(const SG::AuxElement &part)
Access the default xAOD::BTagging object associated to an object.
static const Accessor_t DEFAULT_ACC(DEFAULT_BTAG_LINK_NAME)
Accessor for the default xAOD::BTagging link.
void setBTaggingLink(const SG::AuxElement &part, const ElementLink< xAOD::BTaggingContainer > &el)
Set the default xAOD::BTagging link for an object.
SG::AuxElement::Accessor< ElementLink< BTaggingContainer > > Accessor_t
Convenience type for the accessor.
SG::AuxElement::Decorator< ElementLink< BTaggingContainer > > Decorator_t
Convenience type for the decorator.
static const std::string DEFAULT_BTAG_LINK_NAME
The default key for the xAOD::BTagging link.
BTagging_v1 BTagging
Definition of the current "BTagging version".
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.