14#ifndef ATHENAKERNEL_SLOTSPECIFICOBJ_H
15#define ATHENAKERNEL_SLOTSPECIFICOBJ_H
19#include "GaudiKernel/ThreadLocalContext.h"
20#include "GaudiKernel/EventContext.h"
82template <
class T, Inval
idSlot = Inval
idSlot::Disabled>
105 T*
get (
const EventContext& ctx);
120 const T*
get (
const EventContext& ctx)
const;
168 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
std::vector< T >::iterator iterator
const T * get(const EventContext &ctx) const
Return pointer to the object for slot given by ctx.
SlotSpecificObj()
Constructor.
const T * get() const
Return pointer to the object for the current slot.
SlotSpecificObj(size_t nslots)
Constructor, with number of slots specified explicitly.
T * operator->()
Dereference the pointer.
const_iterator begin() const
Const begin iterator.
std::vector< T >::const_iterator const_iterator
T * get(const EventContext &ctx)
Return pointer to the object for slot given by ctx.
T & operator*()
Dereference the pointer.
iterator begin()
Begin iterator.
iterator end()
End iterator.
const_iterator end() const
Const end iterator.
std::vector< T >::value_type value_type
T * get()
Return pointer to the object for the current slot.
std::vector< T > m_slots
Set of per-slot objects.
InvalidSlot
Support of the invalid EventContext in SlotSpecificObj.
size_t getNSlots()
Return the number of event slots.