 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 static const Accessor_t DEFAULT_ACC( DEFAULT_BTAG_LINK_NAME );
20 static const Decorator_t DEFAULT_DEC( DEFAULT_BTAG_LINK_NAME );
29 return *( acc(
part ) );
43 const std::string& linkName ) {
53 return DEFAULT_ACC(
part );
58 const std::string& linkName ) {
61 return btagAcc(
part );
72 const std::string& linkName ) {
SG::AuxElement::Decorator< ElementLink< BTaggingContainer > > Decorator_t
Convenience type for the decorator.
Helper class to provide type-safe access to aux data.
void setBTaggingLink(const SG::AuxElement &part, const ElementLink< xAOD::BTaggingContainer > &el)
Set the default xAOD::BTagging link for an object.
Base class for elements of a container that can have aux data.
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
Helper class to provide type-safe access to aux data.
SG::AuxElement::Accessor< ElementLink< BTaggingContainer > > Accessor_t
Convenience type for the accessor.
ElementLink implementation for ROOT usage.
const BTagging * getBTagging(const SG::AuxElement &part)
Access the default xAOD::BTagging object associated to an object.
const ElementLink< xAOD::BTaggingContainer > & getBTaggingLink(const SG::AuxElement &part)
Access the default xAOD::BTagging link for an object.