ATLAS Offline Software
|
#include "AthContainers/AuxElement.h"
#include "StoreGate/WriteDecorHandleKey.h"
#include "StoreGate/WriteDecorHandle.h"
#include "StoreGate/ReadDecorHandleKey.h"
#include "StoreGate/ReadDecorHandle.h"
#include "GaudiKernel/EventContext.h"
#include <iostream>
#include <utility>
#include <vector>
#include <cstdlib>
Go to the source code of this file.
Namespaces | |
IDPVM | |
Class to retrieve associated truth from a track, implementing a cached response. | |
Typedefs | |
template<class ContainerType , class VariableType > | |
using | IDPVM::WriteKeyAccessorPair = std::pair< SG::WriteDecorHandleKey< ContainerType >, SG::AuxElement::ConstAccessor< VariableType > > |
template<class ContainerType , class VariableType > | |
using | IDPVM::WriteAccessorRefPair = std::pair< SG::WriteDecorHandle< ContainerType, VariableType >, SG::AuxElement::ConstAccessor< VariableType > & > |
template<class ContainerType , class VariableType > | |
using | IDPVM::OptionalDecoration = std::pair< SG::WriteDecorHandle< ContainerType, VariableType >, bool > |
Enumerations | |
enum | IDPVM::DuplicateBehaviour { IDPVM::DO_NOTHING, IDPVM::REJECT_QUIETLY, IDPVM::REJECT_WITH_WARNING, IDPVM::REJECT_WARN_IF_UNEQUAL } |
Behaviour in case of trying to add a decoration which previously exists. More... | |
Functions | |
bool | IDPVM::roughlyEqual (const int i, const int j) |
bool | IDPVM::roughlyEqual (const unsigned int i, const unsigned int j) |
bool | IDPVM::roughlyEqual (const float i, const float j) |
template<class T_Parent , class T_Cont , class T > | |
void | IDPVM::createDecoratorKeysAndAccessor (T_Parent &parent, const SG::ReadHandleKey< T_Cont > &container_key, const std::string &prefix, const std::vector< std::string > &decor_names, std::vector< WriteKeyAccessorPair< T_Cont, T > > &decor_out) |
template<class T_Cont , class T > | |
std::vector< OptionalDecoration< T_Cont, T > > | IDPVM::createDecoratorsIfNeeded (const T_Cont &container, const std::vector< WriteKeyAccessorPair< T_Cont, T > > &keys, const EventContext &ctx, bool verbose=false) |
template<class T_Cont , class T > | |
std::vector< SG::WriteDecorHandle< T_Cont, T > > | IDPVM::createDecorators (const std::vector< SG::WriteDecorHandleKey< T_Cont > > &keys, const EventContext &ctx) |
template<class T_Parent , class T_Cont > | |
void | IDPVM::createDecoratorKeys (T_Parent &parent, const SG::ReadHandleKey< T_Cont > &container_key, const std::string &prefix, const std::vector< std::string > &decor_names, std::vector< SG::WriteDecorHandleKey< T_Cont > > &decor_out) |
template<class T_Parent , class T_Cont > | |
void | IDPVM::addReadDecoratorHandleKeys (T_Parent &parent, const SG::ReadHandleKey< T_Cont > &container_key, const std::string &prefix, const std::vector< std::string > &decor_names, std::vector< SG::ReadDecorHandleKey< T_Cont > > &decor_out) |
template<class T_Cont , class T_Cont_Elm , class T > | |
void | IDPVM::decorateOrWarnIfUnequal (const T_Cont_Elm &particle, WriteAccessorRefPair< T_Cont, T > &decorator, const T &value) |
template<class T_Cont , class T_Cont_Elm , class T > | |
void | IDPVM::decorateOrRejectQuietly (const T_Cont_Elm &particle, OptionalDecoration< T_Cont, T > &decorator, const T &value) |
template<class T_Cont , class T_Cont_Elm , class T > | |
void | IDPVM::decorate (const T_Cont_Elm &particle, OptionalDecoration< T_Cont, T > &decorator, const T &value) |
implementation file for function of same name
header file for function of same name
Definition in file safeDecorator.h.