|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    4 #ifndef MUONTRUTHALGS_DECORUTILS_H 
    5 #define MUONTRUTHALGS_DECORUTILS_H 
   12     template <
typename ContType, 
typename DataType>
 
   14     template <
typename ContType, 
typename DataType>
 
   19     template <
typename DataType, 
typename ContType>
 
   27             auto decorHandle = std::make_unique<SG::WriteDecorHandle<ContType, DataType>>(
key, ctx);
 
   28             for (
const auto* 
obj : (**decorHandle)){
 
   29                 (*decorHandle)(*obj) = 
defVal;
 
   34     template <
typename DataType, 
typename ContType>
 
   35         DecorHandlePtrVec_t<ContType, DataType>
 
   39             DecorHandlePtrVec_t<ContType, DataType> handles{};
 
  
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DecorHandlePtrVec_t< ContType, DataType > makeHandles(const EventContext &ctx, const SG::WriteDecorHandleKeyArray< ContType > &keys, const DataType defVal={})
std::unique_ptr< SG::WriteDecorHandle< ContType, DataType > > DecorHandlePtr_wt
DecorHandlePtr_wt< ContType, DataType > makeHandle(const EventContext &ctx, const SG::WriteDecorHandleKey< ContType > &key, const DataType defVal={})
Returns a unique_ptr with an initialized WriteDecorHandle
Handle class for adding a decoration to an object.
std::vector< DecorHandlePtr_wt< ContType, DataType > > DecorHandlePtrVec_t