ATLAS Offline Software
Loading...
Searching...
No Matches
EventFeatureStore.h
Go to the documentation of this file.
1// -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef EVENTSHAPEEVENT_EVENTFEATURESTORE_H
8#define EVENTSHAPEEVENT_EVENTFEATURESTORE_H
9
11
13
15
16class EventFeatureStore : public DataVector<EventFeature>
17{
18public:
19
20 template<class T>
22
26 virtual ~EventFeatureStore();
27
42 const std::string& tag,
43 const EventFeature* &pFeature) const;
58 const std::string& tag,
59 EventFeature* &pFeature);
60
70 const std::string& tag) const;
80 const std::string& tag);
88 virtual const_iterator find(const EventFeature* pFeature) const;
96 virtual iterator find(EventFeature* pFeature);
97
98private:
99
100 // static EventFeature m_invalidConstReference;
101 // static EventFeature m_invalidReference;
102};
103
104CLASS_DEF(EventFeatureStore, 64059916, 1)
105
106
113#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:838
DataModel_detail::iterator< DataVector > iterator
Definition DataVector.h:842
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
Storable container for EventFeature objects.
virtual ~EventFeatureStore()
Baseclass destructor.
virtual bool retrieve(EventFeature::FeatureType type, const std::string &tag, const EventFeature *&pFeature) const
Retrieve method for EventFeature (const retrieve)
EventFeatureStore(SG::OwnershipPolicy own=SG::OWN_ELEMENTS)
Standard DataVector constructor.
friend class EventFeatureStoreConverterBase
virtual const_iterator find(EventFeature::FeatureType type, const std::string &tag) const
Find EventFeature by identifiers (const access)
Basic container for event feature data.
OwnershipPolicy
@ OWN_ELEMENTS
this data object owns its elements