ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
EventShapes
EventShapeEvent
EventShapeEvent
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
10
#include "
AthContainers/DataVector.h
"
11
12
#include "
AthenaKernel/CLASS_DEF.h
"
13
14
#include "
EventShapeEvent/EventFeature.h
"
15
16
class
EventFeatureStore
:
public
DataVector
<EventFeature>
17
{
18
public
:
19
20
template
<
class
T>
21
friend
class
EventFeatureStoreConverterBase
;
22
24
EventFeatureStore
(
SG::OwnershipPolicy
own=
SG::OWN_ELEMENTS
);
26
virtual
~EventFeatureStore
();
27
41
virtual
bool
retrieve
(
EventFeature::FeatureType
type
,
42
const
std::string& tag,
43
const
EventFeature
* &pFeature)
const
;
57
virtual
bool
retrieve
(
EventFeature::FeatureType
type
,
58
const
std::string& tag,
59
EventFeature
* &pFeature);
60
69
virtual
const_iterator
find
(
EventFeature::FeatureType
type
,
70
const
std::string& tag)
const
;
79
virtual
iterator
find
(
EventFeature::FeatureType
type
,
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
CLASS_DEF.h
macros to associate a CLID to a type
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:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
EventFeature.h
DataVector< EventFeature >::const_iterator
DataModel_detail::const_iterator< DataVector > const_iterator
Definition
DataVector.h:838
DataVector< EventFeature >::iterator
DataModel_detail::iterator< DataVector > iterator
Definition
DataVector.h:842
DataVector< EventFeature >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
EventFeatureStore
Storable container for EventFeature objects.
Definition
EventFeatureStore.h:17
EventFeatureStore::~EventFeatureStore
virtual ~EventFeatureStore()
Baseclass destructor.
Definition
EventFeatureStore.cxx:16
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
EventFeatureStore::EventFeatureStore
EventFeatureStore(SG::OwnershipPolicy own=SG::OWN_ELEMENTS)
Standard DataVector constructor.
Definition
EventFeatureStore.cxx:12
EventFeatureStore::EventFeatureStoreConverterBase
friend class EventFeatureStoreConverterBase
Definition
EventFeatureStore.h:21
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
EventFeature::FeatureType
FeatureType
@
Definition
EventFeature.h:24
SG::OwnershipPolicy
OwnershipPolicy
Definition
OwnershipPolicy.h:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition
OwnershipPolicy.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0