14#ifndef ATHENAKERNEL_SLOTSPECIFICOBJ_H
15#define ATHENAKERNEL_SLOTSPECIFICOBJ_H
19#include "GaudiKernel/ThreadLocalContext.h"
20#include "GaudiKernel/EventContext.h"
91 T*
get (
const EventContext& ctx);
106 const T*
get (
const EventContext& ctx)
const;
154 typedef typename std::vector<T>::iterator
iterator;
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
T & operator*()
Dereference the pointer.
const T * get(const EventContext &ctx) const
Return pointer to the object for slot given by ctx.
std::vector< T >::value_type value_type
const_iterator begin() const
Const begin iterator.
const_iterator end() const
Const end iterator.
iterator end()
End iterator.
std::vector< T >::iterator iterator
SlotSpecificObj(size_t nslots)
Constructor, with number of slots specified explicitly.
SlotSpecificObj()
Constructor.
T * get()
Return pointer to the object for the current slot.
iterator begin()
Begin iterator.
const T * get() const
Return pointer to the object for the current slot.
T * operator->()
Dereference the pointer.
T * get(const EventContext &ctx)
Return pointer to the object for slot given by ctx.
std::vector< T > m_slots
Set of per-slot objects.
std::vector< T >::const_iterator const_iterator
size_t getNSlots()
Return the number of event slots.