ATLAS Offline Software
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 
12 #include "AthenaKernel/CLASS_DEF.h"
13 
15 
16 class EventFeatureStore : public DataVector<EventFeature>
17 {
18 public:
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 
98 private:
99 
100  // static EventFeature m_invalidConstReference;
101  // static EventFeature m_invalidReference;
102 };
103 
104 CLASS_DEF(EventFeatureStore, 64059916, 1)
105 
106 
113 #endif
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
EventFeatureStore::EventFeatureStore
EventFeatureStore(SG::OwnershipPolicy own=SG::OWN_ELEMENTS)
Standard DataVector constructor.
Definition: EventFeatureStore.cxx:12
EventFeatureStore::find
virtual const_iterator find(EventFeature::FeatureType type, const std::string &tag) const
Find EventFeature by identifiers (const access)
Definition: EventFeatureStore.cxx:58
EventFeature
Basic container for event feature data.
Definition: EventFeature.h:18
EventFeatureStore
Storable container for EventFeature objects.
Definition: EventFeatureStore.h:17
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
EventFeatureStore::EventFeatureStoreConverterBase
friend class EventFeatureStoreConverterBase
Definition: EventFeatureStore.h:21
DataModel_detail::iterator
(Non-const) Iterator class for DataVector/DataList.
Definition: DVLIterator.h:184
EventFeatureStore::~EventFeatureStore
virtual ~EventFeatureStore()
Baseclass destructor.
Definition: EventFeatureStore.cxx:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
EventFeature::FeatureType
FeatureType
@
Definition: EventFeature.h:24
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
EventFeature.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
CLASS_DEF.h
macros to associate a CLID to a type
EventFeatureStore::retrieve
virtual bool retrieve(EventFeature::FeatureType type, const std::string &tag, const EventFeature *&pFeature) const
Retrieve method for EventFeature (const retrieve)
Definition: EventFeatureStore.cxx:19