5#ifndef JETEVENT_JETCOLLECTION_H
6#define JETEVENT_JETCOLLECTION_H
14#include "AthLinks/DataLink.h"
26 class ClusterSequence ;
78 template <
class InputIterator>
79 void insert(
iterator position, InputIterator first, InputIterator last);
97 std::string
author()
const;
107#if !defined(__REFLEX__) && !defined(__CLING__)
157template <class InputIterator>
159 InputIterator it = first;
#define SG_BASE(D, B)
Declare that class D derives from class B.
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.
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
Object reference supporting deferred reading from StoreGate.
DataModel_detail::iterator< DataVector > iterator
Standard iterator.
iterator insert(iterator position, value_type pElem)
Add a new element to the collection.
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
SG::OwnershipPolicy ownPolicy() const
size_t m_nextId
the next free identifier for jets inside this collection
std::string getMomentMapName() const
const fastjet::ClusterSequence * m_fastjetClustSeq
Pointer to the fastjet object this jet is build from.
bool m_ownMap
false if the map is recorded in SG
iterator insert(iterator position, Jet *j)
void setAuthor(const std::string &author)
JetCollection::OrderedVar ordered() const
std::string author() const
void setFastjetClustSeq(const fastjet::ClusterSequence *cs)
JetKeyDescriptorInstance m_keyDescInstance
This JetKeyDescriptorInstance points by default to the global JetKeyDescriptorInstance's store....
friend class JetCollectionCnv_p6
void resetJetId(std::size_t)
DataLink< JetMomentMap > m_momentMapLink
DataLink< JetKeyDescriptor > m_keyStore
link to the JetKeyDescriptor is mandatory for persistency. Access done through the JetKeyDescriptorIn...
void recordedInSG(std::string key)
void setOrdered(JetCollection::OrderedVar ordered)
const fastjet::ClusterSequence * fastjetClustSeq() const
Access to the internal fastjet object. CAN RETURN NULL, see the description of m_pseudoJet.
JetCollection(SG::OwnershipPolicy own=SG::OWN_ELEMENTS)
const JetMomentMap * getMomentMap() const
bool isOrdered(JetCollection::OrderedVar ordering=JetCollection::ByEtDown) const
size_t m_jetAuthor
the author of this jetcollection.
DataVector< Jet >::iterator iterator
JetKeyDescriptorInstance * keyDesc() const
Theses classes implement a mapping between string and index used by jets.
@ OWN_ELEMENTS
this data object owns its elements